diff options
Diffstat (limited to 'abs/core/initscripts')
-rw-r--r-- | abs/core/initscripts/ChangeLog | 111 | ||||
-rw-r--r-- | abs/core/initscripts/PKGBUILD | 15 | ||||
-rw-r--r-- | abs/core/initscripts/__changelog | 1 | ||||
-rw-r--r-- | abs/core/initscripts/rc.shutdown.patch | 23 | ||||
-rw-r--r-- | abs/core/initscripts/rc.sysinit.patch | 24 |
5 files changed, 167 insertions, 7 deletions
diff --git a/abs/core/initscripts/ChangeLog b/abs/core/initscripts/ChangeLog index 1ba9dc8..a8c7a23 100644 --- a/abs/core/initscripts/ChangeLog +++ b/abs/core/initscripts/ChangeLog @@ -1,3 +1,114 @@ +commit 2c5e306be0bcc8d91662176bfcfb55ec95777bc3 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Wed Jan 21 13:10:34 2009 -0800 + + Adjust copyright year to 2009 + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit ad81ddafabd95ee1ea7169880a6a80f04babf9a6 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Tue Dec 23 14:45:30 2008 -0800 + + Add some simple status display functions + + This is useful for displaying daemon status in functions + like /etc/rc.d/$DAEMON status + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit fa4f2f14870500eeab3233da07647a7c2c5e1648 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Tue Dec 23 14:43:51 2008 -0800 + + Adjust minilogd's maximums + + A max of 200000 lines stored, at 8K per line, was a little + ridiculous and soaked up way to much memory if a syslogger + was not started. Drop the max to 10000 so that we don't kill + the user's system. + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit 0e4ff39e5a5c72b7d4e8d251d029d4342f68b7b6 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Tue Dec 23 14:41:09 2008 -0800 + + chmod /var/run/utmp to 664 when creating + + This allows X terminals to write to /var/run/utmp + so that they are reported properly to commands like + who and w + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit af3ac0dc954d96855555aa8cb12633494d465a77 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Thu Dec 4 09:40:14 2008 -0800 + + unset the TZ envvar in 'functions' + + This prevents a local TZ variable from breaking + daemon's when started by root. Daemon's should always + respect the system's /etc/localtime + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit 9ac428a113d5dee2b4d5469fdfdb383eda90d4c6 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Mon Nov 24 07:50:45 2008 -0800 + + Switch commented kdm path + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit 572019c5a188d22a1e833c1a27081227a65133f9 +Author: Roman Kyrylych <roman@archlinux.org> +Date: Thu Sep 25 00:33:32 2008 -0500 + + Added missing slash + + Signed-off-by: Roman Kyrylych <roman@archlinux.org> + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + +commit af5516dc690a3b2fab88188cfcde898ca0efbf4b +Author: Thomas Bächler <thomas@archlinux.org> +Date: Thu Sep 18 22:21:39 2008 +0200 + + Fix bug #11229 + +commit 8f1628613cc5746b7c85c6f84776b365833f1dad +Author: Thomas Bächler <thomas@archlinux.org> +Date: Thu Sep 18 18:55:14 2008 +0200 + + Respawn udev properly when running 'init s'. Fixes #9739 + +commit ce600eea3b9383f167cb91d784aff04821fa0528 +Author: Thomas Bächler <thomas@archlinux.org> +Date: Sun Sep 14 19:46:14 2008 +0200 + + Remove references to start_udev from rc.sysinit + +commit d399979d08be1ae2cc8e4ab60a68c57b120d08a0 +Author: Thomas Bächler <thomas@archlinux.org> +Date: Sun Sep 14 19:41:14 2008 +0200 + + Revert "Create udev required device nodes if missing" + + This reverts commit 119b8df1fb1258231750309f01e747e72f382493. + These nodes are created like 10 lines above, the [ -f ... ] check would always return false anyway (-f == regular file) + +commit 119b8df1fb1258231750309f01e747e72f382493 +Author: Aaron Griffin <aaronmgriffin@gmail.com> +Date: Sat Aug 30 21:11:39 2008 -0500 + + Create udev required device nodes if missing + + Udev requires /dev/console, /dev/null, and /dev/zero to exist + before running. Create these on init if they're missing + + Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> + commit d2ae38c8b06d057c7593b7ba836bf24a1f8f6c4f Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Tue Aug 5 14:34:53 2008 -0400 diff --git a/abs/core/initscripts/PKGBUILD b/abs/core/initscripts/PKGBUILD index b62fcaa..7f886e0 100644 --- a/abs/core/initscripts/PKGBUILD +++ b/abs/core/initscripts/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 8634 2008-08-14 09:53:14Z pierre $ +# $Id: PKGBUILD 25007 2009-01-22 17:10:39Z aaron $ # Maintainer: Thomas Baechler <thomas@archlinux.org> # Maintainer: Aaron Griffin <aaron@archlinux.org> pkgname=initscripts -pkgver=2008.08 -pkgrel=1 +pkgver=2009.01 +pkgrel=9 pkgdesc="System initialization/bootup scripts" arch=('i686' 'x86_64') url="http://www.archlinux.org" @@ -12,11 +12,12 @@ license=('GPL') groups=('base') backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown) depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=118' 'net-tools' 'ncurses' 'kbd' 'findutils') -install=initscripts.install -source=(ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}-${pkgrel}.tar.gz) -md5sums=('317ddba5c41ac61905fd8289805e00cd') +source=(ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.gz rc.sysinit.patch rc.shutdown.patch) +md5sums=('b947f3efd5d4681459fe8073d610f1b5') build() { - cd ${startdir}/src/${pkgname}-${pkgver}-${pkgrel}/ + cd ${startdir}/src/${pkgname}-${pkgver}/ + patch -p0 < $startdir/src/rc.sysinit.patch || exit 1 + patch -p0 < $startdir/src/rc.shutdown.patch || exit 1 DESTDIR=$startdir/pkg ./install.sh } diff --git a/abs/core/initscripts/__changelog b/abs/core/initscripts/__changelog new file mode 100644 index 0000000..8d03d24 --- /dev/null +++ b/abs/core/initscripts/__changelog @@ -0,0 +1 @@ +Patch init scripts diff --git a/abs/core/initscripts/rc.shutdown.patch b/abs/core/initscripts/rc.shutdown.patch new file mode 100644 index 0000000..7456b54 --- /dev/null +++ b/abs/core/initscripts/rc.shutdown.patch @@ -0,0 +1,23 @@ +--- rc.shutdown.orig 2009-02-06 15:32:04.000000000 +0000 ++++ rc.shutdown 2009-02-06 15:45:05.000000000 +0000 +@@ -22,6 +22,12 @@ + /etc/rc.local.shutdown + fi + ++#unmount network filesystems for runit ++#if [ -e /var/service/netfs ] ++#then ++ /etc/rc.d/netfs stop ++#fi ++ + if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then + # Shutdown daemons + let i=${#DAEMONS[@]} +@@ -39,6 +45,7 @@ + fi + fi + ++ + # Terminate all processes + stat_busy "Sending SIGTERM To Processes" + /sbin/killall5 -15 &> /dev/null diff --git a/abs/core/initscripts/rc.sysinit.patch b/abs/core/initscripts/rc.sysinit.patch new file mode 100644 index 0000000..6556069 --- /dev/null +++ b/abs/core/initscripts/rc.sysinit.patch @@ -0,0 +1,24 @@ +--- /tmp/rc.sysinit.orig 2009-04-02 16:40:47.000000000 +0000 ++++ rc.sysinit 2009-04-02 16:44:20.000000000 +0000 +@@ -7,10 +7,9 @@ + . /etc/rc.d/functions + + echo " " +-printhl "Arch Linux\n" +-printhl "${C_H2}http://www.archlinux.org" +-printhl "Copyright 2002-2007 Judd Vinet" +-printhl "Copyright 2007-2009 Aaron Griffin" ++printhl "LinHES" ++printhl "The Linux Home Entertainment System" ++printhl "${C_H2}http://www.linhes.org" + printhl "Distributed under the GNU General Public License (GPL)" + printsep + +@@ -85,6 +84,7 @@ + if ! [ "$load_modules" = "off" ]; then + if [ -f /proc/modules ]; then + stat_busy "Loading Modules" ++ /usr/LH/bin/load-modules-mythvantage.sh + for mod in "${MODULES[@]}"; do + if [ "$mod" = "${mod#!}" ]; then + /sbin/modprobe $mod |