smlinux/base/initfs/initfs.SMBuild
PktSurf 549283c0b8 Cleaned up base/initfs build file
Made following changes to bldpkg:
* Introduced makepkg function to remove dependency on external base/pkgtools/makepkg script
* Simplified code inside applypatch function
* Added pigz and plzip parallel compressors inside pkgext case/esac
* Miscellaneous fixes
2022-09-07 11:08:42 +05:30

29 lines
No EOL
590 B
Text
Executable file

app=initfs
version=0.1
build=1sml
homepage="http://git.pktsurf.in/smlinux/tree/base/initfs"
download="http://git.pktsurf.in/smlinux/tree/base/initfs"
desc="initfs - initial file system hierarchy creator"
requires="musl"
disablepkgsymlinks=1
build() {
arch=noarch
mkandenterbuilddir
cd $pkg
tar xf $srcdir/$app.tar.lz
mv initfs/* .
rmdir initfs
mkdir -p install
chmod 1777 tmp
chmod 0700 root
mkfinalpkg
}
sha512sums="
85da0195b5e58c2b01f6ab91ed7a15ebff783325b08c5ed10722e6576974c1cedf55767eb30ccf58f41fc6c88171810ee63a0d7c7d09eb925c0572802d7754de initfs.tar.lz
"