added rpi firmware
This commit is contained in:
parent
14a4ca1937
commit
3a1e88c202
1 changed files with 27 additions and 0 deletions
27
pkgs/raspberrypi-firmware/build.sh
Normal file
27
pkgs/raspberrypi-firmware/build.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
pkgname=raspberrypi-firmware
|
||||
pkgver=20210527
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/raspberrypi/firmware/archive/refs/tags/1.$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mv firmware-1.$pkgver $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -d $pkgdir/boot
|
||||
cp ./boot/*.bin $pkgdir/boot
|
||||
cp ./boot/*.dat $pkgdir/boot
|
||||
cp ./boot/*.elf $pkgdir/boot
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue