diff options
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 | c816a33d0ef1e1dbb692fef9e374e2cdeeaef53a (patch) | |
tree | 430d1e01bb93bfe27dd8d0f0163bee8eb2d63f4d | |
parent | e14b4d6423752db1b4a4250b81bba23fd0731106 (diff) | |
download | archiso32-c816a33d0ef1e1dbb692fef9e374e2cdeeaef53a.tar.xz |
[archiso] Canonicalize path to dm-devices in used_block_devices
All devices listed at used_block_devices, now are canonicalized.
Fix FS#29538
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rw-r--r-- | archiso/hooks/archiso | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |