summaryrefslogtreecommitdiff
path: root/mkipks
authorharlekin <harlekin>2002-08-30 12:07:12 (UTC)
committer harlekin <harlekin>2002-08-30 12:07:12 (UTC)
commit146dfec7bdcac24df009b434d0f4683c53ce7552 (patch) (unidiff)
tree4478727fe7c974db691387244022c4d79700fbff /mkipks
parent40bac3f8b24cd8b02c685dae3efa57c6de09452b (diff)
downloadopie-146dfec7bdcac24df009b434d0f4683c53ce7552.zip
opie-146dfec7bdcac24df009b434d0f4683c53ce7552.tar.gz
opie-146dfec7bdcac24df009b434d0f4683c53ce7552.tar.bz2
first bootsplash attempt
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index 26c72b9..1841bc9 100755
--- a/mkipks
+++ b/mkipks
@@ -1,61 +1,66 @@
1#!/bin/sh 1#!/bin/sh
2 2
3QTE_VERSION=2.3.2 3QTE_VERSION=2.3.3
4DEB_VERSION=2.0 4DEB_VERSION=2.0
5 5
6# Have to do this here, since CVS can't store symlinks 6# Have to do this here, since CVS can't store symlinks
7mkdir -p etc/rc2.d 7mkdir -p etc/rc2.d
8rm -f etc/rc2.d/S98opie 8rm -f etc/rc2.d/S98opie
9ln -s ../init.d/opie etc/rc2.d/S98opie 9ln -s ../init.d/opie etc/rc2.d/S98opie
10 10
11rm -f etc/rc2.d/S01bootsplash
12ln -s ../init.d/opie etc/rc2.d/S01bootsplash
13
11rm -f ipaq/etc/rc2.d/S96opieatd 14rm -f ipaq/etc/rc2.d/S96opieatd
12ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd 15ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd
13 16
17
18
14VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 19VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
15VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 20VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
16VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) 21VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
17SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) 22SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
18if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h 23if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
19then 24then
20 VERSION_CVS="$(date +%Y%m%d)" 25 VERSION_CVS="$(date +%Y%m%d)"
21 SUB_VERSION=$VERSION_CVS 26 SUB_VERSION=$VERSION_CVS
22else 27else
23 VERSION_CVS="" 28 VERSION_CVS=""
24fi 29fi
25 30
26QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT 31QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
27 32
28ARCH=arm 33ARCH=arm
29STRIP=arm-linux-strip 34STRIP=arm-linux-strip
30STRIP_FILES="*ARM*not stripped" 35STRIP_FILES="*ARM*not stripped"
31 36
32TDIR=/tmp/ipk$$ 37TDIR=/tmp/ipk$$
33DATADIR=$TDIR 38DATADIR=$TDIR
34CTRLDIR=$TDIR/CONTROL 39CTRLDIR=$TDIR/CONTROL
35 40
36IMAGEDIR= 41IMAGEDIR=
37VERB= 42VERB=
38LIST= 43LIST=
39RPM= 44RPM=
40 45
41while [ $# -ne 0 ] 46while [ $# -ne 0 ]
42do 47do
43 case "$1" in 48 case "$1" in
44 -v) 49 -v)
45 VERB=1 50 VERB=1
46 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" 51 echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS"
47 ;; -l) 52 ;; -l)
48 LIST=1 53 LIST=1
49 ;; -i) 54 ;; -i)
50 shift 55 shift
51 IMAGEDIR=$1 56 IMAGEDIR=$1
52 DATADIR=$IMAGEDIR 57 DATADIR=$IMAGEDIR
53 mkdir -p $IMAGEDIR 58 mkdir -p $IMAGEDIR
54 ;; -rpm) 59 ;; -rpm)
55 if [ "$OPIEDIR" != "/opt/Qtopia" ] 60 if [ "$OPIEDIR" != "/opt/Qtopia" ]
56 then 61 then
57 echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.' 62 echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.'
58 sleep 1 63 sleep 1
59 #exit 1 64 #exit 1
60 fi 65 fi
61 RPM=1 66 RPM=1