Move rockchip package to different category (#1309)

Make it in line with others. Also dont be opinionated on where the
needed files are set, just drop them in the root package dir like we do
with others

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2025-03-10 23:56:10 +01:00 committed by GitHub
parent b90afed69b
commit c12b58ce03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 17 additions and 31 deletions

View File

@ -1,13 +0,0 @@
package_dir: /package
steps:
- apk add git
- git clone --depth 1 https://github.com/armbian/firmware.git
- |
cd firmware/ && \
mkdir -p /package/lib/firmware/brcm/ && \
cp brcm/BCM4345C5.hcd /package/lib/firmware/brcm/BCM4345C5.hcd && \
cp brcm/brcmfmac43456-sdio.txt /package/lib/firmware/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt && \
cp brcm/brcmfmac43456-sdio.bin /package/lib/firmware/brcm/brcmfmac43456-sdio.bin && \
cp brcm/brcmfmac43456-sdio.clm_blob /package/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob
image: "alpine"

View File

@ -1,3 +0,0 @@
category: "firmware"
name: "bcm4345"
version: "0.1"

View File

@ -1,10 +0,0 @@
image: ubuntu
package_dir: /package
prelude:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget
- mkdir /package
- wget http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-rockchip_2023.01+dfsg-2_arm64.deb -O u-boot.deb
steps:
- dpkg -x u-boot.deb /package

View File

@ -1,5 +0,0 @@
category: arm-vendor-blob
name: u-boot-rockchip
version: "0.3"
license: "mixed"
license_url: "https://metadata.ftp-master.debian.org/changelogs//main/u/u-boot/u-boot_2022.10+dfsg-1_copyright"

View File

@ -0,0 +1,14 @@
requires:
- name: "toolchain"
category: "development"
version: ">=0"
package_dir: /package
prelude:
- wget http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-rockchip_2025.01-2_arm64.deb -O u-boot.deb
steps:
- mkdir -p /tmp/uboot
- mkdir -p /package
- dpkg -x u-boot.deb /tmp/uboot
- cp /tmp/uboot/usr/lib/u-boot/pinebook-pro-rk3399/* /package

View File

@ -0,0 +1,3 @@
category: "uboot"
name: "rockchip"
version: "0.3.1"