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
|
|
|
local INPUT="$1"
|
|
|
|
local DEPLOY="$2"
|
|
|
|
|
|
|
|
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() {
|
2017-12-09 21:51:48 +01:00
|
|
|
local INPUT="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
2019-02-04 18:32:29 +01:00
|
|
|
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$DEPLOY"
|
2019-02-03 17:13:28 +01:00
|
|
|
|
2019-02-04 18:32:29 +01:00
|
|
|
pkg install -R "$REPODIR" -r "$PKGBUILDDIR" -l -F pkg $DEPENDS \
|
|
|
|
>> "$DEPLOY/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" \
|
|
|
|
>> "$DEPLOY/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
|
|
|
}
|