1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-17 11:06:13 +02:00

cleanup: initrd: no need to install anything

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-24 16:45:27 +01:00
parent 3abda2762d
commit 1ecddf718f

View file

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