Changeset 1859


Ignore:
Timestamp:
Dec 19, 2008, 11:38:02 PM (16 years ago)
Author:
price
Message:

invirt-build-release: handle amd64 and i386

Location:
trunk/packages/invirt-dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/changelog

    r1857 r1859  
    22
    33  * add i386 to apt repo
    4 
    5  -- Greg Price <price@mit.edu>  Fri, 19 Dec 2008 22:35:57 -0500
     4  * extend invirt-build-release to handle amd64 + i386
     5
     6 -- Greg Price <price@mit.edu>  Fri, 19 Dec 2008 23:37:02 -0500
    67
    78invirt-dev (0.0.10) unstable; urgency=low
  • trunk/packages/invirt-dev/invirt-build-release

    r1671 r1859  
    1515    eval  `perl '-F:\s+' -lane 'print  $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \
    1616        <(dpkg-parsechangelog)`
    17    
     17    eval $(perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Binary|Architecture/' <"../${Source}_${Version}.dsc")
     18
    1819    dpkg-buildpackage -us -uc -rfakeroot -S
    1920    cd ..
    20     sbuild -A -d hardy-amd64 "${Source}_${Version}.dsc"
    21    
     21    case $Architecture in
     22      all)
     23        sbuild -A -d hardy "${Source}_${Version}.dsc";;
     24      any)
     25        sbuild -d hardy-amd64 "${Source}_${Version}.dsc"
     26        sbuild -d hardy-i386  "${Source}_${Version}.dsc";;
     27      *)
     28        echo "invirt-build-release: architecture '$Architecture' not 'all' or 'any'" >&2
     29        exit 1
     30    esac
     31
    2232    if ! svn ls $svnuri/package_tags/$Source >/dev/null 2>&1; then
    2333        svn mkdir $svnuri/package_tags/$Source \
Note: See TracChangeset for help on using the changeset viewer.