Skip to content

Commit cf09d2c

Browse files
committed
Add modified gardenlinux-update tool for in-place update testing
The modified tool is currently build in https://github.com/toanju/package-gardenlinux-update and disables OCI image verification by default. This is required to speed up testing the Gardener in-place update before implementing all details. Hence this only goes to the dev image. Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
1 parent 3f57b12 commit cf09d2c

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

features/_usidev/exec.config

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
#!/usr/bin/env bash
22

3-
set -eufo pipefail
3+
set -euo pipefail
44

55
mkdir -p /var/usr.overlay /var/usr.overlay.workdir
6+
7+
# install
8+
mkdir /tmp/custompackages
9+
package="https://github.com/toanju/package-gardenlinux-update/releases/download/0.9gl4%2Bbp1877/build.tar.xz.0000"
10+
11+
echo "Downloading and extracting package from $package"
12+
wget -q "$package" -O - | xz -d | tar xf - -C /tmp/custompackages
13+
14+
pushd /tmp/custompackages > /dev/null
15+
rm -f -- *dbgsym* *arm64* || true
16+
ls -1
17+
dpkg -i gardenlinux-update_*_amd64.deb
18+
popd > /dev/null
19+
rm -rf /tmp/custompackages

features/_usidev/pkg.exclude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gardenlinux-update

0 commit comments

Comments
 (0)