diff --git a/ucore/install-ucore-hci.sh b/ucore/install-ucore-hci.sh index c642e73..9559a9d 100755 --- a/ucore/install-ucore-hci.sh +++ b/ucore/install-ucore-hci.sh @@ -5,3 +5,6 @@ set -ouex pipefail # install packages.json stuffs export IMAGE_NAME=ucore-hci /tmp/packages.sh + +# tweak os-release +sed -i '/^PRETTY_NAME/s/(uCore.*$/(uCore HCI)"/' /usr/lib/os-release diff --git a/ucore/install-ucore-minimal.sh b/ucore/install-ucore-minimal.sh index fbb7918..ecbae46 100755 --- a/ucore/install-ucore-minimal.sh +++ b/ucore/install-ucore-minimal.sh @@ -63,3 +63,6 @@ curl -L https://pkgs.tailscale.com/stable/fedora/tailscale.repo -o /etc/yum.repo # install packages.json stuffs export IMAGE_NAME=ucore-minimal /tmp/packages.sh + +# tweak os-release +sed -i '/^PRETTY_NAME/s/"$/ (uCore minimal)"/' /usr/lib/os-release diff --git a/ucore/install-ucore.sh b/ucore/install-ucore.sh index df4ff0c..e0060bc 100755 --- a/ucore/install-ucore.sh +++ b/ucore/install-ucore.sh @@ -8,3 +8,6 @@ export IMAGE_NAME=ucore # install packages direct from github /tmp/github-release-install.sh trapexit/mergerfs fc.x86_64 + +# tweak os-release +sed -i '/^PRETTY_NAME/s/(uCore.*$/(uCore)"/' /usr/lib/os-release