forked from public/airgap
1
0
Fork 0

normalize all release vars

This commit is contained in:
Lance Vick 2023-02-12 21:41:33 -08:00
parent 141c458dfc
commit 209c3bd0af
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
4 changed files with 5 additions and 8 deletions

View File

@ -51,10 +51,8 @@ vm: toolchain
.PHONY: release .PHONY: release
release: default release: default
mkdir -p $(DIST_DIR) rm -rf $(DIST_DIR)/*
cp $(OUT_DIR)/release.env $(DIST_DIR)/release.env cp -R $(OUT_DIR)/* $(DIST_DIR)/
cp $(OUT_DIR)/airgap.iso $(DIST_DIR)/airgap.iso
cp $(OUT_DIR)/manifest.txt $(DIST_DIR)/manifest.txt
$(FETCH_DIR)/buildroot: toolchain $(FETCH_DIR)/buildroot: toolchain
$(call git_clone,$(FETCH_DIR)/buildroot,$(BUILDROOT_REPO),$(BUILDROOT_REF)) $(call git_clone,$(FETCH_DIR)/buildroot,$(BUILDROOT_REPO),$(BUILDROOT_REF))

View File

@ -11,7 +11,6 @@ cp -f ${BOARD_DIR}/grub.cfg ${TARGET_DIR}/boot/grub/grub.cfg
echo "export GIT_REF=\"${GIT_REF}\"" > ${TARGET_DIR}/etc/environment echo "export GIT_REF=\"${GIT_REF}\"" > ${TARGET_DIR}/etc/environment
echo "export GIT_AUTHOR=\"${GIT_AUTHOR}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_AUTHOR=\"${GIT_AUTHOR}\"" >> ${TARGET_DIR}/etc/environment
echo "export GIT_KEY=\"${GIT_KEY}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_KEY=\"${GIT_KEY}\"" >> ${TARGET_DIR}/etc/environment
echo "export GIT_DATETIME=\"${GIT_DATETIME}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_TIMESTAMP=\"${GIT_TIMESTAMP}\"" >> ${TARGET_DIR}/etc/environment
echo "export GIT_EPOCH=\"${GIT_EPOCH}\"" >> ${TARGET_DIR}/etc/environment
exit $? exit $?

View File

@ -16,7 +16,7 @@ cat << "EOF"
EOF EOF
echo " Build Details:" echo " Build Details:"
echo " - Version: $VERSION" echo " - Version: $VERSION"
echo " - Date: $GIT_DATETIME" echo " - Date: $GIT_TIMESTAMP"
echo " - Tree State: $GIT_STATE" echo " - Tree State: $GIT_STATE"
echo " - Committer: $GIT_AUTHOR" echo " - Committer: $GIT_AUTHOR"
echo " - Commit: $GIT_REF" echo " - Commit: $GIT_REF"

@ -1 +1 @@
Subproject commit 770c4add580c19ed9d9ead6a2ac765a397cb889c Subproject commit be41f7cfe1ea6331e17b8b3f4fffe2f509326e76