diff --git a/.forgejo/patches/linux-template-builder_use-fuse.patch b/.forgejo/patches/linux-template-builder_use-fuse.patch index b3b3101..b1efebe 100644 --- a/.forgejo/patches/linux-template-builder_use-fuse.patch +++ b/.forgejo/patches/linux-template-builder_use-fuse.patch @@ -83,7 +83,7 @@ index 6334879..de1a2af 100755 exit ${RETCODE} diff --git a/qubeize_image b/qubeize_image -index 19c37cb..7478a9d 100755 +index 19c37cb..9e5179d 100755 --- a/qubeize_image +++ b/qubeize_image @@ -13,6 +13,8 @@ export CLEANIMG="$1" @@ -131,7 +131,7 @@ index 19c37cb..7478a9d 100755 fi udevadm settle --exit-if-exists="$IMG_DEV" -mount "$IMG_DEV" mnt || exit 1 -+if "$TEMPLATE_USE_FUSE" -eq 1 ]; then ++if [ "$TEMPLATE_USE_FUSE" -eq 1 ]; then + fuse2fs "$IMG_DEV" mnt +else + mount "$IMG_DEV" mnt || exit 1 @@ -150,3 +150,12 @@ index 19c37cb..7478a9d 100755 echo "Qubeized image stored at: $IMG" +diff --git a/templates.spec b/templates.spec +index e1a82e9..210ef57 100644 +--- a/templates.spec ++++ b/templates.spec +@@ -193,3 +193,4 @@ rm -rf $RPM_BUILD_ROOT + %attr (664,root,qubes) %{dest_dir}/vm-whitelisted-appmenus.list + %attr (664,root,qubes) %{dest_dir}/netvm-whitelisted-appmenus.list + %attr (664,root,qubes) %{dest_dir}/template.conf ++%define _arch x86_64