Skip to content

Commit 4ae6cef

Browse files
authored
Merge pull request #92 from lima-vm/zstd
Add zstd to the RD edition
2 parents 0185197 + 210d2c4 commit 4ae6cef

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

edition/min

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ export LIMA_INSTALL_LOGROTATE=false
1616
export LIMA_INSTALL_NERDCTL=false
1717
export LIMA_INSTALL_OPENSSH_SFTP_SERVER=false
1818
export LIMA_INSTALL_SSHFS=false
19+
export LIMA_INSTALL_ZSTD=false

edition/rd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ LIMA_INSTALL_LOGROTATE=true
1515
LIMA_INSTALL_NERDCTL=true
1616
LIMA_INSTALL_OPENSSH_SFTP_SERVER=true
1717
LIMA_INSTALL_SSHFS=true
18+
LIMA_INSTALL_ZSTD=true

genapkovl-lima.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ if [ "${LIMA_INSTALL_SSHFS}" == "true" ]; then
269269
echo "sshfs" >> "$tmp"/etc/apk/world
270270
fi
271271

272+
if [ "${LIMA_INSTALL_ZSTD}" == "true" ]; then
273+
echo "zstd" >> "$tmp"/etc/apk/world
274+
fi
275+
272276
if [ "${LIMA_INSTALL_CRI_DOCKERD}" == "true" ]; then
273277
mkdir -p "${tmp}/cri-dockerd"
274278
tar xz -C "${tmp}/cri-dockerd" -f /home/build/cri-dockerd.tar.gz

mkimg.lima.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,7 @@ profile_lima() {
6161
if [ "${LIMA_INSTALL_IPTABLES}" == "true" ] || [ "${LIMA_INSTALL_NERDCTL}" == "true" ]; then
6262
apks="$apks iptables ip6tables"
6363
fi
64+
if [ "${LIMA_INSTALL_ZSTD}" == "true" ]; then
65+
apks="$apks zstd"
66+
fi
6467
}

0 commit comments

Comments
 (0)