Changeset 1470


Ignore:
Timestamp:
May 31, 2007, 2:10:36 AM (12 years ago)
Author:
bruno
Message:

Support of Ubuntu for build process (begining)

Location:
branches/2.2.4/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/tools/DISTROS

    r1287 r1470  
    1919debian_3.1
    2020debian_4.0
     21ubuntu_7.04
    2122gentoo_1.6
    2223slackware_10.2
  • branches/2.2.4/tools/distro-env

    r1236 r1470  
    6464            export dver = "sid"
    6565        fi
     66        if [ -e /etc/lsb-release ]; then
     67            grep -qi ubuntu /etc/lsb-release
     68            if  [ $? -eq 0 ]; then
     69                export ddir="ubuntu"
     70                export dver=`cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -d= -f2`
     71            fi
     72        fi
    6673    elif [ -e /etc/motd ]; then
    6774        head -1 /etc/motd | grep -q FreeBSD
     
    8289# Generate all other parameters
    8390#
    84 if [ $ddir = "debian" ]; then
     91if [ $ddir = "debian" -o $ddir = "ubuntu" ]; then
    8592    dfam="debian"
    8693    dtype="deb"
    87     suf=".${dfam}${dver}"
     94    suf=".${ddir}${dver}"
    8895elif [ $ddir = "gentoo" ]; then
    8996    dfam="gentoo"
  • branches/2.2.4/tools/mkqemu

    r899 r1470  
    3232     qemucmd=$qemucmd32
    3333else
    34      qemucmd=$qemucmd64
     34     qemucmd="$qemucmd64 -no-kqemu"
    3535fi
    3636$qemucmd -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
Note: See TracChangeset for help on using the changeset viewer.