Changeset 1603 in ProjectBuilder for devel/rpmbootstrap/bin/rpmbootstrap


Ignore:
Timestamp:
May 27, 2012, 1:49:49 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • pbtest now uses debian-6.0 has the correct distro name and points to mandriva 2011.0
  • pbtest now first umounts potential remaining /proc FS left from previous run and has a build dep fo deb on gcc
  • pb: removes a useless chown in it which was always failing
  • Fix errors in mageia deps
  • Fix typo in Base.pm
  • rpmbootstrap needs aaa_base for VE seyup with zypper, in order to add passwd file e.g.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/rpmbootstrap/bin/rpmbootstrap

    r1595 r1603  
    504504    }
    505505    $minipkglist = "ldconfig yum passwd vim-minimal dhclient authconfig";
    506     # TODO
    507     # $minipkglist = join(" ", "ldconfig yum passwd vim-minimal dhclient authconfig", @installed_packages);
    508506} elsif ($pbos->{'install'} =~ /zypper/) {
    509507    pb_mkdir_p("$vepath/etc/zypp/repos.d");
     
    514512        pb_system("chroot $vepath /bin/bash -c \"yes | /usr/bin/zypper sa $baseurl $pbos->{'name'}-$pbos->{'version'}\"","Bootstrapping Zypper");
    515513    } else {
    516         pb_system("chroot $vepath /bin/bash -c \"/usr/bin/zypper rr $pbos->{'name'}-$pbos->{'version'}\"","Bootstrapping Zypper","mayfail"); # don't care if remove fails if add succeeds.
     514        # don't care if remove fails if add succeeds.
     515        pb_system("chroot $vepath /bin/bash -c \"/usr/bin/zypper rr $pbos->{'name'}-$pbos->{'version'}\"","Bootstrapping Zypper","mayfail");
    517516        pb_system("chroot $vepath /bin/bash -c \"/usr/bin/zypper ar $baseurl $pbos->{'name'}-$pbos->{'version'}\"","Bootstrapping Zypper");
    518517    }
     
    526525#EOF
    527526    close(REPO);
    528     $minipkglist = "zypper";
     527    $minipkglist = "zypper aaa_base";
    529528    # TODO: Re-installing packages missing and necessary on opensuse 11.4 to get /etc/passwd created.
    530     # $minipkglist = join(" ", "zypper", @installed_packages);
    531529} elsif ($pbos->{'install'} =~ /urpmi/) {
    532530    # Setup the repo
Note: See TracChangeset for help on using the changeset viewer.