[Bug 1808402] Re: --with-proposed always enabled for ubuntu-image classic build

Ɓukasz Zemczak 1808402 at bugs.launchpad.net
Fri Jan 25 08:58:30 UTC 2019


** Changed in: ubuntu-image
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1808402

Title:
  --with-proposed always enabled for ubuntu-image classic build

Status in Ubuntu Image:
  Fix Released
Status in ubuntu-image package in Ubuntu:
  Fix Released
Status in ubuntu-image source package in Xenial:
  Fix Released
Status in ubuntu-image source package in Bionic:
  Fix Released
Status in ubuntu-image source package in Cosmic:
  Fix Released

Bug description:
  [Impact]

  The ubuntu-image classic build functionality offers the --with-
  proposed option for building images with -proposed enabled. Due to a
  bug in logic that was not noticed for a while, the --with-proposed
  option has no effect as -proposed is always enabled. This means that
  currently it is impossible to build images without proposed enabled in
  the rootfs.

  [Test Case]

   * git clone https://github.com/sil2100/pc-amd64-gadget.git
   * cd pc-amd64-gadget/
   * snapcraft prime
   * Run build with proposed disabled: ubuntu-image classic -d -O out/ -w work/ -p ubuntu-cpc -a amd64 -s bionic prime/
   * Check the build logs (also present in work/) and make sure bionic-proposed was not used
   * rm -rf out/ work/
   * Run build with proposed enabled: ubuntu-image classic -d -O out/ -w work/ -p ubuntu-cpc -a amd64 -s bionic --with-proposed prime/
   * Check the build logs (also present in work/) and make sure bionic-proposed was enabled and used

  [Regression Potential]

  The change is self-contained to the logic of with-proposed handling so
  the only possible regressions are in enabling/disabling proposed -
  which was currently broken anyway.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1808402/+subscriptions



More information about the foundations-bugs mailing list