mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-14 06:38:28 +00:00
Imported using git-ubuntu import. Changelog parent: c788aa8b1c8ea89c6d3dcec2b5b7b1d17993fc0a New changelog entries: [ 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. * * create /etc/hosts for ubuntu-core:system-image
8 lines
339 B
Bash
Executable File
8 lines
339 B
Bash
Executable File
#!/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
|