Delete fstab.script from SL-Micro test build

This was only needed when /var was an extra partition, but
it's a volume with copy-on-write disabled for some time
This commit is contained in:
Marcus Schäfer 2025-05-12 09:13:41 +02:00
parent f4d227070b
commit 8d9986e2e5
No known key found for this signature in database
GPG Key ID: A16C1128698C8CAC

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -eux
/usr/sbin/setup-fstab-for-overlayfs
# If /var is on a different partition than /...
if [ "$(findmnt -snT / -o SOURCE)" != "$(findmnt -snT /var -o SOURCE)" ]; then
# ... set options for autoexpanding /var
gawk -i inplace '$2 == "/var" { $4 = $4",x-growpart.grow,x-systemd.growfs" } { print $0 }' /etc/fstab
fi