Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-28 10:35:05 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-28 10:35:05 -0300
commite03ed816e09cfbc0d7edaaf437c277574bf9104f (patch)
tree907ef11a5239a010150d8d3592419d8959980f7c /archiso/install
parente135003c13aef15abc78562a3ab17fa41c0330cc (diff)
[archiso] Use different logic when archisodevice == cow_device
* Now bootmnt/img_dev is always a ro-mount, and cowspace is first ro-mount then rw-mount. * Fix a "hidden" bug: at the time of test [[ -ef ]], if devices nodes are not ready, such test will fail then archisodevice will mounted ro and when cow_device is mounted to be rw it fails. (I recently suffered this on a machine with slow USB) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install')
-rw-r--r--archiso/install/archiso3
1 files changed, 3 insertions, 0 deletions
diff --git a/archiso/install/archiso b/archiso/install/archiso
index 0bb0d0f..7984c53 100644
--- a/archiso/install/archiso
+++ b/archiso/install/archiso
@@ -14,6 +14,9 @@ build ()
add_file /lib/udev/rules.d/95-dm-notify.rules
add_file /lib/initcpio/udev/11-dm-initramfs.rules /lib/udev/rules.d/11-dm-initramfs.rules
+ # Add an empty fstab to avoid mount warning when -o remount is used (this should go to install/base)
+ : > "$BUILDROOT/etc/fstab"
+
SCRIPT="archiso"
}