mirror of
https://github.com/pygos/build.git
synced 2024-11-17 00:47:10 +01:00
27 lines
508 B
Text
Executable file
27 lines
508 B
Text
Executable file
DEPENDS="bbstatic"
|
|
|
|
build() {
|
|
local INPUT="$1"
|
|
local DEPLOY="$2"
|
|
|
|
mkdir -p ./{dev,lib,bin,sys,proc,newroot,images}
|
|
|
|
pkg install -omLD -r "$PKGBUILDDIR" -R "$REPODIR" $DEPENDS
|
|
}
|
|
|
|
deploy() {
|
|
local INPUT="$1"
|
|
local DEPLOY="$2"
|
|
|
|
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$DEPLOY"
|
|
|
|
pkg install -R "$REPODIR" -r "$PKGBUILDDIR" -l -F pkg $DEPENDS \
|
|
>> "$DEPLOY/initrd.files"
|
|
|
|
echo "file init 0775 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \
|
|
>> "$DEPLOY/initrd.files"
|
|
}
|
|
|
|
check_update() {
|
|
return
|
|
}
|