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:
parent
3abda2762d
commit
1ecddf718f
1 changed files with 2 additions and 4 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue