mirror of
https://github.com/pygos/build.git
synced 2024-11-14 23:47:11 +01:00
David Oberhollenzer
fa4eff263b
This commit adds an "emptypackage" template that implements defaults for all package functions and is included before every package. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 lines
291 B
Text
Executable file
11 lines
291 B
Text
Executable file
DEPENDS="bbstatic"
|
|
|
|
deploy() {
|
|
cp $SCRIPTDIR/pkg/initrd/*.{desc,files} "$PKGDEPLOYDIR"
|
|
|
|
pkg install -R "$REPODIR" -r "$SYSROOT" -l pkg $DEPENDS \
|
|
>> "$PKGDEPLOYDIR/initrd.files"
|
|
|
|
echo "file init 0755 0 0 $SCRIPTDIR/pkg/$PKGNAME/initrd.skel" \
|
|
>> "$PKGDEPLOYDIR/initrd.files"
|
|
}
|