feat: add a little uCore style to PRETTY_NAME (#134)

This commit is contained in:
Benjamin Sherman
2024-03-21 20:35:33 -05:00
committed by GitHub
parent 52ffae4dac
commit dc5006b2ee
3 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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