projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9137438
)
odhcp6c: install default state script
author
Peter Korsgaard
<peter@korsgaard.com>
Tue, 24 Feb 2015 16:29:08 +0000
(17:29 +0100)
committer
Peter Korsgaard
<peter@korsgaard.com>
Tue, 24 Feb 2015 16:29:08 +0000
(17:29 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/odhcp6c/odhcp6c.mk
patch
|
blob
|
history
diff --git
a/package/odhcp6c/odhcp6c.mk
b/package/odhcp6c/odhcp6c.mk
index 520eaf2e4f753269fa7b68f8e20e77e5e2bb551d..8102c2679c97ae2c9ad55c1c98d5b7a62cbd0551 100644
(file)
--- a/
package/odhcp6c/odhcp6c.mk
+++ b/
package/odhcp6c/odhcp6c.mk
@@
-9,4
+9,11
@@
ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION))
ODHCP6C_LICENSE = GPLv2
ODHCP6C_LICENSE_FILES = COPYING
+define ODHCP6C_INSTALL_SCRIPT
+ $(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \
+ $(TARGET_DIR)/usr/sbin/odhcp6c-update
+endef
+
+ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
+
$(eval $(cmake-package))