Codebase list partman-auto / 9630ead
Update old comment about partman-auto-lvm and $iflabel. Colin Watson 13 years ago
2 changed file(s) with 14 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
0 partman-auto (98) UNRELEASED; urgency=low
1
2 * Update old comment about partman-auto-lvm and $iflabel.
3
4 -- Colin Watson <[email protected]> Wed, 20 Apr 2011 11:09:22 +0100
5
06 partman-auto (97) unstable; urgency=low
17
28 [ Konstantinos Margaritis ]
110110 if [ "$ignore" ] && [ "$(echo $line | grep "$ignore")" ]; then
111111 :
112112 else
113 # Exclude partitions that are only for a different
114 # disk label. The $PWD check avoids problems when
115 # running from partman-auto-lvm, where we aren't in
116 # a subdirectory of $DEVICES while decoding the
117 # recipe; but we do need to perform this check early
118 # so that size calculations work. As a result, for
119 # now, $iflabel will not work when doing automatic
120 # LVM partitioning.
113 # Exclude partitions that are only for a
114 # different disk label. The $PWD check
115 # avoids problems when running from older
116 # versions of partman-auto-lvm, where we
117 # weren't in a subdirectory of $DEVICES
118 # while decoding the recipe; we preserve it
119 # in case of custom code with the same
120 # problem.
121121 iflabel="$(echo $line | sed -n 's/.*\$iflabel{ \([^}]*\) }.*/\1/p')"
122122 if [ "$iflabel" ]; then
123123 if [ "${PWD#$DEVICES/}" != "$PWD" ]; then