diff options
-rwxr-xr-x | rescue/tree/etc/oem | 11 | ||||
-rwxr-xr-x | tools/oem-prepare | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index b11109d1b..f6eef0722 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -123,7 +123,7 @@ open F, "/cdrom/VERSION" or die "no installation cdrom found on $cd"; while (<F>) { /[\s-]fr/ and $options{lang} = 'fr'; /\[lang[=:]([^]]*)\]/ and $options{lang} = $1; - /\[server\]/ and $options{server} = ''; + /[\[\-]server[\]\-]/ and $options{server} = ''; /\[boot_entries[=:]([^]]*)\]/ and $options{boot_entries} = $1; /\[ext2\]/ and $options{fs} = "ext2"; /\[ext3\]/ and $options{fs} = "ext3"; @@ -727,15 +727,6 @@ sub select_packages { } } - #- special packages that are to be removed always... BEWARE THIS IS A HACK !!! -# foreach (qw(gmc gcc3.0 gcc3.0-c++ gcc3.0-cpp libstdc++3.0 libstdc++3.0-devel)) { -# my $pkg = pkgs::packageByName($o->{packages}, $_); -# if ($pkg) { -# delete $pkg->{closure}; -# delete $pkg->{selected}; -# } -# } - $o->{packages}; } diff --git a/tools/oem-prepare b/tools/oem-prepare index c0448a6c8..3c0b09a86 100755 --- a/tools/oem-prepare +++ b/tools/oem-prepare @@ -9,7 +9,7 @@ open F, "$dir/VERSION" or die "no installation found on $dir"; while (<F>) { /[\s-]fr/ and $lang = 'fr'; /\[lang[=:]([^]]*)\]/ and $lang = $1; - /\[server\]/ and $options{server} = ''; + /[\[\-]server[\]\-]/ and $options{server} = ''; } close F; |