From e03ed816e09cfbc0d7edaaf437c277574bf9104f Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 28 Nov 2011 10:35:05 -0300 Subject: [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 --- archiso/install/archiso | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archiso/install') 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" } -- cgit v1.2.3-54-g00ecf