2019-09-28 00:17:56 +08:00
|
|
|
# Description: A set of scripts to start/stop the LFS system at bootup/shutdown
|
|
|
|
# URL:
|
2019-11-10 23:58:56 +08:00
|
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
2019-09-28 00:17:56 +08:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=lfs-bootscripts
|
2021-06-13 19:27:19 +08:00
|
|
|
version=20210608
|
2019-09-28 00:17:56 +08:00
|
|
|
release=1
|
2020-11-13 13:58:01 +08:00
|
|
|
source=(http://www.linuxfromscratch.org/lfs/downloads/development/lfs-bootscripts-$version.tar.xz
|
2019-10-10 23:53:41 +08:00
|
|
|
lfs-bootscripts_add-support-uefi.patch
|
2019-09-28 00:17:56 +08:00
|
|
|
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
|
2019-10-10 23:53:41 +08:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/lfs-bootscripts_add-support-uefi.patch
|
|
|
|
|
2019-09-28 00:17:56 +08:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|