I make framebuffer drivers for small TFT LCDs, and provide a prebuilt image for people to download: https://github.com/notro/fbtft/wiki
Now I want to distribute the kernel, modules and firmware like rpi-update does.
Is it possible to change a line in rpi-update so I don't have to fork it:
Can you please share the script that is used to copy raspberrypi/firmware to Hexxeh/rpi-firmware ?
This is script to copy firmware -> rpi-firmware
rm -rf rpi-firmware/*
mkdir -p rpi-firmware/modules
cp firmware/boot/* rpi-firmware/
cp -a firmware/modules/*+/ rpi-firmware/modules/
mkdir -p rpi-firmware/vc/sdk/opt/vc
cp -a firmware/opt/vc/include/ rpi-firmware/vc/sdk/opt/vc/
cp -a firmware/opt/vc/src/ rpi-firmware/vc/sdk/opt/vc/
mkdir -p rpi-firmware/vc/softfp/opt/vc
cp firmware/opt/vc/LICENCE rpi-firmware/vc/softfp/opt/vc
cp -a firmware/opt/vc/bin/ rpi-firmware/vc/softfp/opt/vc
cp -a firmware/opt/vc/lib/ rpi-firmware/vc/softfp/opt/vc
cp -a firmware/opt/vc/sbin/ rpi-firmware/vc/softfp/opt/vc
mkdir -p rpi-firmware/vc/hardfp/opt/vc
cp firmware/hardfp/opt/vc/LICENCE rpi-firmware/vc/hardfp/opt/vc
cp -a firmware/hardfp/opt/vc/bin/ rpi-firmware/vc/hardfp/opt/vc
cp -a firmware/hardfp/opt/vc/lib/ rpi-firmware/vc/hardfp/opt/vc
cp -a firmware/hardfp/opt/vc/sbin/ rpi-firmware/vc/hardfp/opt/vc
git checkout README.md
rpi-update is updated.
Thanks, that worked fine.
Allow REPO_URI to be overridden.