Changeset 659 in MondoRescue for branches/stable/tools/build2pkg


Ignore:
Timestamp:
Jun 9, 2006, 10:33:24 AM (18 years ago)
Author:
bcornec
Message:

changelog are now generated from mindi's and mondo's main ChangeLog files
new tool to create automatically announces for new version-tag
news.shtml and latest-news.html are now generated from a DB of announce (SQLite)
announce DB added (SQLite v3)
Build process improved for Debian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r599 r659  
    6767        pkg="$pkg $pkg1"
    6868
    69         log=/tmp/$p-rpm.log
     69        log=$TMP/$p-rpm.log
    7070
    7171        if [ "$dfam" = "mandriva" ]; then
     
    9090        cd ..
    9191    elif [  _"$dtype" = _"ebuild" ]; then
    92         log=/tmp/$p-gentoo.log
     92        log=$TMP/$p-gentoo.log
    9393        ln -sf $src .
    9494        tar xfz $src $pv/distributions/${ddir}-$dver/$p-${VER}-r$TAG.ebuild
     
    124124        fi
    125125    elif [  _"$dtype" = _"deb" ]; then
    126         log=/tmp/$p-deb.log
     126        log=$TMP/$p-deb.log
    127127        cd $TOPBUILDDIR
    128128        tar xfz $src
    129129        cd ${pv}*
    130         ln -s distributions/debian debian
    131         # update debian/changelog
    132         pkg-buildpackage -us -uc -rfakeroot
     130        # point to the right debian conf
     131        ln -s distributions/${ddir}-$dver debian
     132        dpkg-buildpackage -us -uc -rfakeroot
    133133        # Et voila !
    134134    else
     
    138138echo "Packages handled : $pkg"
    139139
     140rm -rf $TMP
     141
    140142if [ $status = 0 ]; then
    141143    if [  _"$dtype" = _"rpm" ]; then
Note: See TracChangeset for help on using the changeset viewer.