Convert resolvconf hook from a chroot hook to a binary hook since lb

overwrites /etc/resolv.conf after the chroot hooks have run.
ubuntu/yakkety
James Hunt 10 years ago
parent 3b6ba57453
commit 3ed35d22c6

7
debian/changelog vendored

@ -1,8 +1,13 @@
livecd-rootfs (2.250) UNRELEASED; urgency=low livecd-rootfs (2.250) UNRELEASED; urgency=low
[ Michael Vogt ]
* build system-image without recommends * build system-image without recommends
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 07 Oct 2014 11:44:09 +0200 [ James Hunt ]
* Convert resolvconf hook from a chroot hook to a binary hook since lb
overwrites /etc/resolv.conf after the chroot hooks have run.
-- James Hunt <james.hunt@ubuntu.com> Thu, 09 Oct 2014 11:41:55 +0100
livecd-rootfs (2.249) utopic; urgency=medium livecd-rootfs (2.249) utopic; urgency=medium

@ -1,3 +0,0 @@
#!/bin/sh -x
ln -fs /run/resolvconf/resolv.conf /etc/resolv.conf

@ -0,0 +1,7 @@
#!/bin/sh -x
#---------------------------------------------------------------------
# this must be run as a binary hook (outside the chroot) since lb
# massages resolv.conf on finishing the chroot operations.
#---------------------------------------------------------------------
ln -fs /run/resolvconf/resolv.conf chroot/etc/resolv.conf
Loading…
Cancel
Save