summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-04-12 15:11:56 +0000
committerJeremy Kerr <jk@ozlabs.org>2009-06-30 15:29:24 +0800
commit24990ffe86e0fa80dff2da365541ae67e427c57a (patch)
tree1dc3154553292f76fb345087dd4388184a4a79ca /rules.mk
parentcf3593ef4be341aace4843148a7999c5660e8b2b (diff)
downloadtalos-petitboot-24990ffe86e0fa80dff2da365541ae67e427c57a.tar.gz
talos-petitboot-24990ffe86e0fa80dff2da365541ae67e427c57a.zip
Add udhcpc utility script
Add a udhcpc utility script. udhcpc can be configured to run a specified script when there is a change in the dhcp configuration. This udhcpc utility script will write a petitboot netboot message to the petitboot user event socket. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 3251b04..9a6cf57 100644
--- a/rules.mk
+++ b/rules.mk
@@ -30,6 +30,7 @@ endif
# other to install
artwork = background.jpg cdrom.png hdd.png usbpen.png tux.png cursor.gz
rules = utils/99-petitboot.rules
+udhcpc = utils/udhcpc
# client/daemon lib objs
list_objs = lib/list/list.o
@@ -115,7 +116,7 @@ $(parser_test): $(parser_test_objs)
parser-test: $(parser_test)
-install: all $(rules)
+install: all $(rules) $(udhcpc)
$(INSTALL) -d $(DESTDIR)$(sbindir)/
$(INSTALL) $(daemons) $(uis) $(utils) $(DESTDIR)$(sbindir)/
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/artwork/
@@ -123,6 +124,7 @@ install: all $(rules)
$(DESTDIR)$(pkgdatadir)/artwork/
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/utils
$(INSTALL) -m 644 $(top_srcdir)/$(rules) $(DESTDIR)$(pkgdatadir)/utils
+ $(INSTALL) -m 644 $(top_srcdir)/$(udhcpc) $(DESTDIR)$(pkgdatadir)/utils
dist: $(PACKAGE)-$(VERSION).tar.gz
OpenPOWER on IntegriCloud