[OpenWrt-Devel] [PATCH] odhcpd: remove bogus IPKG_INSTROOT reference

Hans Dedecker dedeckeh at gmail.com
Wed Jun 10 15:58:44 EDT 2020


On Wed, Jun 10, 2020 at 6:27 PM Kevin Darbyshire-Bryant
<ldir at darbyshire-bryant.me.uk> wrote:
>
> IPKG_INSTROOT is only set under image builder and we won't be running
> this script at build time either, so remove the reference before it gets
> cargo-culted into other scripts.
>
> Signed-off-by: Kevin Darbyshire-Bryant <ldir at darbyshire-bryant.me.uk>
Acked-by: Hans Dedecker <dedeckeh at gmail.com>
> ---
>  package/network/services/odhcpd/Makefile            | 2 +-
>  package/network/services/odhcpd/files/odhcpd-update | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile
> index 6510ce6c80..07d7d7d673 100644
> --- a/package/network/services/odhcpd/Makefile
> +++ b/package/network/services/odhcpd/Makefile
> @@ -8,7 +8,7 @@
>  include $(TOPDIR)/rules.mk
>
>  PKG_NAME:=odhcpd
> -PKG_RELEASE:=3
> +PKG_RELEASE:=4
>
>  PKG_SOURCE_PROTO:=git
>  PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcpd.git
> diff --git a/package/network/services/odhcpd/files/odhcpd-update b/package/network/services/odhcpd/files/odhcpd-update
> index 9bc7abcc1c..c1814e00b0 100755
> --- a/package/network/services/odhcpd/files/odhcpd-update
> +++ b/package/network/services/odhcpd/files/odhcpd-update
> @@ -1,6 +1,6 @@
>  #!/bin/sh
>  # Make dnsmasq reread hostfile by sending SIGHUP signal
>
> -. $IPKG_INSTROOT/lib/functions/procd.sh
> +. /lib/functions/procd.sh
>
>  procd_send_signal dnsmasq
> --
> 2.24.3 (Apple Git-128)
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list