1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-20 20:46:13 +02:00
build/pkg/initrd/build
David Oberhollenzer 8fa44569d8 cleanup: remove deploy directory argument from package command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00

22 lines
450 B
Plaintext
Executable file

DEPENDS="bbstatic"
build() {
mkdir -p ./{dev,lib,bin,sys,proc,newroot,images}
pkg install -omLD -r "$PKGBUILDDIR" -R "$REPODIR" $DEPENDS
}
deploy() {
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$PKGDEPLOYDIR"
pkg install -R "$REPODIR" -r "$PKGBUILDDIR" -l -F pkg $DEPENDS \
>> "$PKGDEPLOYDIR/initrd.files"
echo "file init 0775 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \
>> "$PKGDEPLOYDIR/initrd.files"
}
check_update() {
return
}