Skip to content
Snippets Groups Projects
Commit 96b213c3 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

We DON'T want the gluon version file to collide with the package version stamp dir

parent 7d27f1f0
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ fi ...@@ -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 ...@@ -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 ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment