mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
Merge pull request #34 from philips/resolv.conf-move
fix(coreos-base): move resolv.conf to /var/run
This commit is contained in:
commit
036ea4f26c
@ -111,6 +111,9 @@ src_install() {
|
|||||||
# Make mount work in the way systemd prescribes
|
# Make mount work in the way systemd prescribes
|
||||||
dosym /proc/mounts /etc/mtab
|
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 ;)
|
# Insert a cool motd ;)
|
||||||
insinto /etc
|
insinto /etc
|
||||||
doins "${FILESDIR}"/motd
|
doins "${FILESDIR}"/motd
|
||||||
|
Loading…
Reference in New Issue
Block a user