mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-07 14:54:07 +00:00
Properly setup the chroot before using the network in buildd hook.
This commit is contained in:
parent
e35866df3e
commit
4a0b757dc7
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
livecd-rootfs (2.634) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Properly setup the chroot before using the network.
|
||||||
|
|
||||||
|
-- David Krauser <david.krauser@canonical.com> Thu, 12 Dec 2019 13:50:58 -0400
|
||||||
|
|
||||||
livecd-rootfs (2.633) focal; urgency=medium
|
livecd-rootfs (2.633) focal; urgency=medium
|
||||||
|
|
||||||
* Snapd for uc20 model assertions does not support global channel overrides.
|
* Snapd for uc20 model assertions does not support global channel overrides.
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user