Browse Source

avahi: Changed the target file for the patch

Fixed the affected issue in the latest commit

  daemon.err avahi-daemon[xxx]: mkdir("/run/avahi-daemon/"): No such file or directory

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
lilik-openwrt-22.03
Hirokazu MORIKAWA 3 years ago
committed by Rosen Penev
parent
commit
ccf8450ed2
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      libs/avahi/patches/020-revert-runtime-dir-systemd-change.patch

+ 5
- 5
libs/avahi/patches/020-revert-runtime-dir-systemd-change.patch View File

@ -1,11 +1,11 @@
--- a/configure
+++ b/configure
@@ -24638,7 +24638,7 @@ _ACEOF
--- a/configure.ac
+++ b/configure.ac
@@ -1004,7 +1004,7 @@ AC_DEFINE_UNQUOTED(AVAHI_AUTOIPD_GROUP,"
# #
# Avahi runtime dir # Avahi runtime dir
# #
-avahi_runtime_dir="/run" -avahi_runtime_dir="/run"
+avahi_runtime_dir="${localstatedir}/run" +avahi_runtime_dir="${localstatedir}/run"
avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket" avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
AC_SUBST(avahi_runtime_dir)
AC_SUBST(avahi_socket)

Loading…
Cancel
Save