diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-28 10:35:05 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-28 10:35:05 -0300 |
commit | e03ed816e09cfbc0d7edaaf437c277574bf9104f (patch) | |
tree | 907ef11a5239a010150d8d3592419d8959980f7c /archiso/install | |
parent | e135003c13aef15abc78562a3ab17fa41c0330cc (diff) | |
download | archiso32-e03ed816e09cfbc0d7edaaf437c277574bf9104f.tar.xz |
[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/archiso | 3 |
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" } |