diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-17 19:34:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-17 19:34:26 +0000 |
commit | 6847941451db611feceb7d0f433fc653dede2fd7 (patch) | |
tree | 88a67909907aa331ce39d482e7b5901e2549b056 /tools/drakx-in-chroot | |
parent | 599303b6101b7064ae2428a6655af6646889af21 (diff) | |
download | drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.gz drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.bz2 drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.xz drakx-6847941451db611feceb7d0f433fc653dede2fd7.zip |
allow to use a local rpmsrate
Diffstat (limited to 'tools/drakx-in-chroot')
-rw-r--r-- | tools/drakx-in-chroot | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 3d05ddf22..822076ed9 100644 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -12,6 +12,7 @@ my $LIVE_LOCATION_REL = 'install/stage2/live/'; my $CLP_LOCATION_REL = 'install/stage2/'; my $CLP_FILE_REL = $CLP_LOCATION_REL . 'mdkinst.clp'; my $AUTO_INSTALL_ROOTED = '/tmp/drakx-in-chroot.cfg.pl'; +my $RPMSRATE_ROOTED = '/tmp/rpmsrate'; @ARGV >= 2 or die "usage: drakx-in-chroot <repository> <dir to install to> [options]\n"; @@ -143,6 +144,8 @@ sub copy_auto_install_files() { } elsif ($opt eq 'defcfg' && -f $_) { $defcfg = $_; $ARGV[$::i-1] = $ARGV[$::i] = undef; + } elsif ($opt eq 'rpmsrate' && -f $_) { + cp_f($_, $SLASH_LOCATION . $RPMSRATE_ROOTED); } undef $opt; /^--?(.*)/ and $opt = $1; |