mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +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"
|
|
}
|