diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-28 14:20:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-28 14:20:20 +0000 |
commit | 493c14203ebf0038dde2f258c046c7c19b9b7b86 (patch) | |
tree | aabad5c71e8c3553242fbcb7e74d5b6fa68ed1b8 /live/One/2006.0 | |
parent | b16fcffa148ae3fbc5bccb3268a9abf1ab2e20c7 (diff) | |
download | drakx-493c14203ebf0038dde2f258c046c7c19b9b7b86.tar drakx-493c14203ebf0038dde2f258c046c7c19b9b7b86.tar.gz drakx-493c14203ebf0038dde2f258c046c7c19b9b7b86.tar.bz2 drakx-493c14203ebf0038dde2f258c046c7c19b9b7b86.tar.xz drakx-493c14203ebf0038dde2f258c046c7c19b9b7b86.zip |
patch rpmdrake to be able to add base distro media (#21307)
Diffstat (limited to 'live/One/2006.0')
-rw-r--r-- | live/One/2006.0/config/live.cfg | 1 | ||||
-rw-r--r-- | live/One/2006.0/patches/rpmdrake.base.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/live/One/2006.0/config/live.cfg b/live/One/2006.0/config/live.cfg index df76d3280..0b877ab61 100644 --- a/live/One/2006.0/config/live.cfg +++ b/live/One/2006.0/config/live.cfg @@ -20,6 +20,7 @@ my $l = { patches => [ 'patches/halt.loopfs.patch', 'patches/netfs.loopfs.patch', + 'patches/rpmdrake.base.patch', ], rpms => [ 'rpms/unionfs-kernel-2.6.12-17mdk-i586-up-1GB-1.1.1.1.20060117.1mdk-1mdk.i586.rpm', diff --git a/live/One/2006.0/patches/rpmdrake.base.patch b/live/One/2006.0/patches/rpmdrake.base.patch new file mode 100644 index 000000000..c10fc48af --- /dev/null +++ b/live/One/2006.0/patches/rpmdrake.base.patch @@ -0,0 +1,11 @@ +--- usr/lib/perl5/vendor_perl/5.8.7/rpmdrake.pm.base 2005-09-12 06:09:30.000000000 -0400 ++++ usr/lib/perl5/vendor_perl/5.8.7/rpmdrake.pm 2006-02-27 11:08:58.000000000 -0500 +@@ -456,7 +456,7 @@ + return 'official' if $want_base_distro && $mandrake_release =~ /official|limited/i; + return 'updates' if $mandrake_release !~ /community/i; + (my $v) = split / /, cat_('/etc/version'); +- return $v =~ /\.0$/ ? 'community' : 'updates'; ++ return $want_base || $v =~ /\.0$/ ? 'community' : 'updates'; + } + + sub compat_arch_for_updates($) { |