From: Sven Roederer Date: Sat, 3 Apr 2021 16:47:02 +0000 (+0200) Subject: xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=bdab7e6bfed9d29f51589ed4461dd927dc78eaf1;p=openwrt-packages.git xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh Avoid "file not found"-error when embedding via Imagebuilder. Signed-off-by: Sven Roederer --- diff --git a/net/xinetd/Makefile b/net/xinetd/Makefile index 2bf54ad9b..ef44d93ce 100644 --- a/net/xinetd/Makefile +++ b/net/xinetd/Makefile @@ -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 diff --git a/net/xinetd/files/xinetd.init b/net/xinetd/files/xinetd.init index c08671735..bfc9b318d 100644 --- a/net/xinetd/files/xinetd.init +++ b/net/xinetd/files/xinetd.init @@ -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