summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
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/pkgs.pm
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/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm6
1 files changed, 6 insertions, 0 deletions
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;