Thanks Rob! I have incorporated your fix in our github branch and
prepared the upload. This should land in xenial-proposed soon (I hope).

** Description changed:

- The launchpad builders do not have 'sudo' installed by default.  When
- attempting to verify bug #1799736 I found that the build would fail when
- 'sudo' could not be found.  The python3-ubuntu-image package should
- depend on 'sudo'
+ [Impact]
+ 
+ Recently we have backported the ubuntu-image ubuntu-core build support in 
livecd-rootfs in xenial. Thanks to this we are now able to build ubuntu-core 16 
images using SUITE=xenial.
+ Sadly, in comparison to other series, the xenial ubuntu-image has additional 
logic used when preparing ext4 partitions due to an old mkfs.ext4 which is 
missing all the needed functionality. This additional logic (or hack) requires 
running a `sudo cp` to copy the rootfs contents onto the partition. The 
launchpad builders do not have 'sudo' installed by default. When attempting to 
verify bug #1799736 it was found that the build would fail when 'sudo' could 
not be found. The python3-ubuntu-image package should depend on 'sudo'
+ 
+ [Test Case]
+ 
+ The best test case would be to see if ubuntu-core SUITE=xenial (core16)
+ images still fail to build due to sudo not being available after the
+ package lands in xenial-proposed.
+ 
+ [Regression Potential]
+ 
+ The change is only a dependency addition so it should not have any real
+ consequences. All systems so far had sudo by default, so no users will
+ see any side-effects (and those that do, they couldn't use ubuntu-image
+ anyway).

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

Title:
  Use of 'sudo' without dependency on 'sudo' package

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to