diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-12 20:37:27 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-12 20:37:27 (EST) |
commit | 701271854468d355e026b6078a0fe13a0a564787 (patch) | |
tree | 9540bbc5030cea7414996303dd7b39bafd75c387 | |
parent | 78c90ddf1599b74b894460b700e25416626746e5 (diff) |
/etc/resolv.conf: Link to /var/run/resolv.conf
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | changelog | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -108,6 +108,8 @@ install: build done <../network-hooks; \ fi; \ if config_enabled UDHCPC; then \ + install -d -m 0755 dest/etc; \ + ln -sf /var/run/resolv.conf dest/etc/resolv.conf; \ install -d -m 0755 dest/usr/share/udhcpc; \ install -p -m 0755 ../src.usr/share/udhcpc/default.script \ dest/usr/share/udhcpc/default.script; \ @@ -8,6 +8,9 @@ busybox (1.32.0-3) trunk removing it, as busybox is essential to opkg and other packages' maintainer scripts. This enforces the requirement of opkg-lede >= 0+git20190131.d4ba162-7. + * </etc/resolv.conf> is now a symbolic link to </var/run/resolv.conf>. + This allows </usr/share/udhcpc/default.script> to configure name + resolution on a read-only root file system. -- Patrick McDermott <patrick.mcdermott@libiquity.com> Sat, 12 Dec 2020 10:09:01 -0500 |