index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-06 19:12:04 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-06 19:12:04 -0300 |
commit | 380a33f308a3b84a73ee2e6e8394e13334a1f4cb (patch) | |
tree | 38cfaff94f92a68681e8b22074d92f16783010cd /archiso | |
parent | dee88bdd23a0fd7a7f6db74ec54497904140d6c9 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 2 | ||||
-rw-r--r-- | archiso/hooks/archiso_early | 2 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 73f4df9..c1821d4 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -89,7 +89,7 @@ archiso_mount_handler() { launch_interactive_shell done - FSTYPE=$(blkid -o value -s TYPE ${archisodevice} 2> /dev/null) + FSTYPE=$(blkid -o value -s TYPE -p ${archisodevice} 2> /dev/null) if [ -n "${FSTYPE}" ]; then if mount -r -t "${FSTYPE}" ${archisodevice} /bootmnt > /dev/null 2>&1; then if [ -e "${isomounts}" ]; then diff --git a/archiso/hooks/archiso_early b/archiso/hooks/archiso_early index edd554b..465e105 100644 --- a/archiso/hooks/archiso_early +++ b/archiso/hooks/archiso_early @@ -2,7 +2,7 @@ run_hook () { if [ -n "${archisolabel}" ]; then - echo "ACTION==\"add|change\", SUBSYSTEM==\"block\", IMPORT{program}=\"/sbin/blkid -o udev \$tempnode\"" > /lib/udev/rules.d/00-archiso-device.rules + echo "ACTION==\"add|change\", SUBSYSTEM==\"block\", IMPORT{program}=\"/sbin/blkid -o udev -p \$tempnode\"" > /lib/udev/rules.d/00-archiso-device.rules echo "ENV{ID_FS_LABEL_ENC}==\"${archisolabel}\", SYMLINK+=\"archiso\"" >> /lib/udev/rules.d/00-archiso-device.rules fi } |