~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to tools/release/owbuildchroot

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
{
186
186
    # to be on the safe side: add NeuroDebian to all the suites
187
187
    # add the neurodebian repository as well as the eigen3 ppa. It is needed for eigen3, nifti and biosig
188
 
    chroot_do wget -O /etc/apt/sources.list.d/neurodebian.sources.list http://neuro.debian.net/lists/$SUITE.de
 
188
    chroot_do wget -O /etc/apt/sources.list.d/neurodebian.sources.list http://neuro.debian.net/lists/$SUITE.de-md
189
189
    chroot_do apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
190
190
 
191
191
    # handle some special suites
192
192
    # NOTE: I tested only debian sid and ubuntu natty and maverick. Maverick currently has some problem with libopenscenegraph.
193
193
    #       Please add others here if needed
194
194
    case "$SUITE" in
195
 
        oneiric | natty | maverick )
 
195
        quantal | precise | oneiric | natty | maverick )
196
196
            # multiverse and universe needed for several packs
197
197
            echo "deb http://de.archive.ubuntu.com/ubuntu $SUITE restricted universe multiverse" > ./$CHROOTDIR/etc/apt/sources.list.d/universeMultiverse.sources.list
198
198
 
225
225
{
226
226
    # handle some special suites
227
227
    case "$SUITE" in
228
 
        oneiric | natty | maverick | lucid )
 
228
        quantal | precise | oneiric | natty | maverick | lucid )
229
229
            # ubuntu hack: kill this xapian-index stuff. If not done, chroot_umount will fail
230
230
            chroot_do killall -q update-apt-xapian-index | echo
231
231
        ;;
311
311
            chroot_umount
312
312
            exit 1
313
313
        fi
 
314
        # avoid starting services to fail
 
315
        chroot_do ln -sf /bin/true /sbin/initctl
 
316
        if [ $? -ne 0 ]; then
 
317
            echo "  * Failed. Could not use chroot."
 
318
            chroot_umount
 
319
            exit 1
 
320
        fi
314
321
 
315
322
        echo " * Configure proper locale settings."
316
323
        # do locale configuration