summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/opie-base.control2
-rwxr-xr-xlibrary/opie-base.postinst11
-rwxr-xr-xlibrary/opie-base.prerm5
-rwxr-xr-xmkipks2
4 files changed, 17 insertions, 3 deletions
diff --git a/library/opie-base.control b/library/opie-base.control
index 2441809..41b0e2e 100644
--- a/library/opie-base.control
+++ b/library/opie-base.control
@@ -1,5 +1,5 @@
1Files: etc/colors root/etc/init.d/opie root/etc/rc2.d/S98opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/* 1Files: etc/colors root/etc/init.d/opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/*
2Priority: required 2Priority: required
3Section: opie/system 3Section: opie/system
4Maintainer: Project Opie <opie@handhelds.org> 4Maintainer: Project Opie <opie@handhelds.org>
5Architecture: arm 5Architecture: arm
diff --git a/library/opie-base.postinst b/library/opie-base.postinst
new file mode 100755
index 0000000..1d50a99
--- a/dev/null
+++ b/library/opie-base.postinst
@@ -0,0 +1,11 @@
1#/bin/sh
2
3ln -sf ../init.d/opie /etc/rc0.d/K98opie
4ln -sf ../init.d/opie /etc/rc1.d/K98opie
5ln -sf ../init.d/opie /etc/rc6.d/K98opie
6ln -sf ../init.d/opie /etc/rc2.d/S98opie
7ln -sf ../init.d/opie /etc/rc3.d/S98opie
8ln -sf ../init.d/opie /etc/rc4.d/S98opie
9ln -sf ../init.d/opie /etc/rc5.d/S98opie
10
11exit 0
diff --git a/library/opie-base.prerm b/library/opie-base.prerm
new file mode 100755
index 0000000..664160b
--- a/dev/null
+++ b/library/opie-base.prerm
@@ -0,0 +1,5 @@
1#/bin/sh
2
3find /etc -name [SK][0-9][0-9]opie | xargs rm -f
4
5exit 0
diff --git a/mkipks b/mkipks
index b238935..c39b66f 100755
--- a/mkipks
+++ b/mkipks
@@ -3,10 +3,8 @@
3QTE_VERSION=2.3.4 3QTE_VERSION=2.3.4
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 $OPIEDIR/etc/rc2.d
8ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie
9 7
10mkdir -p $OPIEDIR/etc/rcS.d 8mkdir -p $OPIEDIR/etc/rcS.d
11ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash 9ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash
12 10