parent
2d57d6703e
commit
6fa3b0d65b
@ -1,7 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# This is run after 02-disk-image-uefi.binary because
|
# This is run after 02-disk-image-uefi.binary because
|
||||||
# we don't want policyrcd-script-zg2 installed in
|
# we don't want policyrcd-script-zg2 installed in
|
||||||
# bootable images.
|
# bootable images.
|
||||||
|
|
||||||
|
. config/functions
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
teardown_mountpoint chroot
|
||||||
|
}
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
setup_mountpoint chroot
|
||||||
|
|
||||||
chroot chroot apt-get install -y policyrcd-script-zg2
|
chroot chroot apt-get install -y policyrcd-script-zg2
|
||||||
|
Loading…
Reference in new issue