diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-10-07 21:17:55 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2024-10-07 21:17:55 +0200 |
commit | 4c78786737534ba658e3b33230b364850e31fbb5 (patch) | |
tree | 80807b0ca0d51fd286ab5939dcdefb65dc558e5a /redhat/docker/opensuse32.sh | |
parent | e81c987a3b55cab388b89f647b807414648ad6b8 (diff) | |
download | tde-packaging-4c78786737534ba658e3b33230b364850e31fbb5.tar.gz tde-packaging-4c78786737534ba658e3b33230b364850e31fbb5.zip |
RPM: many updates for upcoming R14.1.3
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/docker/opensuse32.sh')
-rwxr-xr-x | redhat/docker/opensuse32.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/docker/opensuse32.sh b/redhat/docker/opensuse32.sh index 5d4dce450..292ae9983 100755 --- a/redhat/docker/opensuse32.sh +++ b/redhat/docker/opensuse32.sh @@ -17,6 +17,8 @@ fi IMAGE="${NAME}:latest" INSTALLROOT="/dev/shm/${IMAGE}" +[ -x /usr/bin/pigz ] && GZIP=pigz || GZIP=gzip + for dir in dev proc sys; do if [ -d "${INSTALLROOT}/${dir}" ]; then umount "${INSTALLROOT}/${dir}" @@ -81,6 +83,6 @@ rm -rf "${INSTALLROOT}" docker rmi -f "${IMAGE}" docker import "${FILE}" "${IMAGE}" -pigz "${FILE}" +${GZIP} "${FILE}" mkdir -p "/home/${SUDO_USER}/tde/docker" mv -fv "${FILE}.gz" "/home/${SUDO_USER}/tde/docker" |