From 5f4c56c034736b9862cfd52af831edbbbc80ff28 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 21 Aug 2024 14:01:30 -0400 Subject: [PATCH] fix typo in patch --- .../patches/linux-template-builder_use-fuse.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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