diff --git a/files/scripts/image-info.sh b/files/scripts/image-info.sh index 61864a68..9fa64fda 100644 --- a/files/scripts/image-info.sh +++ b/files/scripts/image-info.sh @@ -5,6 +5,12 @@ # builds actually ran successfully without any errors! set -oue pipefail +IMAGE_PRETTY_NAME="Zeliblue" +HOME_URL="https://github.com/zelikos/zeliblue" +DOCUMENTATION_URL="https://github.com/zelikos/zeliblue/blob/main/README.md" +SUPPORT_URL="https://github.com/zelikos/zeliblue/issues" +BUG_REPORT_URL="https://github.com/zelikos/zeliblue/issues" + IMAGE_INFO="/usr/share/zeliblue/image-info.json" IMAGE_VENDOR="zelikos" IMAGE_REF="ostree-image-signed:docker://ghcr.io/$IMAGE_VENDOR/$IMAGE_NAME" @@ -12,12 +18,8 @@ IMAGE_FLAVOR="" IMAGE_TAG="latest" if grep -q "kinoite" <<< "${BASE_IMAGE}"; then - sed -i '/^PRETTY_NAME/s/Kinoite/Zeliblue Plasma/' /usr/lib/os-release - sed -i '/^VERSION/s/Kinoite/Zeliblue Plasma/' /usr/lib/os-release IMAGE_FLAVOR="kinoite" else - sed -i '/^PRETTY_NAME/s/Silverblue/Zeliblue/' /usr/lib/os-release - sed -i '/^VERSION/s/Silverblue/Zeliblue/' /usr/lib/os-release IMAGE_FLAVOR="silverblue" fi @@ -31,4 +33,19 @@ cat > $IMAGE_INFO <