diff --git a/make/target-rootfs.mk b/make/target-rootfs.mk index e2f9c613..3ced70b1 100644 --- a/make/target-rootfs.mk +++ b/make/target-rootfs.mk @@ -26,6 +26,7 @@ $(TARGET_DIR)/.version: | $(TARGET_DIR) ifeq ($(BOXTYPE), $(filter $(BOXTYPE), armbox mipsbox)) echo "imagedir=$(IMAGE_SUBDIR)" >> $(@) endif + ln -sf /.version $(TARGET_prefix)/.version # -----------------------------------------------------------------------------