Well done! The new LFS system is installed! We wish you much success with your shiny new custom-built Linux system.
It may be a good idea to create an /etc/lfs-release
file. By having this file, it is
very easy for you (and for us if you need to ask for help at some
point) to find out which LFS version is installed on the system.
Create this file by running:
echo loongarch-12.1-systemd > /etc/lfs-release
Two files describing the installed system may be used by packages that can be installed on the system later, either in binary form or by building them.
The first one shows the status of your new system with respect to the Linux Standards Base (LSB). To create this file, run:
cat > /etc/lsb-release << "EOF" DISTRIB_ID="Linux From Scratch" DISTRIB_RELEASE="loongarch-12.1-systemd" DISTRIB_CODENAME="<your name here>" DISTRIB_DESCRIPTION="Linux From Scratch" EOF
The second one contains roughly the same information, and is used by systemd and some graphical desktop environments. To create this file, run:
cat > /etc/os-release << "EOF" NAME="Linux From Scratch" VERSION="loongarch-12.1-systemd" ID=lfs PRETTY_NAME="Linux From Scratch loongarch-12.1-systemd" VERSION_CODENAME="<your name here>" HOME_URL="https://www.linuxfromscratch.org/lfs/" EOF
Be sure to customize the fields 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely yours.