index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-04-19 11:44:29 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-04-19 12:06:07 -0300 |
commit | b48cdc5f3a9b0f7de459dc863eac93836c69cc52 (patch) | |
tree | 8f2b908316376ecb9be3b9dc865060cb8505a220 /archiso/hooks | |
parent | af6c34a1c10b2cc6bf1975fb4d50de18ad86410e (diff) |
-rw-r--r-- | archiso/hooks/archiso | 2 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index df5bb10..9445498 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -34,7 +34,7 @@ _mnt_fs() { echo "0 ${ro_dev_size} snapshot ${ro_dev} ${rw_dev} ${cow_persistent} 8" | dmsetup create ${dm_snap_name} _mnt_dev "/dev/mapper/${dm_snap_name}" "${newroot}${mnt}" "-w" - echo /dev/mapper/${dm_snap_name} >> /run/archiso/used_block_devices + echo $(readlink -f /dev/mapper/${dm_snap_name}) >> /run/archiso/used_block_devices echo "/dev/mapper/${dm_snap_name} ${mnt} auto defaults 0 0" >> ${newroot}/etc/fstab } |