From d77f08ecaf7cb082bfa7be344374da6c7c46bdf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 27 Aug 2022 11:09:29 +0700 Subject: [PATCH] bootiso: depends on exfatprogs --- srcpkgs/bootiso/patches/new-exfat.patch | 11 +++++++++++ srcpkgs/bootiso/template | 7 +++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/bootiso/patches/new-exfat.patch diff --git a/srcpkgs/bootiso/patches/new-exfat.patch b/srcpkgs/bootiso/patches/new-exfat.patch new file mode 100644 index 000000000000..57085311bfd6 --- /dev/null +++ b/srcpkgs/bootiso/patches/new-exfat.patch @@ -0,0 +1,11 @@ +--- a/bootiso ++++ b/bootiso +@@ -507,7 +507,7 @@ function fs_formatPartition() { + # These options always end up with the label flag setter + local -Ar _mkfsOpts=( + ['vfat']="-v -F 32 -n" # Fat32 mode +- ['exfat']="-n" ++ ['exfat']="-L" + ['ntfs']="-Q -c 4096 -L" # Quick mode + cluster size = 4096 for syslinux support + ['ext2']="-O ^64bit -L" # Disabling pure 64 bits compression for syslinux compatibility + ['ext3']="-O ^64bit -L" # see https://www.syslinux.org/wiki/index.php?title=Filesystem#ext diff --git a/srcpkgs/bootiso/template b/srcpkgs/bootiso/template index db30bfb9db19..2d740ca06809 100644 --- a/srcpkgs/bootiso/template +++ b/srcpkgs/bootiso/template @@ -1,11 +1,10 @@ # Template file for 'bootiso' pkgname=bootiso version=4.2.0 -revision=2 +revision=3 build_style=gnu-makefile -depends="bash bc binutils coreutils curl dosfstools e2fsprogs eudev exfat-utils - f2fs-tools file findutils gawk grep ncurses ntfs-3g rsync syslinux tar util-linux - wimlib jq" +depends="bash bc binutils curl dosfstools e2fsprogs eudev exfatprogs + f2fs-tools file ncurses ntfs-3g rsync syslinux wimlib jq" short_desc="Create a USB bootable device from an ISO image easily and securely" maintainer="Lorem " license="GPL-3.0-only"