Codebase list partman-auto / 19ab879
Skip installer disk when using isohybrid ISO on USB stick. Closes: #607536 Christian Perrier 10 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 partman-auto (112) UNRELEASED; urgency=low
1
2 * Skip installer disk when using
3 isohybrid ISO on USB stick. Closes: #607536
4
5 -- Christian Perrier <[email protected]> Wed, 25 Sep 2013 07:28:55 +0200
6
07 partman-auto (111) unstable; urgency=low
18
29 [ Updated translations ]
218218 # Skip software RAID (mdadm) devices (/dev/md/X and /dev/mdX)
219219 $(echo "$device" | grep -Eq "/dev/md/?[0-9]*$") && continue
220220
221 # Skip installer disk
222 $(mount | grep -qF "$device on /cdrom ") && continue
223
221224 # Skip device mapper devices (/dev/mapper/),
222225 # except for dmraid or multipath devices
223226 if echo $device | grep -q "^/dev/mapper/"; then