mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-19 22:41:15 +00:00
Convert resolvconf hook from a chroot hook to a binary hook since lb
overwrites /etc/resolv.conf after the chroot hooks have run.
This commit is contained in:
parent
3b6ba57453
commit
3ed35d22c6
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,8 +1,13 @@
|
||||
livecd-rootfs (2.250) UNRELEASED; urgency=low
|
||||
|
||||
[ Michael Vogt ]
|
||||
* 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
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
ln -fs /run/resolvconf/resolv.conf /etc/resolv.conf
|
7
live-build/ubuntu-core/hooks/56-handle_resolvconf.chroot.binary
Executable file
7
live-build/ubuntu-core/hooks/56-handle_resolvconf.chroot.binary
Executable file
@ -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…
x
Reference in New Issue
Block a user