sysvinit: remove last, mesg, wall and pidof which are provided by util-linux and procps now

This commit is contained in:
Juergen Daubert 2014-02-15 17:21:34 +01:00
parent 366d7ac229
commit 2bed4f73f8
2 changed files with 8 additions and 12 deletions

View File

@ -1,5 +1,4 @@
drwxr-xr-x root/root bin/
lrwxrwxrwx root/root bin/pidof -> /sbin/killall5
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/bootlogd
-rwxr-xr-x root/root sbin/fstab-decode
@ -13,19 +12,10 @@ lrwxrwxrwx root/root sbin/reboot -> halt
-rwxr-xr-x root/root sbin/sulogin
lrwxrwxrwx root/root sbin/telinit -> init
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/last
lrwxrwxrwx root/root usr/bin/lastb -> last
-rwxr-xr-x root/root usr/bin/mesg
-rwxr-xr-x root/root usr/bin/wall
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/initreq.h
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/last.1.gz
-rw-r--r-- root/root usr/man/man1/lastb.1.gz
-rw-r--r-- root/root usr/man/man1/mesg.1.gz
-rw-r--r-- root/root usr/man/man1/wall.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/initscript.5.gz
-rw-r--r-- root/root usr/man/man5/inittab.5.gz
@ -35,7 +25,6 @@ drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/halt.8.gz
-rw-r--r-- root/root usr/man/man8/init.8.gz
-rw-r--r-- root/root usr/man/man8/killall5.8.gz
-rw-r--r-- root/root usr/man/man8/pidof.8.gz
-rw-r--r-- root/root usr/man/man8/poweroff.8.gz
-rw-r--r-- root/root usr/man/man8/reboot.8.gz
-rw-r--r-- root/root usr/man/man8/runlevel.8.gz

View File

@ -4,7 +4,7 @@
name=sysvinit
version=2.88
release=2
release=3
source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
build() {
@ -16,6 +16,13 @@ build() {
# Provided by util-linux
rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
rm $PKG/usr/bin/{last,lastb,mesg,wall}
rm $PKG/usr/man/man1/{last,lastb,mesg,wall}.1
rmdir $PKG/usr/bin
# Provided by procps
rm $PKG/bin/pidof
rm $PKG/usr/man/man8/pidof.8
install -d $PKG/var/log
touch $PKG/var/log/wtmp