summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2016-04-29 10:43:20 +0200
committerHolger Paradies <retabell@gmx.de>2016-04-29 14:00:43 +0200
commit2f556f8e9f3c15d5a68d7d2ff80b084418bfcf34 (patch)
tree8bc631f26c9ca2336e489932d3c0b547805ce7ee
parent1d7bf3cf4cb1fe00d496cf5b457332b5cc3255f2 (diff)
downloadacritoxinstaller-2f556f8e9f3c15d5a68d7d2ff80b084418bfcf34.zip
acritoxinstaller-2f556f8e9f3c15d5a68d7d2ff80b084418bfcf34.tar.gz
add device name for swap partitions
-rw-r--r--backend/modules/install_main1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main
index 7293fd0..91f8b4c 100644
--- a/backend/modules/install_main
+++ b/backend/modules/install_main
@@ -138,6 +138,7 @@ EOF
fi
[ -z "$UUID" ] && continue # should never happen...
+ echo "# $device" >> $TARGET/etc/fstab
printf "%-15s %-15s %-7s %-15s %-7s %s\n" "UUID=$UUID" "none" "swap" "sw" "0" "0" >> $TARGET/etc/fstab
done < <(list_swap_partitions)