Added cookbook commit hash for /etc/os-release

This commit is contained in:
Frank Li 2026-05-27 23:21:19 +12:00 committed by Jeremy Soller
parent 862b29d3d9
commit 38a7406435
3 changed files with 3 additions and 2 deletions

View File

@ -108,7 +108,7 @@ HOME_URL="https://redox-os.org/"
DOCUMENTATION_URL="https://redox-os.org/docs/"
SUPPORT_URL="https://redox-os.org/community/"
"""
# FIXME maybe add VARIANT= and VARIANT_ID= keys depending on the chosen configuration?
# VARIANT and BUILD_ID are appended by redox_installer when creating images.
[[files]]
path = "/etc/os-release"

View File

@ -172,7 +172,7 @@ FSTOOLS=build/fstools
INSTALLER=$(FSTOOLS)/bin/redox_installer
REDOXFS=$(FSTOOLS)/bin/redoxfs
REDOXFS_MKFS=$(FSTOOLS)/bin/redoxfs-mkfs
INSTALLER_OPTS=--cookbook=.
INSTALLER_OPTS=--cookbook=. --config-name=$(CONFIG_NAME)
INSTALLER_FEATURES=
REDOXFS_FEATURES=
COOKBOOK_OPTS="--filesystem=$(FILESYSTEM_CONFIG)"

View File

@ -263,6 +263,7 @@ fn publish_packages(config: &CliConfig) -> Result<()> {
}
let repository = Repository {
build_id: get_ident().commit.clone(),
packages,
outdated_packages,
};