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