feat(image): fix osrel in uki
This commit is contained in:
parent
e4ebf7ea7f
commit
b3ad9f9962
2 changed files with 8 additions and 9 deletions
rootfs
|
@ -19,12 +19,14 @@ rm -f $out/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service
|
|||
rm -f $out/usr/lib/udev/rules.d/90-vconsole.rules
|
||||
|
||||
cat <<EOF > $out/etc/os-release
|
||||
NAME="PatOS"
|
||||
PRETTY_NAME="PatOS 0.0.1 (pre-alpha)"
|
||||
NAME=PatOS
|
||||
PRETTY_NAME=PatOS 0.0.1 (pre-alpha)
|
||||
IMAGE_ID=patos
|
||||
ID=patos
|
||||
VERSION="0.0.1 (pre-alpha)"
|
||||
VERSION_CODENAME=pre-alpha
|
||||
VERSION_ID="0.0.1"
|
||||
IMAGE_VERSION=0.0.1
|
||||
VERSION=0.0.1
|
||||
VERSION_ID=0.0.1
|
||||
BUILD_ID=0.0.1
|
||||
EOF
|
||||
|
||||
sed -i 's#After=\(.*\)#After=sysroot.mount \1#' $out/usr/lib/systemd/system/systemd-repart.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue