Changeset 1894 in ProjectBuilder for devel/rpmbootstrap
- Timestamp:
- Sep 30, 2014, 10:07:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/rpmbootstrap/bin/rpmbootstrap
r1892 r1894 550 550 pb_system("chroot $vepath $bash -c \"urpmi.addmedia --distrib $baseurl\"","Bootstrapping URPMI"); 551 551 # TODO here too ? 552 $minipkglist = "ldconfig urpmi passwd vim-minimal dhcp-client";552 $minipkglist = "ldconfig urpmi bash passwd vim-minimal dhcp-client"; 553 553 } elsif ($pbos->{'install'} =~ /\/rpm/) { 554 554 opendir(CDIR,$cachedir) || die "Unable to open directory $cachedir: $!"; 555 555 foreach my $p (@installed_packages) { 556 556 foreach my $f (readdir(CDIR)) { 557 # find an rpm package ref name-ver-tag.arch.rpm558 next if ($f =~ /^\./);557 # find an rpm package ref name-ver-tag.arch.rpm 558 next if ($f =~ /^\./); 559 559 if ($f =~ /^$p-([^-]+)-([^-]+)\.(noarch|$parch)\.rpm$/) { 560 560 # Copy it to the chroot and reference it
Note:
See TracChangeset
for help on using the changeset viewer.