From bdab7e6bfed9d29f51589ed4461dd927dc78eaf1 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Sat, 3 Apr 2021 18:47:02 +0200 Subject: [PATCH] xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh Avoid "file not found"-error when embedding via Imagebuilder. Signed-off-by: Sven Roederer --- net/xinetd/Makefile | 2 +- net/xinetd/files/xinetd.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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