mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-07-30 01:54: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
|
normally isn't relevant for the installed system, since the root
|
||||||
filesystem will auto-expand in place on the target disk, but lets us
|
filesystem will auto-expand in place on the target disk, but lets us
|
||||||
ship smaller images.
|
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
|
-- 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"
|
efi_boot_dir="/boot/efi/EFI/BOOT"
|
||||||
chroot mountpoint mkdir -p "${efi_boot_dir}"
|
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.
|
# The modules below only make sense on non-Secure Boot UEFI systems.
|
||||||
# Otherwise, with Secure Boot enabled GRUB will refuse to load them.
|
# 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.
|
# 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 dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober
|
||||||
|
|
||||||
chroot mountpoint apt-get -y clean
|
chroot mountpoint apt-get -y clean
|
||||||
chroot mountpoint apt-get -y update
|
|
||||||
|
|
||||||
rm mountpoint/tmp/device.map
|
rm mountpoint/tmp/device.map
|
||||||
sync
|
sync
|
||||||
|
Loading…
x
Reference in New Issue
Block a user