From e4531a8290a9a38c6e615f0d0392b86cd53d2a25 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Jul 2010 19:35:59 +0200 Subject: 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. --- package/busybox/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/busybox/Makefile') 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/ -- cgit v1.2.3