eth0s/ports/core/lfs-bootscripts/Pkgfile

27 lines
658 B
Text
Raw Normal View History

# 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
# Depends on:
name=lfs-bootscripts
2021-06-13 19:27:19 +08:00
version=20210608
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
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
make DESTDIR=$PKG install
}