summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-30 12:19:13 (UTC)
committer harlekin <harlekin>2002-08-30 12:19:13 (UTC)
commit56640f56c2c0a5191a47927d48dea1e7df98c985 (patch) (unidiff)
tree05f65b835e99f629f3658672cfdbf7f023aa41b7
parent73ccaa41947cd22902b96c18f3b96a6f9f3e565c (diff)
downloadopie-56640f56c2c0a5191a47927d48dea1e7df98c985.zip
opie-56640f56c2c0a5191a47927d48dea1e7df98c985.tar.gz
opie-56640f56c2c0a5191a47927d48dea1e7df98c985.tar.bz2
make it earlier in boot process
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/opie-bootsplash.control2
-rwxr-xr-xmkipks5
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 @@
1Files: etc/init.d/bootsplash etc/rc2.d/S01bootsplash pics/bootsplash/bootlogo 1Files: etc/init.d/bootsplash etc/rcS.d/S01bootsplash pics/bootsplash/bootlogo
2Priority: optinal 2Priority: optinal
3Section: opie/system 3Section: opie/system
4Maintainer: Project Opie <opie@handhelds.org> 4Maintainer: Project Opie <opie@handhelds.org>
5Architecture: arm 5Architecture: arm
6Version: $QPE_VERSION-$SUB_VERSION.2 6Version: $QPE_VERSION-$SUB_VERSION.2
7Description: Splash screen aptempt 7Description: Splash screen aptempt
diff --git a/mkipks b/mkipks
index 1841bc9..8c865d3 100755
--- a/mkipks
+++ b/mkipks
@@ -1,108 +1,109 @@
1#!/bin/sh 1#!/bin/sh
2 2
3QTE_VERSION=2.3.3 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 11mkdir -p etc/rcS.d
12ln -s ../init.d/opie etc/rc2.d/S01bootsplash 12rm -f etc/rcS.d/S01bootsplash
13ln -s ../init.d/opie etc/rcS.d/S01bootsplash
13 14
14rm -f ipaq/etc/rc2.d/S96opieatd 15rm -f ipaq/etc/rc2.d/S96opieatd
15ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd 16ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd
16 17
17 18
18 19
19VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 20VERSION_MAJ=$(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) 21VERSION_MIN=$(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) 22VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
22SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) 23SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
23if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h 24if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
24then 25then
25 VERSION_CVS="$(date +%Y%m%d)" 26 VERSION_CVS="$(date +%Y%m%d)"
26 SUB_VERSION=$VERSION_CVS 27 SUB_VERSION=$VERSION_CVS
27else 28else
28 VERSION_CVS="" 29 VERSION_CVS=""
29fi 30fi
30 31
31QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT 32QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
32 33
33ARCH=arm 34ARCH=arm
34STRIP=arm-linux-strip 35STRIP=arm-linux-strip
35STRIP_FILES="*ARM*not stripped" 36STRIP_FILES="*ARM*not stripped"
36 37
37TDIR=/tmp/ipk$$ 38TDIR=/tmp/ipk$$
38DATADIR=$TDIR 39DATADIR=$TDIR
39CTRLDIR=$TDIR/CONTROL 40CTRLDIR=$TDIR/CONTROL
40 41
41IMAGEDIR= 42IMAGEDIR=
42VERB= 43VERB=
43LIST= 44LIST=
44RPM= 45RPM=
45 46
46while [ $# -ne 0 ] 47while [ $# -ne 0 ]
47do 48do
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
77 shift 78 shift
78done 79done
79 80
80 81
81if [ -z "$FILES" ] 82if [ -z "$FILES" ]
82then 83then
83 FILES=`find $OPIEDIR -name "*.control" -print` 84 FILES=`find $OPIEDIR -name "*.control" -print`
84fi 85fi
85 86
86RDIR=$PWD 87RDIR=$PWD
87cd $OPIEDIR 88cd $OPIEDIR
88 89
89for i in $FILES 90for i in $FILES
90do 91do
91 rm -rf $TDIR 92 rm -rf $TDIR
92 93
93 mkdir -p $DATADIR 94 mkdir -p $DATADIR
94 mkdir -p $CTRLDIR 95 mkdir -p $CTRLDIR
95 96
96 packagename=${i##*/}; packagename=${packagename%.control} 97 packagename=${i##*/}; packagename=${packagename%.control}
97 version=$(eval echo '"'$(sed -n -e "s/^Version: *//p" $i)'"') 98 version=$(eval echo '"'$(sed -n -e "s/^Version: *//p" $i)'"')
98 depends=$(eval echo '"'$(sed -n -e "s/^Depends: *//p" $i)'"') 99 depends=$(eval echo '"'$(sed -n -e "s/^Depends: *//p" $i)'"')
99 files=$(eval echo $(sed -n -e "s/^Files://p" $i)) 100 files=$(eval echo $(sed -n -e "s/^Files://p" $i))
100 arch=$(eval echo $(sed -n -e "s/^Arch://p" $i)) 101 arch=$(eval echo $(sed -n -e "s/^Arch://p" $i))
101 section=$(sed -n -e "s/^Section: *//p" $i) 102 section=$(sed -n -e "s/^Section: *//p" $i)
102 provides=$(sed -n -e "s/^Provides: *//p" $i) 103 provides=$(sed -n -e "s/^Provides: *//p" $i)
103 conflicts=$(sed -n -e "s/^Conflicts: *//p" $i) 104 conflicts=$(sed -n -e "s/^Conflicts: *//p" $i)
104 license=$(sed -n -e "s/^License: *//p" $i) 105 license=$(sed -n -e "s/^License: *//p" $i)
105 summary=$(sed -n -e "s/^Description: *//p" $i) 106 summary=$(sed -n -e "s/^Description: *//p" $i)
106 package=${packagename}_${version}_$ARCH 107 package=${packagename}_${version}_$ARCH
107 ERROR= 108 ERROR=
108 if [ -z "$files" ] 109 if [ -z "$files" ]