1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 11:37:10 +01:00

Add package files for rootfs and rpi3 bootup files

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-02-08 00:02:42 +01:00
parent 5d019b5f14
commit b7e5ce8118
9 changed files with 181 additions and 28 deletions

View file

@ -0,0 +1 @@
name boot-rpi3

View file

@ -0,0 +1,169 @@
dir overlays 0775 0 0
file overlays/spi0-cs.dtbo 0664 0 0
file overlays/vc4-kms-kippah-7inch.dtbo 0664 0 0
file overlays/rra-digidac1-wm8741-audio.dtbo 0664 0 0
file overlays/rotary-encoder.dtbo 0664 0 0
file overlays/spi-gpio35-39.dtbo 0664 0 0
file overlays/rpi-dac.dtbo 0664 0 0
file overlays/rpi-display.dtbo 0664 0 0
file overlays/audioinjector-ultra.dtbo 0664 0 0
file overlays/gpio-no-irq.dtbo 0664 0 0
file overlays/i2c-bcm2708.dtbo 0664 0 0
file overlays/hy28b-2017.dtbo 0664 0 0
file overlays/ads7846.dtbo 0664 0 0
file overlays/rpi-backlight.dtbo 0664 0 0
file overlays/pitft35-resistive.dtbo 0664 0 0
file overlays/exc3000.dtbo 0664 0 0
file overlays/w1-gpio.dtbo 0664 0 0
file overlays/i2c-gpio.dtbo 0664 0 0
file overlays/w1-gpio-pullup.dtbo 0664 0 0
file overlays/sc16is750-i2c.dtbo 0664 0 0
file overlays/vc4-fkms-v3d.dtbo 0664 0 0
file overlays/vga666.dtbo 0664 0 0
file overlays/adv728x-m.dtbo 0664 0 0
file overlays/audremap.dtbo 0664 0 0
file overlays/allo-katana-dac-audio.dtbo 0664 0 0
file overlays/gpio-no-bank0-irq.dtbo 0664 0 0
file overlays/sc16is752-i2c.dtbo 0664 0 0
file overlays/gpio-shutdown.dtbo 0664 0 0
file overlays/adau1977-adc.dtbo 0664 0 0
file overlays/pitft22.dtbo 0664 0 0
file overlays/gpio-poweroff.dtbo 0664 0 0
file overlays/spi1-2cs.dtbo 0664 0 0
file overlays/mbed-dac.dtbo 0664 0 0
file overlays/uart1.dtbo 0664 0 0
file overlays/hy28b.dtbo 0664 0 0
file overlays/smi-nand.dtbo 0664 0 0
file overlays/hifiberry-amp.dtbo 0664 0 0
file overlays/i2c-rtc.dtbo 0664 0 0
file overlays/iqaudio-dac.dtbo 0664 0 0
file overlays/wittypi.dtbo 0664 0 0
file overlays/tc358743-audio.dtbo 0664 0 0
file overlays/pps-gpio.dtbo 0664 0 0
file overlays/akkordion-iqdacplus.dtbo 0664 0 0
file overlays/rpi-cirrus-wm5102.dtbo 0664 0 0
file overlays/sdio-1bit.dtbo 0664 0 0
file overlays/justboom-dac.dtbo 0664 0 0
file overlays/gpio-ir-tx.dtbo 0664 0 0
file overlays/mcp23s17.dtbo 0664 0 0
file overlays/rpi-tv.dtbo 0664 0 0
file overlays/pi3-miniuart-bt.dtbo 0664 0 0
file overlays/pi3-act-led.dtbo 0664 0 0
file overlays/uart0.dtbo 0664 0 0
file overlays/i2c-mux.dtbo 0664 0 0
file overlays/pi3-disable-wifi.dtbo 0664 0 0
file overlays/pi3-disable-bt.dtbo 0664 0 0
file overlays/pwm-ir-tx.dtbo 0664 0 0
file overlays/iqaudio-dacplus.dtbo 0664 0 0
file overlays/ltc294x.dtbo 0664 0 0
file overlays/gpio-ir.dtbo 0664 0 0
file overlays/i2c-rtc-gpio.dtbo 0664 0 0
file overlays/ads1015.dtbo 0664 0 0
file overlays/papirus.dtbo 0664 0 0
file overlays/rpi-poe.dtbo 0664 0 0
file overlays/sc16is752-spi1.dtbo 0664 0 0
file overlays/dionaudio-loco.dtbo 0664 0 0
file overlays/README 0664 0 0
file overlays/superaudioboard.dtbo 0664 0 0
file overlays/piscreen.dtbo 0664 0 0
file overlays/i2c-pwm-pca9685a.dtbo 0664 0 0
file overlays/mcp23017.dtbo 0664 0 0
file overlays/gpio-key.dtbo 0664 0 0
file overlays/midi-uart0.dtbo 0664 0 0
file overlays/mcp3202.dtbo 0664 0 0
file overlays/sdio.dtbo 0664 0 0
file overlays/spi2-2cs.dtbo 0664 0 0
file overlays/qca7000.dtbo 0664 0 0
file overlays/at86rf233.dtbo 0664 0 0
file overlays/spi1-3cs.dtbo 0664 0 0
file overlays/i2c1-bcm2708.dtbo 0664 0 0
file overlays/mpu6050.dtbo 0664 0 0
file overlays/midi-uart1.dtbo 0664 0 0
file overlays/sdtweak.dtbo 0664 0 0
file overlays/dionaudio-loco-v2.dtbo 0664 0 0
file overlays/upstream.dtbo 0664 0 0
file overlays/justboom-digi.dtbo 0664 0 0
file overlays/audioinjector-wm8731-audio.dtbo 0664 0 0
file overlays/enc28j60-spi2.dtbo 0664 0 0
file overlays/dpi18.dtbo 0664 0 0
file overlays/ads1115.dtbo 0664 0 0
file overlays/enc28j60.dtbo 0664 0 0
file overlays/mcp2515-can0.dtbo 0664 0 0
file overlays/dpi24.dtbo 0664 0 0
file overlays/dht11.dtbo 0664 0 0
file overlays/smi.dtbo 0664 0 0
file overlays/spi2-3cs.dtbo 0664 0 0
file overlays/smi-dev.dtbo 0664 0 0
file overlays/media-center.dtbo 0664 0 0
file overlays/adv7282m.dtbo 0664 0 0
file overlays/piscreen2r.dtbo 0664 0 0
file overlays/sdhost.dtbo 0664 0 0
file overlays/ov5647.dtbo 0664 0 0
file overlays/spi-rtc.dtbo 0664 0 0
file overlays/lirc-rpi.dtbo 0664 0 0
file overlays/spi0-hw-cs.dtbo 0664 0 0
file overlays/vc4-kms-v3d.dtbo 0664 0 0
file overlays/rpi-ft5406.dtbo 0664 0 0
file overlays/mz61581.dtbo 0664 0 0
file overlays/mmc.dtbo 0664 0 0
file overlays/hifiberry-dac.dtbo 0664 0 0
file overlays/i2s-gpio28-31.dtbo 0664 0 0
file overlays/i2c-sensor.dtbo 0664 0 0
file overlays/allo-piano-dac-plus-pcm512x-audio.dtbo 0664 0 0
file overlays/upstream-aux-interrupt.dtbo 0664 0 0
file overlays/i2c0-bcm2708.dtbo 0664 0 0
file overlays/balena-fin.dtbo 0664 0 0
file overlays/mcp3008.dtbo 0664 0 0
file overlays/tinylcd35.dtbo 0664 0 0
file overlays/pitft28-resistive.dtbo 0664 0 0
file overlays/hd44780-lcd.dtbo 0664 0 0
file overlays/allo-boss-dac-pcm512x-audio.dtbo 0664 0 0
file overlays/sx150x.dtbo 0664 0 0
file overlays/pisound.dtbo 0664 0 0
file overlays/allo-piano-dac-pcm512x-audio.dtbo 0664 0 0
file overlays/dwc2.dtbo 0664 0 0
file overlays/hy28a.dtbo 0664 0 0
file overlays/jedec-spi-nor.dtbo 0664 0 0
file overlays/hifiberry-digi.dtbo 0664 0 0
file overlays/pibell.dtbo 0664 0 0
file overlays/spi2-1cs.dtbo 0664 0 0
file overlays/audioinjector-addons.dtbo 0664 0 0
file overlays/rpi-proto.dtbo 0664 0 0
file overlays/goodix.dtbo 0664 0 0
file overlays/gpio-fan.dtbo 0664 0 0
file overlays/bmp085_i2c-sensor.dtbo 0664 0 0
file overlays/hifiberry-digi-pro.dtbo 0664 0 0
file overlays/spi1-1cs.dtbo 0664 0 0
file overlays/pwm.dtbo 0664 0 0
file overlays/dwc-otg.dtbo 0664 0 0
file overlays/adau7002-simple.dtbo 0664 0 0
file overlays/pitft28-capacitive.dtbo 0664 0 0
file overlays/pwm-2chan.dtbo 0664 0 0
file overlays/tc358743.dtbo 0664 0 0
file overlays/googlevoicehat-soundcard.dtbo 0664 0 0
file overlays/fe-pi-audio.dtbo 0664 0 0
file overlays/applepi-dac.dtbo 0664 0 0
file overlays/rpi-sense.dtbo 0664 0 0
file overlays/hifiberry-dacplus.dtbo 0664 0 0
file overlays/iqaudio-digi-wm8804-audio.dtbo 0664 0 0
file overlays/mcp2515-can1.dtbo 0664 0 0
file overlays/allo-digione.dtbo 0664 0 0
file fixup_cd.dat 0664 0 0
file LICENCE.broadcom 0664 0 0
file bcm2708-rpi-b-plus.dtb 0664 0 0
file bcm2710-rpi-3-b-plus.dtb 0664 0 0
file start_db.elf 0664 0 0
file bcm2708-rpi-cm.dtb 0664 0 0
file bcm2709-rpi-2-b.dtb 0664 0 0
file start.elf 0664 0 0
file bootcode.bin 0664 0 0
file fixup_x.dat 0664 0 0
file start_cd.elf 0664 0 0
file fixup.dat 0664 0 0
file config.txt 0664 0 0
file bcm2708-rpi-b.dtb 0664 0 0
file bcm2708-rpi-0-w.dtb 0664 0 0
file start_x.elf 0664 0 0
file fixup_db.dat 0664 0 0
file bcm2710-rpi-3-b.dtb 0664 0 0
file bcm2710-rpi-cm3.dtb 0664 0 0

View file

@ -17,4 +17,5 @@ deploy() {
rm $DEPLOY/COPYING.linux rm $DEPLOY/COPYING.linux
cp "$SCRIPTDIR/pkg/boot-rpi3/config.txt" "$DEPLOY/config.txt" cp "$SCRIPTDIR/pkg/boot-rpi3/config.txt" "$DEPLOY/config.txt"
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
} }

View file

@ -4,15 +4,7 @@ build() {
local SOURCE="$1" local SOURCE="$1"
local DEPLOY="$2" local DEPLOY="$2"
mkdir -p "$PKGBUILDDIR/$OS_RELEASE" pkg install -om -r "$PKGDEPLOYDIR/$OS_RELEASE" -R "$REPODIR" $DEPENDS
# copy output of immediate dependencies
for pkgname in $DEPENDS; do
if [ -e "$PKGDEPLOYDIR/$pkgname" ]; then
cp -ru ${PKGDEPLOYDIR}/${pkgname}/* \
"$PKGBUILDDIR/$OS_RELEASE"
fi
done
# copy additional files from this package, subsitute filenames # copy additional files from this package, subsitute filenames
local linux_image="$OS_RELEASE/vmlinuz" local linux_image="$OS_RELEASE/vmlinuz"

View file

@ -4,15 +4,7 @@ build() {
local SOURCE="$1" local SOURCE="$1"
local DEPLOY="$2" local DEPLOY="$2"
mkdir -p "$PKGBUILDDIR/$OS_RELEASE" pkg install -om -r "$PKGDEPLOYDIR/$OS_RELEASE" -R "$REPODIR" $DEPENDS
# copy output of immediate dependencies
for pkgname in $DEPENDS; do
if [ -e "$PKGDEPLOYDIR/$pkgname" ]; then
cp -ru ${PKGDEPLOYDIR}/${pkgname}/* \
"$PKGBUILDDIR/$OS_RELEASE"
fi
done
# copy helper scripts # copy helper scripts
local linux_image="vmlinuz" local linux_image="vmlinuz"

View file

@ -4,14 +4,7 @@ build() {
local SOURCE="$1" local SOURCE="$1"
local DEPLOY="$2" local DEPLOY="$2"
# copy output of immediate dependencies pkg install -om -r "$PKGDEPLOYDIR/boot" -R "$REPODIR" $DEPENDS
mkdir -p "$PKGBUILDDIR/boot"
for pkgname in $DEPENDS; do
if [ -e "$PKGDEPLOYDIR/$pkgname" ]; then
cp -ru ${PKGDEPLOYDIR}/${pkgname}/* "$PKGBUILDDIR/boot"
fi
done
# copy files from this package # copy files from this package
cp "$SCRIPTDIR/pkg/$PKGNAME/cmdline.txt" "$PKGBUILDDIR/boot" cp "$SCRIPTDIR/pkg/$PKGNAME/cmdline.txt" "$PKGBUILDDIR/boot"

View file

@ -74,6 +74,7 @@ deploy() {
-no-progress -no-xattrs -pf "$DEPLOY/pseudo" -no-progress -no-xattrs -pf "$DEPLOY/pseudo"
rm "$DEPLOY/pseudo" rm "$DEPLOY/pseudo"
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
} }
check_update() { check_update() {

3
pkg/rootfs/rootfs.desc Normal file
View file

@ -0,0 +1,3 @@
name rootfs
toc-compressor none
data-compressor none

1
pkg/rootfs/rootfs.files Normal file
View file

@ -0,0 +1 @@
file rootfs.img 0755 0 0