Skip to content

Commit

Permalink
More work on mounting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
uli-heller committed Nov 14, 2024
1 parent 8a451a1 commit f05707e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions create-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,11 @@ test -n "${PREFIX}" && {

(
set -x
sleep 5
sudo umount "./${OSDIR}/rootfs/proc"
#sudo chroot "./${OSDIR}/rootfs" umount "/proc"
sudo umount "./${OSDIR}/rootfs/sys"
sudo chroot "./${OSDIR}/rootfs" umount "/sys"
#sudo chroot "./${OSDIR}/rootfs" umount "/sys"
cd "./${OSDIR}"
sudo tar --numeric-owner \
--exclude "rootfs/var/cache/lxc-ppa"\
Expand All @@ -380,7 +381,5 @@ test -n "${PREFIX}" && {
-cpf - *
)|xz -T0 -c9 >"${PREFIX}${OS}-${VERSION}-${DEBOOTSTRAP_ARCHITECTURE}-lxcimage.tar.xz"

echo "WARTE"
read x
cleanUp

0 comments on commit f05707e

Please sign in to comment.