author | harlekin <harlekin> | 2002-08-30 12:07:12 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-30 12:07:12 (UTC) |
commit | 146dfec7bdcac24df009b434d0f4683c53ce7552 (patch) (unidiff) | |
tree | 4478727fe7c974db691387244022c4d79700fbff /mkipks | |
parent | 40bac3f8b24cd8b02c685dae3efa57c6de09452b (diff) | |
download | opie-146dfec7bdcac24df009b434d0f4683c53ce7552.zip opie-146dfec7bdcac24df009b434d0f4683c53ce7552.tar.gz opie-146dfec7bdcac24df009b434d0f4683c53ce7552.tar.bz2 |
first bootsplash attempt
-rwxr-xr-x | mkipks | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,37 +1,42 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | QTE_VERSION=2.3.2 | 3 | QTE_VERSION=2.3.3 |
4 | DEB_VERSION=2.0 | 4 | DEB_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 |
7 | mkdir -p etc/rc2.d | 7 | mkdir -p etc/rc2.d |
8 | rm -f etc/rc2.d/S98opie | 8 | rm -f etc/rc2.d/S98opie |
9 | ln -s ../init.d/opie etc/rc2.d/S98opie | 9 | ln -s ../init.d/opie etc/rc2.d/S98opie |
10 | 10 | ||
11 | rm -f etc/rc2.d/S01bootsplash | ||
12 | ln -s ../init.d/opie etc/rc2.d/S01bootsplash | ||
13 | |||
11 | rm -f ipaq/etc/rc2.d/S96opieatd | 14 | rm -f ipaq/etc/rc2.d/S96opieatd |
12 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd | 15 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd |
13 | 16 | ||
17 | |||
18 | |||
14 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 19 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
15 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 20 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
16 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 21 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
17 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 22 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
18 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 23 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
19 | then | 24 | then |
20 | VERSION_CVS="$(date +%Y%m%d)" | 25 | VERSION_CVS="$(date +%Y%m%d)" |
21 | SUB_VERSION=$VERSION_CVS | 26 | SUB_VERSION=$VERSION_CVS |
22 | else | 27 | else |
23 | VERSION_CVS="" | 28 | VERSION_CVS="" |
24 | fi | 29 | fi |
25 | 30 | ||
26 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT | 31 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
27 | 32 | ||
28 | ARCH=arm | 33 | ARCH=arm |
29 | STRIP=arm-linux-strip | 34 | STRIP=arm-linux-strip |
30 | STRIP_FILES="*ARM*not stripped" | 35 | STRIP_FILES="*ARM*not stripped" |
31 | 36 | ||
32 | TDIR=/tmp/ipk$$ | 37 | TDIR=/tmp/ipk$$ |
33 | DATADIR=$TDIR | 38 | DATADIR=$TDIR |
34 | CTRLDIR=$TDIR/CONTROL | 39 | CTRLDIR=$TDIR/CONTROL |
35 | 40 | ||
36 | IMAGEDIR= | 41 | IMAGEDIR= |
37 | VERB= | 42 | VERB= |