[arch-releng] [PATCH 4/4] [configs/releng] Increase efiboot.img size

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Sep 26 20:44:15 EDT 2012


* Increase size to a safe 31M, (currently we have 400K free since latest changes)
* Also set a filesystem label, can be useful for future usage...

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 configs/releng/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 5d573a2..125be11 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -95,8 +95,8 @@ make_efiboot() {
         if [[ ${arch} == "x86_64" ]]; then
 
             mkdir -p ${work_dir}/iso/EFI/archiso
-            dd of=${work_dir}/iso/EFI/archiso/efiboot.img bs=1 seek=20M count=0
-            mkfs.vfat ${work_dir}/iso/EFI/archiso/efiboot.img
+            truncate -s 31M ${work_dir}/iso/EFI/archiso/efiboot.img
+            mkfs.vfat -n ARCHISO_EFI ${work_dir}/iso/EFI/archiso/efiboot.img
 
             mkdir -p ${work_dir}/efiboot
             mount ${work_dir}/iso/EFI/archiso/efiboot.img ${work_dir}/efiboot
-- 
1.7.12.1



More information about the arch-releng mailing list