From ce5f89f08c7c929cd6d9e9b6ee065a83294e5388 Mon Sep 17 00:00:00 2001 From: Awais Belal Date: Thu, 8 Oct 2015 18:50:11 +0500 Subject: [PATCH] initramfs-live-install-efi: drop all automount rules while installing Different auto mount rules reside under /etc/udev/rules.d and can cause trouble while installing on devices like mmc as these get auto mounted and the installer script fails to format them. Signed-off-by: Awais Belal --- init-install-efi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init-install-efi.sh b/init-install-efi.sh index 4759786..3597ab1 100644 --- init-install-efi.sh +++ init-install-efi.sh @@ -113,6 +113,7 @@ device=$TARGET_DEVICE_NAME # rm -f /etc/udev/rules.d/automount.rules rm -f /etc/udev/scripts/mount* +rm -f /etc/udev/rules.d/*auto-mount.rules # # Unmount anything the automounter had mounted -- 1.9.1