Bug#261008: installation-reports: Partman with other OS goes loop around swap control
At Fri, 23 Jul 2004 17:04:26 +0900 (JST),
Kenshi Muto wrote:
> Package: installation-reports
> Severity: important
> Version: 20040722 sid_d-i
>
> I tried today's image, and found a problem around swap control.
> When I chose "Finish partiioning and write changes to disk" and "Yes",
> it backs partitioner screen again.
> I don't know what's happen (other virtual terminal doesn't show
> anything error), but I noticed it was succeeded when I removed swap
> partition or changed it to other filesystem type. It looks something
> wrong around swap partition handling.
This is from commit.d/parted, in partman.
Unfortunately following r18111 change caused a problem.
-----------------------------------------------
--- commit.d/parted (revision 18110)
+++ commit.d/parted (revision 18111)
@@ -2,9 +2,11 @@
. /lib/partman/definitions.sh
+disable_swap
for dev in $DEVICES/*; do
[ -d "$dev" ] || continue
cd $dev
open_dialog COMMIT
close_dialog
done
+enable_swap
-----------------------------------------------
When I comment out disable_swap and enable_swap, it works.
But as I know this change is needed for small memory installation... Hmm.
Thanks,
--
Kenshi Muto
kmuto@debian.org
Reply to: