diff --git a/.kres.yaml b/.kres.yaml index 3cf25b7..f5a0578 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -2,7 +2,7 @@ kind: pkgfile.Build spec: targets: - - rpi_generic + - sbc-raspberrypi extraBuildArgs: - PKGS_PREFIX - PKGS diff --git a/Makefile b/Makefile index abbe0dd..ad624fa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-03-12T16:46:47Z by kres latest. +# Generated on 2024-03-14T16:55:00Z by kres latest. # common variables @@ -54,7 +54,7 @@ PKGS ?= v1.7.0-alpha.0-33-g3aacf03 # targets defines all the available targets -TARGETS = rpi_generic +TARGETS = sbc-raspberrypi # help menu diff --git a/installers/pkg.yaml b/installers/pkg.yaml new file mode 100644 index 0000000..a4ee4c0 --- /dev/null +++ b/installers/pkg.yaml @@ -0,0 +1,11 @@ +name: sbc-raspberrypi +variant: scratch +dependencies: + - stage: rpi_generic + - stage: raspberrypi-firmware + - stage: u-boot + platform: linux/arm64 + - stage: profiles +finalize: + - from: /rootfs + to: / diff --git a/installers/rpi_generic/pkg.yaml b/installers/rpi_generic/pkg.yaml index 0803f62..7d5cb66 100644 --- a/installers/rpi_generic/pkg.yaml +++ b/installers/rpi_generic/pkg.yaml @@ -3,10 +3,6 @@ variant: scratch shell: /toolchain/bin/bash dependencies: - stage: base - - stage: raspberrypi-firmware - - stage: u-boot - platform: linux/arm64 - - stage: profiles steps: - env: GOPATH: /go @@ -26,4 +22,4 @@ steps: cp -p /pkg/src/rpi_generic /rootfs/installers/rpi_generic finalize: - from: /rootfs - to: / + to: /rootfs