1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01: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" DEPENDS="bbstatic"
build() { build() {
mkdir -p ./{dev,lib,bin,sys,proc,newroot,images} return
pkg install -omLD -r "$PKGBUILDDIR" -R "$REPODIR" $DEPENDS
} }
deploy() { deploy() {
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$PKGDEPLOYDIR" 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" >> "$PKGDEPLOYDIR/initrd.files"
echo "file init 0775 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \ echo "file init 0775 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \