fix(coreos-base): move resolv.conf to /var/run

tested on a vm. This makes it possible to do read-only root and have the
glibc resolver work.
This commit is contained in:
Brandon Philips 2013-06-24 16:57:16 -07:00
parent 62e05a0ff2
commit 1c9e245fe3
2 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ src_install() {
# Make mount work in the way systemd prescribes
dosym /proc/mounts /etc/mtab
# Put resolv.conf in /var/run so root can be read-only
dosym /var/run/resolv.conf /etc/resolv.conf
# Insert a cool motd ;)
insinto /etc
doins "${FILESDIR}"/motd