summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-28 19:35:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-28 19:35:59 +0200
commite4531a8290a9a38c6e615f0d0392b86cd53d2a25 (patch)
tree30eb2be4b030d25676378c63a65474572dcb562f /package/busybox/Makefile
parent68b275d9ba7931f1ed67aac3a751d0b4a7922d98 (diff)
check for uncommitted changes in /etc
When using reboot, halt or poweroff check for uncommittet changes in /etc on a cfgfs enabled system. When installing packages via ipkg, check afterwards if any uncommittet changes left.
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 62e2789ba..cdd0d8538 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= busybox
PKG_VERSION:= 1.17.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= c7fe7533b7fc4018b0b49a05ee0ee601
PKG_DESCR:= Core utilities for embedded systems
PKG_SECTION:= base
@@ -73,6 +73,9 @@ ifeq ($(ADK_DEBUG),y)
${INSTALL_BIN} $(WRKBUILD)/busybox_unstripped \
$(IDIR_BUSYBOX)/bin/busybox
endif
+ifneq ($(strip ${ADK_PACKAGE_CFGFS}),)
+ cd ${IDIR_BUSYBOX}/sbin && rm -f halt poweroff reboot
+endif
udhcpd-install:
${INSTALL_DIR} ${IDIR_UDHCPD}/etc/