From 9ee59adf6fbb4216fd4041e7c220bf5c8934758b Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 13 Mar 2014 03:13:12 +0000 Subject: [PATCH 1/2] fix(build_library) fix the build breakage from previous amd64-user change --- build_library/set_lsb_release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index b70952cd95..3ecc71e3f9 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -33,14 +33,14 @@ ROOT_FS_DIR="$FLAGS_root" COREOS_VERSION_NAME="CoreOS" if [[ -n "${FLAGS_production_track}" ]]; then - if [[ "${$FLAGS_board}" == "amd64-usr" ]]; then + if [[ "${FLAGS_board}" == "amd64-usr" ]]; then FLAGS_production_track="alpha" fi COREOS_VERSION_TRACK="${FLAGS_production_track}" COREOS_VERSION_DESCRIPTION="${COREOS_VERSION_STRING} (Official Build) \ ${COREOS_VERSION_TRACK} $FLAGS_board test" if [[ "${FLAGS_production_track}" != "sdk" ]]; then - if [[ "${$FLAGS_board}" == "amd64-usr" ]]; then + if [[ "${FLAGS_board}" == "amd64-usr" ]]; then COREOS_VERSION_AUSERVER="https://public.roller.core-os.net/v1/update/" else COREOS_VERSION_AUSERVER="https://api.core-os.net/v1/update/" From 1d6d1f753917aa38424c1c2603e3b3b814f3cdc6 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 13 Mar 2014 03:14:02 +0000 Subject: [PATCH 2/2] feat(build_library) move os-release to /usr/share/coreos/ --- build_library/set_lsb_release | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index 3ecc71e3f9..5976ffb2da 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -98,7 +98,8 @@ EOF # Aaaannd for the new systemd world order # os-release provides a separate build-id field, so split it from version OS_ID=$(tr '[:upper:]' '[:lower:]' <<<"$COREOS_VERSION_NAME") -sudo_clobber "${ROOT_FS_DIR}/etc/os-release" <