Mageia Bugzilla – Attachment 6388 Details for
Bug 15767
M5RC In a multi HDD system with GPT and MSDos partitioning schemes, the MSdos /swap partition is presented as a system (/) at installation bootloader configuration when installing to the GPT HDD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
skip swap in the list of partitions
15767.diff (text/plain), 799 bytes, created by
Thierry Vignaud
on 2015-04-28 13:00:11 CEST
(
hide
)
Description:
skip swap in the list of partitions
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-04-28 13:00:11 CEST
Size:
799 bytes
patch
obsolete
>diff -up ./any.pm.tv2 ./any.pm >--- ./any.pm.tv2 2015-04-28 06:48:24.040145961 -0400 >+++ ./any.pm 2015-04-28 06:52:09.584838854 -0400 >@@ -492,7 +492,7 @@ sub setupBootloader__entries { > if ($e->{type} eq "image") { > @l = ( > { label => N("Image"), val => \$e->{kernel_or_dev}, list => [ map { "/boot/$_" } bootloader::installed_vmlinuz() ], not_edit => 0 }, >-{ label => N("Root"), val => \$e->{root}, list => [ map { fs::wild_device::from_part('', $_) } @$fstab ], format => sub { $root_descr{$_[0]} } }, >+{ label => N("Root"), val => \$e->{root}, list => [ map { fs::wild_device::from_part('', $_) } grep { !isSwap($_) } @$fstab ], format => sub { $root_descr{$_[0]} } }, > { label => N("Append"), val => \$append }, > if_($e->{xen}, > { label => N("Xen append"), val => \$e->{xen_append} }
diff -up ./any.pm.tv2 ./any.pm --- ./any.pm.tv2 2015-04-28 06:48:24.040145961 -0400 +++ ./any.pm 2015-04-28 06:52:09.584838854 -0400 @@ -492,7 +492,7 @@ sub setupBootloader__entries { if ($e->{type} eq "image") { @l = ( { label => N("Image"), val => \$e->{kernel_or_dev}, list => [ map { "/boot/$_" } bootloader::installed_vmlinuz() ], not_edit => 0 }, -{ label => N("Root"), val => \$e->{root}, list => [ map { fs::wild_device::from_part('', $_) } @$fstab ], format => sub { $root_descr{$_[0]} } }, +{ label => N("Root"), val => \$e->{root}, list => [ map { fs::wild_device::from_part('', $_) } grep { !isSwap($_) } @$fstab ], format => sub { $root_descr{$_[0]} } }, { label => N("Append"), val => \$append }, if_($e->{xen}, { label => N("Xen append"), val => \$e->{xen_append} }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15767
:
6348
|
6349
|
6350
|
6351
|
6386
|
6387
| 6388