mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Merge bionic-sru-grub into ubuntu/bionic [a=powersj] [r=patviafore,rcj]
SRU always install grub-pc with shim-signed (LP: #1901906), and ensure to autoremove packages MP: https://code.launchpad.net/~powersj/livecd-rootfs/+git/livecd-rootfs-1/+merge/393734
This commit is contained in:
commit
b5e21920dd
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,8 +1,13 @@
|
||||
livecd-rootfs (2.525.48) UNRELEASED; urgency=medium
|
||||
|
||||
[ Dimitri John Ledkov & Joshua Powers ]
|
||||
* amd64: always install grub-pc with shim-signed (LP: #1901906), and
|
||||
ensure to autoremove packages
|
||||
|
||||
[ Patrick Viafore ]
|
||||
* Increase Vagrant disk size from 10G to 40G (LP: #1580596)
|
||||
|
||||
-- Patrick Viafore <patrick.viafore@canonical.com> Fri, 22 May 2020 15:16:16 -0500
|
||||
-- Robert C Jennings <robert.jennings@canonical.com> Fri, 22 May 2020 15:16:16 -0500
|
||||
|
||||
livecd-rootfs (2.525.47) bionic; urgency=medium
|
||||
|
||||
|
@ -654,8 +654,7 @@ case $PROJECT in
|
||||
add_package install grub-pc
|
||||
;;
|
||||
amd64)
|
||||
add_package install grub-pc-bin
|
||||
add_package install grub-efi-amd64-signed
|
||||
add_package install grub-pc
|
||||
add_package install shim-signed
|
||||
;;
|
||||
esac
|
||||
|
@ -33,6 +33,7 @@ install_grub() {
|
||||
chroot mountpoint apt-get -qqy update
|
||||
chroot mountpoint apt-get -qqy install grub-ieee1275
|
||||
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2
|
||||
chroot mountpoint apt-get autoremove --purge --assume-yes
|
||||
|
||||
# set the kernel commandline to use hvc0
|
||||
mkdir -p mountpoint/etc/default/grub.d
|
||||
|
@ -97,11 +97,13 @@ install_grub() {
|
||||
efi_target=arm-efi
|
||||
;;
|
||||
amd64)
|
||||
chroot mountpoint apt-get install -qqy grub-efi-amd64-signed grub-efi-amd64 shim-signed
|
||||
chroot mountpoint apt-get install -qqy grub-pc shim-signed
|
||||
efi_target=x86_64-efi
|
||||
;;
|
||||
esac
|
||||
|
||||
chroot mountpoint apt-get autoremove --purge --assume-yes
|
||||
|
||||
# This call to populate the package manifest is added here to capture
|
||||
# grub-efi packages that otherwise would not make it into the base
|
||||
# manifest. filesystem.packages is moved into place via symlinking to
|
||||
|
@ -136,6 +136,7 @@ fi
|
||||
if [ "$ARCH" = "s390x" ]; then
|
||||
# Do ZIPL install bits
|
||||
chroot mountpoint apt-get -qqy install s390-tools sysconfig-hardware
|
||||
chroot mountpoint apt-get autoremove --purge --assume-yes
|
||||
|
||||
# Write out cloudy zipl.conf for future kernel updates
|
||||
cat << EOF > mountpoint/etc/zipl.conf
|
||||
|
@ -35,6 +35,7 @@ cp -a rootfs.dir $rootfs_dir
|
||||
setup_mountpoint $rootfs_dir
|
||||
|
||||
env DEBIAN_FRONTEND=noninteractive chroot $rootfs_dir apt-get -y -qq install ubuntu-wsl
|
||||
env DEBIAN_FRONTEND=noninteractive chroot $rootfs_dir apt-get autoremove --purge --assume-yes
|
||||
|
||||
create_manifest $rootfs_dir livecd.ubuntu-cpc.wsl.rootfs.manifest
|
||||
teardown_mountpoint $rootfs_dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user