livecd-rootfs/live-build/buildd/hooks/48-policy-rc-d.binary
Cody Shepherd f5c65024a3 Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail
2020-03-23 13:27:19 -04:00

8 lines
195 B
Bash
Executable File

#!/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.
chroot chroot apt-get install -y policyrcd-script-zg2