summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick 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)
commit701271854468d355e026b6078a0fe13a0a564787 (patch)
tree9540bbc5030cea7414996303dd7b39bafd75c387
parent78c90ddf1599b74b894460b700e25416626746e5 (diff)
/etc/resolv.conf: Link to /var/run/resolv.conf
-rwxr-xr-xbuild2
-rw-r--r--changelog3
2 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index 7f0b8aa..e1b11ad 100755
--- a/build
+++ b/build
@@ -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; \
diff --git a/changelog b/changelog
index d128d68..880ca4b 100644
--- a/changelog
+++ b/changelog
@@ -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