mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Properly setup the chroot before using the network in buildd hook.
This commit is contained in:
parent
f5c65024a3
commit
68e8afd528
@ -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