From 1ecddf718f2910bed0a8aab8ae3cb2ba29f74d5f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 24 Mar 2019 16:45:27 +0100 Subject: [PATCH] cleanup: initrd: no need to install anything Signed-off-by: David Oberhollenzer --- pkg/initrd/build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/initrd/build b/pkg/initrd/build index c3ec3b8..eb98498 100755 --- a/pkg/initrd/build +++ b/pkg/initrd/build @@ -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" \