mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-07-29 17:44:05 +00:00
live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
update *before* installing packages, not after.
This commit is contained in:
parent
95aabdf668
commit
880d4f8b89
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -11,6 +11,8 @@ livecd-rootfs (2.408.15) UNRELEASED; urgency=medium
|
||||
normally isn't relevant for the installed system, since the root
|
||||
filesystem will auto-expand in place on the target disk, but lets us
|
||||
ship smaller images.
|
||||
* live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
|
||||
update *before* installing packages, not after.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 23 Aug 2017 17:35:40 -0700
|
||||
|
||||
|
@ -61,6 +61,8 @@ install_grub() {
|
||||
efi_boot_dir="/boot/efi/EFI/BOOT"
|
||||
chroot mountpoint mkdir -p "${efi_boot_dir}"
|
||||
|
||||
chroot mountpoint apt-get -y update
|
||||
|
||||
# The modules below only make sense on non-Secure Boot UEFI systems.
|
||||
# Otherwise, with Secure Boot enabled GRUB will refuse to load them.
|
||||
# Any modules already in debian/build-efi-images do not need to be listed.
|
||||
@ -115,7 +117,6 @@ EOF
|
||||
chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober
|
||||
|
||||
chroot mountpoint apt-get -y clean
|
||||
chroot mountpoint apt-get -y update
|
||||
|
||||
rm mountpoint/tmp/device.map
|
||||
sync
|
||||
|
Loading…
x
Reference in New Issue
Block a user