merge lp:~utlemming/livecd-rootfs/lp1534764

ubuntu/yakkety
Colin Watson 9 years ago
commit caf5e7160c

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.371) xenial; urgency=medium
* Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
(LP: #1534764).
-- utlemming Howard <utlemming.howard@ubuntu.com> Sun, 17 Jan 2016 01:04:09 +0100
livecd-rootfs (2.370) xenial; urgency=medium livecd-rootfs (2.370) xenial; urgency=medium
* Produce OVA files for i386 cloud builds. * Produce OVA files for i386 cloud builds.

@ -15,6 +15,7 @@ chroot binary/boot/filesystem.dir chmod +x /usr/sbin/grub-probe
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^linux-.*' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^linux-.*'
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^grub-.*' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^grub-.*'
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get autoremove --purge --assume-yes
chroot binary/boot/filesystem.dir rm /usr/sbin/grub-probe chroot binary/boot/filesystem.dir rm /usr/sbin/grub-probe
chroot binary/boot/filesystem.dir dpkg-divert --remove --local --rename /usr/sbin/grub-probe chroot binary/boot/filesystem.dir dpkg-divert --remove --local --rename /usr/sbin/grub-probe

@ -11,8 +11,5 @@ fi
# Export the common functions to the extras # Export the common functions to the extras
. /build/config/functions . /build/config/functions
# Execute extra binary hooks # Cleaner execution
for recipe in $(find ${extra_d} -type f -executable -maxdepth 1); /bin/run-parts ${extra_d}
do
bash -xue ${recipe}
done

Loading…
Cancel
Save