We DON'T want the gluon version file to collide with the package version stamp dir
This commit is contained in:
parent
7d27f1f045
commit
96b213c386
@ -36,7 +36,7 @@ fi
|
|||||||
|
|
||||||
json_add_object "software"
|
json_add_object "software"
|
||||||
json_add_object "firmware"
|
json_add_object "firmware"
|
||||||
json_add_string "base" "gluon-$(cat /lib/gluon/version)"
|
json_add_string "base" "gluon-$(cat /lib/gluon/gluon-version)"
|
||||||
json_add_string "release" "$(cat /lib/gluon/release)"
|
json_add_string "release" "$(cat /lib/gluon/release)"
|
||||||
json_close_object # firmware
|
json_close_object # firmware
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ define Package/gluon-core/install
|
|||||||
$(GLUON_GENERATE) ./generate/* $(1)/
|
$(GLUON_GENERATE) ./generate/* $(1)/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon
|
$(INSTALL_DIR) $(1)/lib/gluon
|
||||||
echo "$(GLUON_VERSION)" > $(1)/lib/gluon/version
|
echo "$(GLUON_VERSION)" > $(1)/lib/gluon/gluon-version
|
||||||
echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
|
echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Temporary fix for broken upgrades (happened between 20140225 and 20140226, remove next week)
|
||||||
|
if [ -f "$VERSION_DIR" ]; then rm "$VERSION_DIR"; fi
|
||||||
|
|
||||||
mkdir -p "$VERSION_DIR"
|
mkdir -p "$VERSION_DIR"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user