Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit a992c64

Browse files
committed
v2.5.2
1 parent 7bcf956 commit a992c64

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
163163
- Fixed default initrd size being to big
164164
- Fixed Miscellaneous bugs
165165

166+
## [2.5.2] - 2022-06-30
167+
### Changed
168+
- Fixed Linuxkit compiling on Ubuntu 22.04
169+
- Fixed Miscellaneous bugs
170+
166171

167172

168173

@@ -176,4 +181,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
176181
[2.0.3]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.0.2...v2.0.3
177182
[2.0.4]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.0.3...v2.0.4
178183
[2.5.0]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.0.3...v2.5
179-
[2.5.1]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.5...v2.5.1
184+
[2.5.1]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.5...v2.5.1
185+
[2.5.2]: https://github.com/intel/Edge-Software-Provisioner/compare/v2.5.1...v2.5.2

scripts/buildUOS.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
# source "textutils.sh"
1010
# source "fleutils.sh"
1111

12+
##### NOTE ####
13+
# Linuxkit will not compile in Docker version 20.x or later
14+
1215
set -u
1316

1417
export GIT_COMMIT=$(git log -1 --oneline 2> /dev/null | awk '{print $1}')
@@ -64,6 +67,10 @@ if podman -v >/dev/null 2>&1; then
6467
mkdir -p $(pwd)/lib/docker && \
6568
docker run -d --privileged --name builder-docker ${DOCKER_RUN_ARGS} -v /tmp/builder:/var/run -v $(pwd)/lib/docker:/var/lib/docker docker:19.03.12-dind && \
6669
sleep 10 && \
70+
docker exec -t builder-docker sh -c '\
71+
mkdir /sys/fs/cgroup/systemd && \
72+
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd \
73+
' && \
6774
docker run -t --rm --privileged ${DOCKER_RUN_ARGS} -v $(pwd):/uos -v /tmp/builder:/var/run -v /tmp/host-builder:/tmp/host-docker docker:19.03.12-dind sh -c '\
6875
apk update && apk add --no-cache \
6976
alpine-sdk \
@@ -110,6 +117,10 @@ else
110117
docker run -d --privileged --name builder-docker ${DOCKER_RUN_ARGS} -v /tmp/builder:/var/run -v $(pwd)/lib/docker:/var/lib/docker docker:19.03.12-dind && \
111118
echo 'Waiting for Docker'; \
112119
while (! docker -H unix:////tmp/builder/docker.sock ps > /dev/null 2>&1); do echo -n '.'; sleep 0.5; done; echo 'ready' && \
120+
docker exec -t builder-docker sh -c '\
121+
mkdir /sys/fs/cgroup/systemd && \
122+
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd \
123+
' && \
113124
docker run -t ${DOCKER_RUN_ARGS} --rm -v $(pwd):/uos -v /tmp/builder:/var/run -v /var/run:/tmp/host-docker docker:19.03.12-dind sh -c '\
114125
apk update && apk add --no-cache \
115126
alpine-sdk \

0 commit comments

Comments
 (0)