Using static XBPS from a foreign distro such as Ubuntu or Arch causes the process to get stuck (no new output without finishing script after 20 minutes) towards the end, specifically at cp -a "$ROOTFS"/* "$BUILDDIR"/tmp-rootfs/ of generate_squashfs(); here's the full set -x script log output: https://devspace.voidlinux.org/abby/paste/mklive-foreign-log.txt
The worst part is it runs an rm -rf command if you ^C to cancel the process (which was stuck) which also starts removing all stuff possible from under the host bind-mounted /sys, /proc and /dev, after which the system practically has to be rebooted due to missing /dev/null and others, not sure if this could even wipe some efivars possibly rendering host machines unbootable... Here's a short example:
+ error_out 130
+ umount_pseudofs
+ umount -R -f .../void-mklive/tmp.peM67GOz38/image/rootfs/sys
+ umount -R -f .../void-mklive/tmp.peM67GOz38/image/rootfs/dev
+ umount -R -f .../void-mklive/tmp.peM67GOz38/image/rootfs/proc
+ [ -d .../void-mklive/tmp.peM67GOz38 -a -z ]
+ rm -rf .../void-mklive/tmp.peM67GOz38
rm: cannot remove '.../void-mklive/tmp.peM67GOz38/image/rootfs/sys/kernel/notes': Operation not permitted
...
rm: cannot remove '.../void-mklive/tmp.peM67GOz38/image/rootfs/dev/pts/ptmx': Operation not permitted
rm: cannot remove '.../void-mklive/tmp.peM67GOz38/tmp-rootfs': Device or resource busy
+ exit 130
TODO: Check how the output differs on a Void system...
Using static XBPS from a foreign distro such as Ubuntu or Arch causes the process to get stuck (no new output without finishing script after 20 minutes) towards the end, specifically at
cp -a "$ROOTFS"/* "$BUILDDIR"/tmp-rootfs/ofgenerate_squashfs(); here's the fullset -xscript log output: https://devspace.voidlinux.org/abby/paste/mklive-foreign-log.txtThe worst part is it runs an
rm -rfcommand if you^Cto cancel the process (which was stuck) which also starts removing all stuff possible from under the host bind-mounted/sys,/procand/dev, after which the system practically has to be rebooted due to missing/dev/nulland others, not sure if this could even wipe some efivars possibly rendering host machines unbootable... Here's a short example:TODO: Check how the output differs on a Void system...