Codebase list partman-auto / 7280884
Don't offer guided partitioning if no disks are detected - cleaner implementation r44105 Frans Pop 17 years ago
3 changed file(s) with 13 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
11
22 . /usr/share/debconf/confmodule
33 . /lib/partman/definitions.sh
4 . /lib/partman/auto-shared.sh
45
56 dev_to_partman () {
67 local dev_name="$1"
2021 done
2122 }
2223
23 # Do not run on S/390
24 if [ "$(udpkg --print-architecture)" = s390 ]; then
24 # Skip if no disks detected and don't run on S/390
25 if [ -z "$(get_auto_disks)" ] || \
26 [ "$(udpkg --print-architecture)" = s390 ]; then
2527 exit 0
2628 fi
2729
00 #!/bin/sh
11
22 . /usr/share/debconf/confmodule
3 . /lib/partman/auto-shared.sh
34
4 # Do not run on S/390
5 if [ "$(udpkg --print-architecture)" = s390 ]; then
6 exit 0
5 # Skip if no disks detected and don't run on S/390
6 if [ -z "$(get_auto_disks)" ] || \
7 [ "$(udpkg --print-architecture)" = s390 ]; then
8 exit 0
79 fi
810
911 db_metaget partman-auto/text/automatically_partition description
1010 same as a backup. All other exit codes are handled (99: retry) or
1111 propagated (anything else) as before.
1212
13 -- Frans Pop <[email protected]> Wed, 10 Jan 2007 17:21:37 +0100
13 [ Frans Pop ]
14 * Don't offer guided partitioning if no disks are detected. Closes: #406325.
15
16 -- Frans Pop <[email protected]> Wed, 10 Jan 2007 18:57:49 +0100
1417
1518 partman-auto (62) unstable; urgency=low
1619