summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-28 15:31:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-28 15:31:57 +0000
commit90f8406ba21657b75f123e483b0cea7724cb0d8d (patch)
tree2b7b1b40eb841c8d8e5ff5cb298ba9ee501c0b1c /perl-install/install
parentbc7f2842f5bd9fb4a1bb6058ae99ee3fe284d5a5 (diff)
downloaddrakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.gz
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.bz2
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.xz
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.zip
- bundle /etc/rpm/platform for rpm 4.4.8
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/pkgs.pm6
-rw-r--r--perl-install/install/share/list.xml1
-rw-r--r--perl-install/install/share/symlinks1
4 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e3f03689c..85e47fc65 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- bundle /etc/rpm/platform for rpm 4.4.8
- use modularized ide drivers and configure ide-controller in modprobe.conf
- auto_install:
o allow "automatic=met:http,ser:server,dir:/pub/dir
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index f7d1374ec..1d2f82ff3 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -2,6 +2,12 @@ package install::pkgs; # $Id$
use strict;
+BEGIN {
+ # needed before "use URPM"
+ mkdir '/etc/rpm';
+ symlink '/tmp/stage2/etc/rpm/platform', '/etc/rpm/platform';
+}
+
use URPM;
use URPM::Resolve;
use URPM::Signature;
diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml
index e5ef465e5..df2348ba4 100644
--- a/perl-install/install/share/list.xml
+++ b/perl-install/install/share/list.xml
@@ -116,6 +116,7 @@
/etc/mke2fs.conf
/etc/fonts/fonts.conf
/etc/protocols
+ /etc/rpm/platform
/usr/LIB/xserver/SecurityPolicy
/etc/pango/ARCH/pango.modules
/usr/LIB/gtk-2.0/*/loaders/libpixbufloader-png.so
diff --git a/perl-install/install/share/symlinks b/perl-install/install/share/symlinks
index 07f969a06..90591c482 100644
--- a/perl-install/install/share/symlinks
+++ b/perl-install/install/share/symlinks
@@ -4,6 +4,7 @@
/etc/services
/etc/group
/etc/passwd
+/etc/rpm/platform
/etc/termcap
/lib
/lib64