2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="bbstatic"
|
|
|
|
|
2018-02-18 01:33:45 +01:00
|
|
|
build() {
|
2019-02-04 18:32:29 +01:00
|
|
|
mkdir -p ./{dev,lib,bin,sys,proc,newroot,images}
|
|
|
|
|
|
|
|
pkg install -omLD -r "$PKGBUILDDIR" -R "$REPODIR" $DEPENDS
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
|
|
|
|
2018-02-18 01:33:45 +01:00
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$PKGDEPLOYDIR"
|
2019-02-03 17:13:28 +01:00
|
|
|
|
2019-03-09 14:22:55 +01:00
|
|
|
pkg install -R "$REPODIR" -r "$PKGBUILDDIR" -l pkg $DEPENDS \
|
2019-03-06 10:03:12 +01:00
|
|
|
>> "$PKGDEPLOYDIR/initrd.files"
|
2019-02-03 17:13:28 +01:00
|
|
|
|
2019-02-04 18:32:29 +01:00
|
|
|
echo "file init 0775 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \
|
2019-03-06 10:03:12 +01:00
|
|
|
>> "$PKGDEPLOYDIR/initrd.files"
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
return
|
2019-02-03 17:13:28 +01:00
|
|
|
}
|