Skip to content

Commit

Permalink
fix: image name
Browse files Browse the repository at this point in the history
Fixes the image name.
Also split out into different pkgs to have better caching and folder
structure.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Mar 14, 2024
1 parent 9aceeb5 commit 15aa3b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kind: pkgfile.Build
spec:
targets:
- rpi_generic
- sbc-raspberrypi
extraBuildArgs:
- PKGS_PREFIX
- PKGS
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down
11 changes: 11 additions & 0 deletions installers/pkg.yaml
Original file line number Diff line number Diff line change
@@ -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: /
6 changes: 1 addition & 5 deletions installers/rpi_generic/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,4 +22,4 @@ steps:
cp -p /pkg/src/rpi_generic /rootfs/installers/rpi_generic
finalize:
- from: /rootfs
to: /
to: /rootfs

0 comments on commit 15aa3b4

Please sign in to comment.