Changeset 985 in MondoRescue


Ignore:
Timestamp:
Nov 26, 2006, 10:55:17 PM (18 years ago)
Author:
Bruno Cornec
Message:

Possibility to build only some packages with qemu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2qemu

    r924 r985  
    1111#fi
    1212
    13 # Syntax: build2qemu [version-tag [vm1]..|vmx]]
     13# Syntax: build2qemu [version-tag [--pkg "pkg1...pkgn"] [vm1]..|vmx]]
    1414
    1515(
     
    3636echo "Working on ${VER}-$TAG"
    3737
     38c=""
     39if [ _"$1" == _"--pkg" ]; then
     40    shift
     41    c=$1
     42    shift
     43fi
     44
    3845if [ _"$1" == _"" ]; then
    3946    export VMS=`cat ${TOOLHOME}/DISTROS`
     
    5259export TOOLHOME=$TOOLHOME
    5360
    54 $TOOLHOME/build2pkg $LAST < /dev/null
    55 $TOOLHOME/pkg2ftp $LAST
     61$TOOLHOME/build2pkg $LAST $c < /dev/null
     62$TOOLHOME/pkg2ftp $LAST $c
    5663EOF
    5764chmod 755 $MONDOTMP/mkmondo
Note: See TracChangeset for help on using the changeset viewer.