From 745cda03577b853f39f27c3518268411797cd912 Mon Sep 17 00:00:00 2001 From: r00t Date: Tue, 20 Jan 2015 04:46:19 -0500 Subject: [PATCH] force 32 sector size for EFI --- lib/08-stuffy.func.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/08-stuffy.func.sh b/lib/08-stuffy.func.sh index 3bdd896..7fcacd7 100644 --- a/lib/08-stuffy.func.sh +++ b/lib/08-stuffy.func.sh @@ -62,7 +62,8 @@ EOF FTSIZE=$(du -sc ${TEMPDIR}/{boot,EFI,loader} | tail -n1 | awk '{print $1}') FATSIZE=$((${FTSIZE} + 64)) # let's give a little wiggle room ${RACECAR_CHK}truncate -s "${FATSIZE}"K ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img - ${RACECAR_CHK}mkfs.vfat -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1 + ${RACECAR_CHK}mkfs.vfat -F 32 -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1 + #${RACECAR_CHK}mkfs.vfat -F32 -s2 -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1 mkdir -p ${SRCDIR}/efiboot mount ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img ${SRCDIR}/efiboot mkdir -p ${SRCDIR}/efiboot/EFI/${DISTNAME}