Browse Source

sysvinit: enhanced build to be able live with toybox

master
Nagy Karoly Gabriel 10 years ago
parent
commit
cdea1bb01f
  1. 10
      base/sysvinit/sysvinit.conf

10
base/sysvinit/sysvinit.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../sysvinit/sysvinit.conf
# Copyright (C) 2008 - 2014 The OpenSDE Project
# Copyright (C) 2008 - 2015 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -38,3 +38,11 @@ if pkginstalled util-linux; then
# modern util-linux provides replacements for last(1), lastb(1) and mesg(1)
var_append patchfiles ' ' "$confdir/sysvinit-$ver-remove-last-mesg.diff"
fi
# do not build and install commands provided by toybox
if pkginstalled toybox; then
disable_progs() {
sed -i -e '/killall5/d' Makefile
}
hook_add premake 9 'disable_progs'
fi

Loading…
Cancel
Save