summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
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;