Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-11 20:31:55 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-11 20:31:55 +0100
commitedc904677360952532bd5770f14960c311bf0873 (patch)
treebd6b115400f16b86b6aeb86e981852e87e13df11
parent5b555493981dc95785e2e9958e0cf2484f98c7af (diff)
some testing with podman
-rwxr-xr-xmkimage-arch.sh11
1 files 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