26 lines
658 B
Text
Executable file
26 lines
658 B
Text
Executable file
# Description: A set of scripts to start/stop the LFS system at bootup/shutdown
|
|
# URL:
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
|
# Depends on:
|
|
|
|
name=lfs-bootscripts
|
|
version=20220327
|
|
release=1
|
|
source=(http://www.linuxfromscratch.org/lfs/downloads/development/lfs-bootscripts-$version.tar.xz
|
|
lfs-bootscripts_add-support-uefi.patch
|
|
clock
|
|
console
|
|
inittab)
|
|
|
|
build() {
|
|
install -d $PKG/etc/sysconfig
|
|
install -m0644 clock $PKG/etc/sysconfig
|
|
install -m0644 console $PKG/etc/sysconfig
|
|
install -m0644 inittab $PKG/etc
|
|
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i $SRC/lfs-bootscripts_add-support-uefi.patch
|
|
|
|
make DESTDIR=$PKG install
|
|
}
|