mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 02:53:48 +00:00
Done as follows:
find -name build.yml | xargs dirname | while read d ; do
t=$(linuxkit pkg show-tag $d)
./scripts/update-component-sha.sh --image ${t%:*} ${t#*:}
done
git commit -s test pkg tools blueprints examples projects/kubernetes projects/swarmd docs linuxkit.yml Makefile src
This explicitly excludes projects/* which I did not know whether to update.
Then:
git reset --hard
for i in init runc containerd ca-certificates sysctl dhcpcd getty rngd ; do
o=$(git grep -h "\(image:\|-\) *linuxkit/$i:[0-9a-f]\{40\}" origin/master:linuxkit.yml | awk '// { print $2 }')
n=$(linuxkit pkg show-tag pkg/$i)
./scripts/update-component-sha.sh "$o" "$n"
done
git commit --amend projects
This updates any projects which were using components with the same hash as the
top-level linuxkit.yml.
Signed-off-by: Ian Campbell <ijc@docker.com>
15 lines
404 B
YAML
15 lines
404 B
YAML
kernel:
|
|
# XXX Use the content hash as there are several 4.12.14 images on hub
|
|
image: linuxkit/kernel:4.12.14-c4d19a4de21def5a5134a6f70ef7212c31104bf1
|
|
cmdline: "console=ttyS0"
|
|
tar: none
|
|
init:
|
|
- linuxkit/init-lcow:50112be5023c21bf5a355323243c56b30890bc89
|
|
- linuxkit/runc:991ef358ad8fc1111d64f4d8071f2009cc561f6a
|
|
files:
|
|
- path: etc/linuxkit.yml
|
|
metadata: yaml
|
|
trust:
|
|
org:
|
|
- linuxkit
|