From edc904677360952532bd5770f14960c311bf0873 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 11 Feb 2022 20:31:55 +0100 Subject: some testing with podman --- mkimage-arch.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mkimage-arch.sh b/mkimage-arch.sh index 0afb4c1..c1ec11b 100755 --- a/mkimage-arch.sh +++ b/mkimage-arch.sh @@ -5,9 +5,12 @@ set -e # adapt to the flavour of Archlinux32 you need -#ARCHITECTURE=pentium4 +ARCHITECTURE=pentium4 #ARCHITECTURE=i686 -ARCHITECTURE=i486 +#ARCHITECTURE=i486 + +#DOCKER=docker +DOCKER=podman hash pacstrap &>/dev/null || { echo "Could not find pacstrap. Run pacman -S arch-install-scripts" @@ -136,7 +139,7 @@ mknod -m 666 $DEV/ptmx c 5 2 ln -sf /proc/self/fd $DEV/fd umount $MOUNTPOINT -tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - $DOCKER_IMAGE_NAME -docker run --rm -t $DOCKER_IMAGE_NAME echo Success. +tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | $DOCKER import - $DOCKER_IMAGE_NAME +$DOCKER run --rm -t $DOCKER_IMAGE_NAME echo Success. rmdir $MOUNTPOINT rm -rf $ROOTFS -- cgit v1.2.3-70-g09d2