From 8e962b9e58bea7bee21e60e89534e64bb679f097 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 20 Sep 2017 16:26:13 +0200 Subject: [PATCH] - image-update.mk: avoid overrides in user's var-partition --- make/image-update.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make/image-update.mk b/make/image-update.mk index 5dbe208a..f042f8cc 100644 --- a/make/image-update.mk +++ b/make/image-update.mk @@ -134,6 +134,10 @@ u-neutrino-full: neutrino-clean install -D -m 0755 $(TARGETPREFIX)/etc/init.d/start_neutrino $(UPDATE_INST_DIR)/etc/init.d/start_neutrino ifeq ($(DEBUG), no) find $(UPDATE_INST_DIR)/bin -type f ! -name *.sh -print0 | xargs -0 $(TARGET)-strip || true +endif +ifeq ($(BOXSERIES), hd2) + # avoid overrides in user's var-partition + mv $(UPDATE_INST_DIR)/var $(UPDATE_INST_DIR)/var_init endif $(MAKE) u-update-bin \ UPDATE_MD5FILE=$(UPDATE_MD5FILE-BOXSERIES)