From b563d99201711bf8d432f4900d5da61f3b17c4b5 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 27 Nov 2025 20:11:54 +0200 Subject: [PATCH] feat(sqmeta): change fstab creation to just echo --- sqmeta/IMGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqmeta/IMGBUILD b/sqmeta/IMGBUILD index 394bad5..0727a54 100644 --- a/sqmeta/IMGBUILD +++ b/sqmeta/IMGBUILD @@ -54,9 +54,9 @@ setup() { mount /dev/vda1 "${imgroot}/boot" mkdir "${imgroot}/etc" opts=$(findmnt -no OPTIONS /dev/vda2) - printf "UUID=%s\t/\t%s\t%s\t0 1\n" "${uuidr}" "ext4" "${opts}" > "${imgroot}/etc/fstab" + echo "UUID=$uuidr / ext4 $opts 0 1" > "${imgroot}/etc/fstab" opts=$(findmnt -no OPTIONS /dev/vda1) - printf "UUID=%s\t/boot\t%s\t%s\t0 2\n" "${uuidb}" "ext2" "${opts},noauto" >> "${imgroot}/etc/fstab" + echo "UUID=$uuidb /boot ext2 $opts,noauto 0 2" >> "${imgroot}/etc/fstab" } cleanup() { -- 2.44.1