summaryrefslogtreecommitdiff
path: root/archiso/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/hooks')
-rw-r--r--archiso/hooks/archiso2
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
}