mirror of
https://github.com/pygos/build.git
synced 2024-11-17 00:47:10 +01:00
ffacb26218
Instead of having a "depends" file with a list of packages, add a "DEPENDS" variable to the build script. Generate the rootfs dependencies from a config file stored in the cfg directory. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
22 lines
384 B
Text
Executable file
22 lines
384 B
Text
Executable file
# inherit package details from kernel package
|
|
source "$SCRIPTDIR/pkg/firmware-rpi3/build"
|
|
DEPENDS=""
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local BUILD="$2"
|
|
local DEPLOY="$3"
|
|
|
|
cp -r ${SOURCE}/boot/* "$DEPLOY/"
|
|
|
|
rm $DEPLOY/kernel7.img
|
|
rm $DEPLOY/kernel.img
|
|
rm $DEPLOY/COPYING.linux
|
|
rm $DEPLOY/*.dtb
|
|
|
|
cp "$SCRIPTDIR/pkg/boot-rpi3/config.txt" "$DEPLOY/config.txt"
|
|
}
|