diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-06-13 08:37:13 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2024-06-13 08:38:31 +0200 |
commit | ac47c91c6c011631186592695e4251a3bb97dcca (patch) | |
tree | d91e4e98d96b4b2618d9fb3b879c28b67fc63a8f /redhat/docker/mageia32.sh | |
parent | 1488354ed514d043f0c15ddbe8b9aa7c0b43f46c (diff) | |
download | tde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.tar.gz tde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.zip |
RPM: synchronize redhat directory with r14.1.x branch
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/docker/mageia32.sh')
-rwxr-xr-x | redhat/docker/mageia32.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/docker/mageia32.sh b/redhat/docker/mageia32.sh index 29afb4b59..01aa1f672 100755 --- a/redhat/docker/mageia32.sh +++ b/redhat/docker/mageia32.sh @@ -3,6 +3,7 @@ NAME="mageia32" VERSION="$1" # E.g: '26' IMAGE="${NAME}:${VERSION}" +TAR="${NAME}-${VERSION}.tar" INSTALLROOT="/dev/shm/${IMAGE}" sudo rm -rf "${INSTALLROOT}" @@ -12,8 +13,8 @@ setarch i686 sudo urpmi \ --auto \ bash vim urpmi mageia-release-common -sudo tar -C "${INSTALLROOT}" -c . >"${IMAGE}.tar" +sudo tar -C "${INSTALLROOT}" -c . >"${TAR}" sudo rm -rf "${INSTALLROOT}" docker rmi -f "${IMAGE}" -docker import "${IMAGE}.tar" "${IMAGE}" +docker import "${TAR}" "${IMAGE}" |