Skip to content
Snippets Groups Projects
Commit c816a33d authored by Gerardo Pozzi's avatar Gerardo Pozzi
Browse files

[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: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent e14b4d64
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment