mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-11 11:11:40 +00:00
Add the 100-purge-grub-legacy-ec2-arm.chroot to ubuntu-cpc
This commit is contained in:
parent
d2d07acf54
commit
770a7b4c85
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -10,6 +10,9 @@ livecd-rootfs (2.525.13) UNRELEASED; urgency=medium
|
||||
- Default to IMAGEFORMAT=ubuntu-image for raspi3 ubuntu-cpc builds.
|
||||
- Link the resulting raspi3 image to a filename that cdimage expects from a
|
||||
preinstalled image build.
|
||||
* Add the 100-purge-grub-legacy-ec2-arm.chroot hook to remove
|
||||
grub-legacy-ec2 from any ARM based ubuntu-cpc images we create. The package
|
||||
is no longer in the server seed of newer series anyway.
|
||||
|
||||
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 11 Jan 2019 14:53:10 +0100
|
||||
|
||||
|
10
live-build/ubuntu-cpc/hooks/100-purge-grub-legacy-ec2-arm.chroot
Executable file
10
live-build/ubuntu-cpc/hooks/100-purge-grub-legacy-ec2-arm.chroot
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh -eux
|
||||
|
||||
# Only execute the hack for ARM images
|
||||
if [ "$ARCH" != "armhf" ] && [ "$ARCH" != "arm64" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# Why is grub-legacy-ec2 even on the image?
|
||||
apt-get remove --yes --purge grub-legacy-ec2 || true
|
Loading…
x
Reference in New Issue
Block a user