1
0
mirror of https://github.com/krglaws/MyLFS.git synced 2025-08-10 03:12:53 +00:00

add files from 'The End'

This commit is contained in:
Kyle Glaws
2022-04-23 23:36:52 -04:00
parent 81d910cbe8
commit eb04a7c920
5 changed files with 16 additions and 5 deletions

View File

@ -4,6 +4,7 @@
FULLPATH=$(cd $(dirname $0) && pwd)
export LFS_VERSION=11.1
export MAKEFLAGS=-j8
export PACKAGE_LIST=$FULLPATH/pkgs.sh
export PACKAGE_DIR=$FULLPATH/pkgs

View File

@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -e
LFS_VERSION=11.1
# #########
# Functions
@ -303,11 +302,12 @@ function init_image {
# install templates
install_template ./templates/etc__hosts LFSHOSTNAME
if $UEFI
install_template ./templates/etc__lfs-release LFS_VERSION
install_template ./templates/etc__lsb-release LFS_VERSION
install_template ./templates/etc__os-release LFS_VERSION
install_template ./templates/etc__fstab LFSROOTLABEL LFSEFILABEL LFSFSTYPE
if ! $UEFI
then
install_template ./templates/etc__fstab LFSROOTLABEL LFSEFILABEL LFSFSTYPE
else
install_template ./templates/etc__fstab LFSROOTLABEL LFSFSTYPE
sed -i "s/^.*LFSEFILABEL.*$//" $LFS/etc/fstab
sed -i "s/^.*efivars.*$//" $LFS/etc/fstab
fi

View File

@ -0,0 +1 @@
LFS_VERSION

View File

@ -0,0 +1,4 @@
DISTRIB_ID="Linux From Scratch"
DISTRIB_RELEASE=LFS_VERSION
DISTRIB_CODENAME=lfs
DISTRIB_DESCRIPTION="Linux From Scratch"

View File

@ -0,0 +1,5 @@
NAME="Linux From Scratch"
VERSION=LFS_VERSION
ID=lfs
PRETTY_NAME="Linux From Scratch LFS_VERSION"
VERSION_CODENAME=lfs