-rw-r--r-- | core/opiealarm/opie-opiealarm.control | 2 | ||||
-rwxr-xr-x | core/opiealarm/opie-opiealarm.postinst | 10 | ||||
-rwxr-xr-x | core/opiealarm/opie-opiealarm.prerm | 1 | ||||
-rwxr-xr-x | mkipks | 4 |
4 files changed, 11 insertions, 6 deletions
diff --git a/core/opiealarm/opie-opiealarm.control b/core/opiealarm/opie-opiealarm.control index 5413ba8..9581649 100644 --- a/core/opiealarm/opie-opiealarm.control +++ b/core/opiealarm/opie-opiealarm.control | |||
@@ -1,9 +1,9 @@ | |||
1 | Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/rc2.d/S96opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm | 1 | Files: bin/opiealarm bin/opieatd root/etc/init.d/opieatd root/etc/suspend-scripts/S46opiealarm root/etc/resume-scripts/R46opiealarm |
2 | Priority: required | 2 | Priority: required |
3 | Provides: ipaqalarm | 3 | Provides: ipaqalarm |
4 | Conflicts: ipaqalarm | 4 | Conflicts: ipaqalarm |
5 | Section: opie/system | 5 | Section: opie/system |
6 | Maintainer: Robert Griebl <sandman@handhelds.org> | 6 | Maintainer: Robert Griebl <sandman@handhelds.org> |
7 | Architecture: arm | 7 | Architecture: arm |
8 | Version: $QPE_VERSION-$SUB_VERSION | 8 | Version: $QPE_VERSION-$SUB_VERSION |
9 | Depends: hotplug | 9 | Depends: hotplug |
diff --git a/core/opiealarm/opie-opiealarm.postinst b/core/opiealarm/opie-opiealarm.postinst index 7fc8350..58298e1 100755 --- a/core/opiealarm/opie-opiealarm.postinst +++ b/core/opiealarm/opie-opiealarm.postinst | |||
@@ -1,4 +1,12 @@ | |||
1 | #/bin/sh | 1 | #/bin/sh |
2 | 2 | ||
3 | ln -sf ../init.d/opieatd /etc/rc0.d/K96opieatd | ||
4 | ln -sf ../init.d/opieatd /etc/rc1.d/K96opieatd | ||
5 | ln -sf ../init.d/opieatd /etc/rc6.d/K96opieatd | ||
6 | ln -sf ../init.d/opieatd /etc/rc2.d/S96opieatd | ||
7 | ln -sf ../init.d/opieatd /etc/rc3.d/S96opieatd | ||
8 | ln -sf ../init.d/opieatd /etc/rc4.d/S96opieatd | ||
9 | ln -sf ../init.d/opieatd /etc/rc5.d/S96opieatd | ||
3 | /etc/init.d/opieatd start | 10 | /etc/init.d/opieatd start |
4 | exit 0 \ No newline at end of file | 11 | |
12 | exit 0 | ||
diff --git a/core/opiealarm/opie-opiealarm.prerm b/core/opiealarm/opie-opiealarm.prerm index b37df5e..5e797b6 100755 --- a/core/opiealarm/opie-opiealarm.prerm +++ b/core/opiealarm/opie-opiealarm.prerm | |||
@@ -1,4 +1,5 @@ | |||
1 | #/bin/sh | 1 | #/bin/sh |
2 | 2 | ||
3 | /etc/init.d/opieatd stop | 3 | /etc/init.d/opieatd stop |
4 | find /etc -name [SK][0-9][0-9]opieatd | xargs rm -f | ||
4 | exit 0 | 5 | exit 0 |
@@ -5,20 +5,16 @@ 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 $OPIEDIR/etc/rc2.d | 7 | mkdir -p $OPIEDIR/etc/rc2.d |
8 | ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie | 8 | ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie |
9 | 9 | ||
10 | mkdir -p $OPIEDIR/etc/rcS.d | 10 | mkdir -p $OPIEDIR/etc/rcS.d |
11 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash | 11 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash |
12 | 12 | ||
13 | ln -sf ../init.d/opieatd $OPIEDIR/root/etc/rc2.d/S96opieatd | ||
14 | |||
15 | |||
16 | |||
17 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 13 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
18 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 14 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
19 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 15 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
20 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 16 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
21 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 17 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
22 | then | 18 | then |
23 | [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" | 19 | [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" |
24 | SUB_VERSION=$VERSION_CVS | 20 | SUB_VERSION=$VERSION_CVS |