summaryrefslogtreecommitdiff
path: root/mkipks
authorharlekin <harlekin>2002-06-25 07:54:49 (UTC)
committer harlekin <harlekin>2002-06-25 07:54:49 (UTC)
commit909b67f6a7e94adaa8a34995b389c8193965df92 (patch) (side-by-side diff)
tree9d7e07e741fa737fded1d13e226dcfe6d57c81eb /mkipks
parent465ad95e0872a09be6bbe01ce563972e719818b1 (diff)
downloadopie-909b67f6a7e94adaa8a34995b389c8193965df92.zip
opie-909b67f6a7e94adaa8a34995b389c8193965df92.tar.gz
opie-909b67f6a7e94adaa8a34995b389c8193965df92.tar.bz2
should have been ln -s ../init.d/opie etc/rc2.d/S98opie
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index af0b42c..21b903c 100755
--- a/mkipks
+++ b/mkipks
@@ -1,57 +1,57 @@
#!/bin/sh
QTE_VERSION=2.3.2
DEB_VERSION=2.0
# Have to do this here, since CVS can't store symlinks
mkdir -p etc/rc2.d
rm -f etc/rc2.d/S98opie
-ln -s ../init.d/qpe etc/rc2.d/S98opie
+ln -s ../init.d/opie etc/rc2.d/S98opie
rm -f ipaq/etc/rc2.d/S96opieatd
ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd
VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h)
if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
then
VERSION_CVS="$(date +%Y%m%d)"
SUB_VERSION=$VERSION_CVS
else
VERSION_CVS=""
fi
QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT
ARCH=arm
STRIP=arm-linux-strip
STRIP_FILES="*ARM*not stripped"
TDIR=/tmp/ipk$$
DATADIR=$TDIR/data
CTRLDIR=$TDIR/control
IMAGEDIR=
VERB=
LIST=
RPM=
while [ $# -ne 0 ]
do
case "$1" in
-v)
VERB=1
echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS"
;; -l)
LIST=1
;; -i)
shift
IMAGEDIR=$1
DATADIR=$IMAGEDIR
mkdir -p $IMAGEDIR
;; -rpm)
if [ "$OPIEDIR" != "/opt/Qtopia" ]
then
echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.'