~ubuntu-branches/ubuntu/oneiric/oss4/oneiric-proposed

« back to all changes in this revision

Viewing changes to setup/Linux/mktarball.sh

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Rivera
  • Date: 2011-06-16 20:37:48 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110616203748-jbrxik6ql33z54co
Tags: 4.2-build2004-1ubuntu1
* Merge from Debian unstable.
  - Supports our current kernel (LP: #746048)
  Remaining changes:
  - debian/oss4-dkms.dkms.in: s/source/build/ in Kernel headers paths.
* ld-as-needed.patch: Re-order CC arguments to enable building with ld
  --as-needed (LP: #770972)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. ./.directories
 
4
 
 
5
VERSION=`sh showversion.sh`
 
6
RELEASE=`cat buildid.dat`
 
7
OSSNAME=oss-linux
 
8
PKGNAME=$OSSNAME-$VERSION-$RELEASE-`uname -m`
 
9
 
 
10
echo building $PKGNAME.tar.bz2
 
11
#cp ./setup/Linux/installoss.sh prototype
 
12
cp ./setup/Linux/removeoss.sh prototype/$OSSLIBDIR/scripts
 
13
(cd prototype; find . -type f -print) > prototype/$OSSLIBDIR/MANIFEST
 
14
(cd prototype; tar cfj /tmp/$PKGNAME.tar.bz2 . )
 
15
mv /tmp/$PKGNAME.tar.bz2 .
 
16
 
 
17
if test -f 4front-private/export_package.sh
 
18
then
 
19
  sh 4front-private/export_package.sh $PKGNAME.tar.bz2 . `sh showversion.sh` /tmp `uname -m`-26
 
20
fi
 
21
 
 
22
exit 0