xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh 15337/head
authorSven Roederer <devel-sven@geroedel.de>
Sat, 3 Apr 2021 16:47:02 +0000 (18:47 +0200)
committerSven Roederer <devel-sven@geroedel.de>
Sat, 3 Apr 2021 23:58:14 +0000 (01:58 +0200)
Avoid "file not found"-error when embedding via Imagebuilder.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
net/xinetd/Makefile
net/xinetd/files/xinetd.init

index 2bf54ad9b6911b6b71c4b0f84f39cfc4fa0debc1..ef44d93cee9b2bf9bedc26d109ee2feff9158ef9 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xinetd
 PKG_VERSION:=2.3.15
-PKG_RELEASE:=10
+PKG_RELEASE:=11
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/xinetd-org/xinetd/archive
index c08671735a8d60e9e9837eea93e3609402854fa9..bfc9b318d664a9615d465a439a2e3972f3cc9b3e 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2006-2011 OpenWrt.org
 
-. /lib/functions.sh
+. ${IPKG_INSTROOT}/lib/functions.sh
 
 START=50
 STOP=10