File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ COMMON_ARGS += --platform=$(PLATFORM)
1717empty :=
1818space = $(empty ) $(empty )
1919
20- TARGETS = ca-certificates cni containerd cryptsetup dosfstools eudev fhs grub ipmitool iptables ipxe kernel kmod libaio libjson-c liblzma libpopt libressl libseccomp linux-firmware lvm2 musl open-iscsi open-isns raspberrypi-firmware runc socat syslinux u-boot util-linux xfsprogs
20+ TARGETS = ca-certificates cni containerd imgcrypt cryptsetup dosfstools eudev fhs grub ipmitool iptables ipxe kernel kmod libaio libjson-c liblzma libpopt libressl libseccomp linux-firmware lvm2 musl open-iscsi open-isns raspberrypi-firmware runc socat syslinux u-boot util-linux xfsprogs
2121
2222all : $(TARGETS ) # # Builds all known pkgs.
2323
Original file line number Diff line number Diff line change 1+ name : imgcrypt
2+ variant : scratch
3+ shell : /toolchain/bin/bash
4+ dependencies :
5+ - stage : base
6+ - stage : ca-certificates
7+ steps :
8+ - sources :
9+ # sync with version and revision in build
10+ - url : https://github.com/containerd/imgcrypt/archive/refs/tags/v1.1.1.tar.gz
11+ destination : imgcrypt.tar.gz
12+ sha256 : 13ec4d41e870ac8e3d2ec407bc8694379a8cd4b81c958f61f6f24efd7df88c64
13+ sha512 : 626e2689c1b3efbc81d2697a83b985f92a8adb08eae8547a7f45d39a46b1bd4d020adb0728bec86fcffd29602ef38547a8d4f1441e1437ec04e8b5964821adcd
14+ env :
15+ GOPATH : /go
16+ prepare :
17+ - |
18+ mkdir -p ${GOPATH}/src/
19+ tar -xzf imgcrypt.tar.gz --strip-components=1 -C ${GOPATH}/src/
20+ build :
21+ - |
22+ export PATH=${PATH}:${TOOLCHAIN}/go/bin
23+ cd ${GOPATH}/src/
24+ make bin/ctd-decoder VERSION=v1.1.1
25+ install :
26+ - |
27+ mkdir -p /rootfs/bin
28+ mv ${GOPATH}/src/bin/ctd-decoder /rootfs/bin
29+ finalize :
30+ - from : /rootfs
31+ to : /
You can’t perform that action at this time.
0 commit comments