summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d8dd2ed2..8a8b6760c 100644
--- a/Makefile
+++ b/Makefile
@@ -477,7 +477,13 @@ endif
else \
/sbin/ldconfig -r $(TARGET_DIR); \
fi
- echo $(BR2_VERSION_FULL) > $(TARGET_DIR)/etc/br-version
+ ( \
+ echo "NAME=Buildroot"; \
+ echo "VERSION=$(BR2_VERSION_FULL)"; \
+ echo "ID=buildroot"; \
+ echo "VERSION_ID=$(BR2_VERSION)"; \
+ echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \
+ ) > $(TARGET_DIR)/etc/os-release
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)