not all recommends of ubuntu-server are installed in lxd (squashfs) image
Bug #1756426 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Triaged
|
Low
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
grub-legacy-ec2 is missing from the squashfs image.
It is a recommends of ubuntu-server. Why would a package that
is a recommends be removed from generated images?
It seems like there must be a cleaner way to handle that.
# cat /etc/cloud/
build_name: server
serial: 20180315
# dpkg-query --show ubuntu-server
ubuntu-server 1.413
# apt-cache show ubuntu-server | grep Recomm
Recommends: grub-legacy-ec2, lxd, snapd
# dpkg-query --show grub-legacy-ec2 lxd snapd
grub-legacy-ec2
lxd 3.0.0~beta5-
snapd 2.31.1+18.04
This is removed by line 32 in https:/ /bazaar. launchpad. net/~ubuntu- core-dev/ livecd- rootfs/ trunk/view/ head:/live- build/ubuntu- cpc/hooks/ 032-root- squashfs. binary# L32, which strips out all grub packages from the image (as the image isn't expected to require a bootloader).
This doesn't seem like a major omission, so setting the priority to low.