Skip to content

Commit

Permalink
Add lsb-release and os-release (thanks, LFS book)
Browse files Browse the repository at this point in the history
  • Loading branch information
HENRYMARTIN5 committed Feb 1, 2023
1 parent b10b8d5 commit e81c328
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions buildiso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ cp -r /usr/share/archiso/configs/baseline/ acervus-conf
cd acervus-conf
echo "Done."

# Change lsb-release and os-release
cat > ./airootfs/etc/lsb-release << "EOF"
DISTRIB_ID="Acervus"
DISTRIB_RELEASE="0.1"
DISTRIB_CODENAME="hoard"
DISTRIB_DESCRIPTION="A spin of Arch Linux designed to pack as much useful software as possible while still staying relatively lightweight."
EOF

cat > ./airootfs/etc/os-release << "EOF"
NAME="Acervus"
VERSION="0.1"
ID=acervus
PRETTY_NAME="Acervus v0.1"
VERSION_CODENAME="hoard"
EOF

echo "Modifying config..."
# Modify pacman.conf
cp ../pacman.conf ./pacman.conf
Expand Down

0 comments on commit e81c328

Please sign in to comment.