Closed radiumfu closed 6 years ago
This is partially unrelated, but I was unable to get X11 to install properly(A MPD dep requires it for some reason), and changing the code does definately cause it to install correctly.
test -e /etc/nsswitch.conf || ( echo "hosts: files dns" >/etc/nsswitch.conf ; chmod a+r /etc/nsswitch.conf )
test -e /etc/nsswitch.conf || ( echo "hosts: files dns" >/opt/etc/nsswitch.conf ; chmod a+r /opt/etc/nsswitch.conf )
I believe, 853314f47f102c7e9c2d98593313f0030069a7fe should fix this. The change fixes avahi daemon trying to create /run/avahi-daemon
dir, which usually fails on routers dut to read-only rootfs, and makes the daemon use /opt/var/run/avahi-daemon
instead.
Also, since c5705651deb3896297b1378af909ffc37b75eb98, avahi
doesn't depend on x11
.
If you're still with me, please confirm this fixed
I try to make time machine , reference this post. http://vena.net/post/86026368825/using-an-asus-router-as-a-time-capsule
on it's step 6 require install avahi-daemon avahi-utils, but I think it just need avahi-demon, since Optware-ng only have avahi, so I tried it first.
but I getting minal error at the end.
base on the error, seems it useing wrong path, it should be /opt/etc instead, then I opennd "//opt/lib/ipkg/info/x11.postinst",
I replaced all /etc/ with /opt/etc/ , created nsswitch.conf under /opt/etc
then try start avahi-daemon, no luck.