Browse Source

- image-update.mk: avoid overrides in user's var-partition

master
vanhofen 7 years ago
parent
commit
8e962b9e58
  1. 4
      make/image-update.mk

4
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 install -D -m 0755 $(TARGETPREFIX)/etc/init.d/start_neutrino $(UPDATE_INST_DIR)/etc/init.d/start_neutrino
ifeq ($(DEBUG), no) ifeq ($(DEBUG), no)
find $(UPDATE_INST_DIR)/bin -type f ! -name *.sh -print0 | xargs -0 $(TARGET)-strip || true 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 endif
$(MAKE) u-update-bin \ $(MAKE) u-update-bin \
UPDATE_MD5FILE=$(UPDATE_MD5FILE-BOXSERIES) UPDATE_MD5FILE=$(UPDATE_MD5FILE-BOXSERIES)

Loading…
Cancel
Save