Changeset 530 in MondoRescue for branches/stable/tools/mkdeb


Ignore:
Timestamp:
May 8, 2006, 5:31:14 PM (18 years ago)
Author:
bcornec
Message:

Build process reviewed once more :
gentoo integration
slackware integration
mkqemu should only work with tar files, and not SVN (ease VM build and time in build process)
To be continued

DOES NOT WORK AT THE MOMENT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/mkdeb

    r464 r530  
    6060cd ${TOPDIR}/SPECS
    6161status=0
    62 if [ "`echo $c | grep kernel`" != "" ]; then
    63     echo "Generating mindi-kernel RPMS"
    64     log=/tmp/mindi-kernel-rpm.log
    65     rpmbuild -ba mindi-kernel.spec 2> $log 1> $log
    66     if [ $? != 0 ]; then
    67         cat $log
    68         status=-1
    69     fi
    70 fi
    71 if [ "`echo $c | grep -v kernel | grep mindi`" != "" ]; then
    72     echo "Generating mindi RPMS"
    73     log=/tmp/mindi-rpm.log
    74     rpmbuild -ba mindi.spec 2> $log 1> $log
    75     if [ $? != 0 ]; then
    76         cat $log
    77         status=-1
    78     fi
    79 fi
    80 if [ "`echo $c | grep mondo`" != "" ]; then
    81     echo "Generating mondo RPMS"
    82     log=/tmp/mondo-rpm.log
    83     rpmbuild -ba mondo.spec 2> $log 1> $log
     62for p in "$c"; do
     63    echo "Generating $p deb"
     64    log=/tmp/$p-deb.log
     65    #rpmbuild -ba $p.spec 2> $log 1> $log
    8466    if [ $? != 0 ]; then
    8567        cat $log
     
    8870fi
    8971if [ $status = 0 ]; then
    90     echo "Installing RPMS as root ($pkg)"
     72    echo "Installing deb as root ($pkg)"
    9173    su - -c "$opt rpm -Uvh --force $pkg"
    9274fi
Note: See TracChangeset for help on using the changeset viewer.