[GRASS-dev] Re: [GRASS GIS] #1272: build weekly binary snapshots for generic 32bit linux

GRASS GIS trac at osgeo.org
Mon Jan 31 23:15:53 EST 2011


#1272: build weekly binary snapshots for generic 32bit linux
-----------------------+----------------------------------------------------
 Reporter:  hamish     |       Owner:  grass-dev@…              
     Type:  task       |      Status:  new                      
 Priority:  normal     |   Milestone:  Website                  
Component:  Packaging  |     Version:  svn-trunk                
 Keywords:             |    Platform:  Linux                    
      Cpu:  x86-32     |  
-----------------------+----------------------------------------------------

Comment(by hamish):

 (replace "lucid" in the steps with debian release used on the server. make
 sure release is uncommented in /etc/schroot/schroot.conf and debootstrap
 release,mirror site are set appropriately)

 {{{
 aptitude install schroot debootstrap

 mkdir -p /var/chroot

 cd /etc/schroot/
 vi schroot.conf

 debootstrap --arch i386 --variant=buildd lucid \
    /var/chroot/lucid http://ucmirror.canterbury.ac.nz/ubuntu

 mv lucid/ lucid_32bit

 cd lucid_32bit/etc/

 cd apt
 mv sources.list sources.list.orig
 cp /etc/apt/sources.list .
 cd

 mount -t proc proc-chroot /var/chroot/lucid_32bit/proc
 mount -t devpts devpts-chroot /var/chroot/lucid_32bit/dev/pts

 chroot /var/chroot/lucid_32bit
 # edit /etc/fstab while in there?

 # copy stuff into the chroot world
 cp ~hamish/.inputrc /var/chroot/lucid_32bit/home/hamish/
 cp -r /usr/local/src/grass/ /var/chroot/lucid_32bit/usr/local/src/

 # copy stuff out of the 32bit chroot back into the native 64bit enviro
 cp /var/chroot/lucid_32bit/home/hamish/bin/program.32bit .
 }}}


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1272#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list