Ignore:
Timestamp:
Apr 15, 2007, 11:07:54 PM (13 years ago)
Author:
bruno
Message:
  • build2pkg now install pkgs at the end
  • mkisof and cdrecord now should be part of each VM
  • pkg2test launches mondoarchive in a VM to create a test backup env
  • test2qemu tests the restore of the previous backup inside an empty VM
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r1263 r1306  
    191191
    192192if [ $status = 0 ]; then
     193    echo "Installing packages as root"
    193194    if [  _"$dtype" = _"rpm" ]; then
    194         echo "Installing RPMS as root"
    195         sudo $opt rpm -Uvh --force $pkg
     195        sudo rpm -Uvh --force $pkg
     196    elif [  _"$dtype" = _"ebuild" ]; then
     197        sudo emerge $pkg
     198    elif [  _"$dtype" = _"deb" ]; then
     199        sudo dpkg -i $pkg
     200    elif [  _"$dtype" = _"port" ]; then
     201        sudo echo empty
     202    elif [  _"$dfam" = _"slackware" ]; then
     203        sudo installpkg $pkg
     204    else
     205        echo "No method to install those packages"
    196206    fi
    197207fi
Note: See TracChangeset for help on using the changeset viewer.