bind: use BIND_PKGDIR vairable
Use the BIND_PKGDIR variable instead of package/bind. Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c46f72b61e
commit
716cfa6744
@ -93,11 +93,11 @@ endef
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BIND_SERVER),y)
|
ifeq ($(BR2_PACKAGE_BIND_SERVER),y)
|
||||||
define BIND_INSTALL_INIT_SYSV
|
define BIND_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -m 0755 -D package/bind/S81named \
|
$(INSTALL) -m 0755 -D $(BIND_PKGDIR)/S81named \
|
||||||
$(TARGET_DIR)/etc/init.d/S81named
|
$(TARGET_DIR)/etc/init.d/S81named
|
||||||
endef
|
endef
|
||||||
define BIND_INSTALL_INIT_SYSTEMD
|
define BIND_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 644 package/bind/named.service \
|
$(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/named.service
|
$(TARGET_DIR)/usr/lib/systemd/system/named.service
|
||||||
|
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||||
|
Loading…
Reference in New Issue
Block a user