mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
Properly setup the chroot before using the network in buildd hook.
This commit is contained in:
parent
6fed316068
commit
a668e09ac4
@ -1,7 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# This is run after 02-disk-image-uefi.binary because
|
||||
# we don't want policyrcd-script-zg2 installed in
|
||||
# bootable images.
|
||||
|
||||
. config/functions
|
||||
|
||||
cleanup() {
|
||||
teardown_mountpoint chroot
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
setup_mountpoint chroot
|
||||
|
||||
chroot chroot apt-get install -y policyrcd-script-zg2
|
||||
|
Loading…
x
Reference in New Issue
Block a user