mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +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
a246300940
commit
8589d3548f
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -8,6 +8,8 @@ livecd-rootfs (2.454) UNRELEASED; urgency=medium
|
|||||||
images.
|
images.
|
||||||
* live-build/functions: also call 'apt-get update' after mounting the
|
* live-build/functions: also call 'apt-get update' after mounting the
|
||||||
blank /var/lib/apt.
|
blank /var/lib/apt.
|
||||||
|
* 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> Tue, 12 Sep 2017 14:33:02 -0700
|
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 12 Sep 2017 14:33:02 -0700
|
||||||
|
|
||||||
|
@ -62,6 +62,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
|
||||||
|
|
||||||
# UEFI GRUB modules are meant to be used equally by Secure Boot and
|
# UEFI GRUB modules are meant to be used equally by Secure Boot and
|
||||||
# non-Secure Boot systems. If you need an extra module not already
|
# non-Secure Boot systems. If you need an extra module not already
|
||||||
# provided or run into "Secure Boot policy forbids loading X" problems,
|
# provided or run into "Secure Boot policy forbids loading X" problems,
|
||||||
@ -106,7 +108,6 @@ install_grub() {
|
|||||||
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