-rw-r--r-- | library/opie-bootsplash.control | 2 | ||||
-rwxr-xr-x | mkipks | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/library/opie-bootsplash.control b/library/opie-bootsplash.control index 98d9339..aad3a84 100644 --- a/library/opie-bootsplash.control +++ b/library/opie-bootsplash.control | |||
@@ -1,7 +1,7 @@ | |||
1 | Files: etc/init.d/bootsplash etc/rc2.d/S01bootsplash pics/bootsplash/bootlogo | 1 | Files: etc/init.d/bootsplash etc/rcS.d/S01bootsplash pics/bootsplash/bootlogo |
2 | Priority: optinal | 2 | Priority: optinal |
3 | Section: opie/system | 3 | Section: opie/system |
4 | Maintainer: Project Opie <opie@handhelds.org> | 4 | Maintainer: Project Opie <opie@handhelds.org> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION.2 | 6 | Version: $QPE_VERSION-$SUB_VERSION.2 |
7 | Description: Splash screen aptempt | 7 | Description: Splash screen aptempt |
@@ -1,76 +1,77 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | QTE_VERSION=2.3.3 | 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 | 11 | mkdir -p etc/rcS.d |
12 | ln -s ../init.d/opie etc/rc2.d/S01bootsplash | 12 | rm -f etc/rcS.d/S01bootsplash |
13 | ln -s ../init.d/opie etc/rcS.d/S01bootsplash | ||
13 | 14 | ||
14 | rm -f ipaq/etc/rc2.d/S96opieatd | 15 | rm -f ipaq/etc/rc2.d/S96opieatd |
15 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd | 16 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd |
16 | 17 | ||
17 | 18 | ||
18 | 19 | ||
19 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 20 | VERSION_MAJ=$(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) | 21 | VERSION_MIN=$(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) | 22 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
22 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 23 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
23 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 24 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
24 | then | 25 | then |
25 | VERSION_CVS="$(date +%Y%m%d)" | 26 | VERSION_CVS="$(date +%Y%m%d)" |
26 | SUB_VERSION=$VERSION_CVS | 27 | SUB_VERSION=$VERSION_CVS |
27 | else | 28 | else |
28 | VERSION_CVS="" | 29 | VERSION_CVS="" |
29 | fi | 30 | fi |
30 | 31 | ||
31 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT | 32 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
32 | 33 | ||
33 | ARCH=arm | 34 | ARCH=arm |
34 | STRIP=arm-linux-strip | 35 | STRIP=arm-linux-strip |
35 | STRIP_FILES="*ARM*not stripped" | 36 | STRIP_FILES="*ARM*not stripped" |
36 | 37 | ||
37 | TDIR=/tmp/ipk$$ | 38 | TDIR=/tmp/ipk$$ |
38 | DATADIR=$TDIR | 39 | DATADIR=$TDIR |
39 | CTRLDIR=$TDIR/CONTROL | 40 | CTRLDIR=$TDIR/CONTROL |
40 | 41 | ||
41 | IMAGEDIR= | 42 | IMAGEDIR= |
42 | VERB= | 43 | VERB= |
43 | LIST= | 44 | LIST= |
44 | RPM= | 45 | RPM= |
45 | 46 | ||
46 | while [ $# -ne 0 ] | 47 | while [ $# -ne 0 ] |
47 | do | 48 | do |
48 | case "$1" in | 49 | case "$1" in |
49 | -v) | 50 | -v) |
50 | VERB=1 | 51 | VERB=1 |
51 | echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" | 52 | echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" |
52 | ;; -l) | 53 | ;; -l) |
53 | LIST=1 | 54 | LIST=1 |
54 | ;; -i) | 55 | ;; -i) |
55 | shift | 56 | shift |
56 | IMAGEDIR=$1 | 57 | IMAGEDIR=$1 |
57 | DATADIR=$IMAGEDIR | 58 | DATADIR=$IMAGEDIR |
58 | mkdir -p $IMAGEDIR | 59 | mkdir -p $IMAGEDIR |
59 | ;; -rpm) | 60 | ;; -rpm) |
60 | if [ "$OPIEDIR" != "/opt/Qtopia" ] | 61 | if [ "$OPIEDIR" != "/opt/Qtopia" ] |
61 | then | 62 | then |
62 | echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.' | 63 | echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.' |
63 | sleep 1 | 64 | sleep 1 |
64 | #exit 1 | 65 | #exit 1 |
65 | fi | 66 | fi |
66 | RPM=1 | 67 | RPM=1 |
67 | ;; -arch) | 68 | ;; -arch) |
68 | shift | 69 | shift |
69 | ARCH=$1 | 70 | ARCH=$1 |
70 | STRIP= | 71 | STRIP= |
71 | STRIP_FILES= | 72 | STRIP_FILES= |
72 | ;; /*) | 73 | ;; /*) |
73 | FILES="$FILES $1" | 74 | FILES="$FILES $1" |
74 | ;; *) | 75 | ;; *) |
75 | FILES="$FILES $PWD/$1" | 76 | FILES="$FILES $PWD/$1" |
76 | esac | 77 | esac |