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 @@ -19,7 +19,7 @@ COMMON_ARGS += --build-arg=https_proxy=$(https_proxy)
1919empty :=
2020space = $(empty ) $(empty )
2121
22- 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
22+ 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
2323
2424all : $(TARGETS ) # # Builds all known pkgs.
2525
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.2.tar.gz
11+ destination : imgcrypt.tar.gz
12+ sha256 : 0be667c07f3e1f5a52be841e667ffb8ad80b289ce9115795affbefa6c6dcf261
13+ sha512 : 35d50a02ddad63444465f9279af24115027dc6c5f409a411d4fc26d0cd6a0dc57e26314e7f7fa8ce57eee2057a79b1d2001aa156a7b671bf4848667f70eb63c3
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