From fc9a01e713df022c5b51222d95ed635d1b6f8f30 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 16 Mar 2010 00:36:54 -0300 Subject: Remove archiso_early hook, use /dev/disk/by-label/${archisolabel} instead. Takes the advantage of already symlinks created on /dev/disk/by-label/ by 60-persistent-storage.rules add by udev hook. Tested on: * Real machine as CD-ROM and USB key drive. * KVM as CD-ROM and DISK (for both modes, in combination with IDE and SCSI) * VirtualBox as IDE CD-ROM. IMPORTANT note: Since isohybrid is a hack, if more partitions are added to USB key drive, filesystem on these partitions MUST have LABEL, otherwise USB key will fail to boot. Anyway there is an option archisodevice=, to force and specific device where live-media reside. (Maybe isohybrid will change the hack method used in a future) More info at: http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000890.html http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000913.html Signed-off-by: Gerardo Exequiel Pozzi --- archiso/install/archiso | 6 ++++++ archiso/install/archiso_early | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 archiso/install/archiso_early (limited to 'archiso/install') diff --git a/archiso/install/archiso b/archiso/install/archiso index d01ab25..ee51da7 100644 --- a/archiso/install/archiso +++ b/archiso/install/archiso @@ -12,7 +12,13 @@ install () add_dir /tmpfs add_dir /tmpfs.sqfs add_dir /bootmnt + add_device /dev/loop0 b 7 0 + + add_binary /lib/udev/cdrom_id + + add_file /lib/udev/rules.d/60-cdrom_id.rules + SCRIPT="archiso" } diff --git a/archiso/install/archiso_early b/archiso/install/archiso_early deleted file mode 100644 index 818fc7b..0000000 --- a/archiso/install/archiso_early +++ /dev/null @@ -1,9 +0,0 @@ -install () -{ - MODULES="" - BINARIES="" - FILES="" - SCRIPT="archiso_early" -} - -# vim:ft=sh:ts=4:sw=4:et: -- cgit v1.2.3-54-g00ecf