Browse Source

util-vserver: Fixed cross-compiling by helping to find modprobe and rmmod

crossperl
Christian Wiese 17 years ago committed by Alejandro Mery
parent
commit
676b279476
  1. 6
      security/util-vserver/util-vserver.conf

6
security/util-vserver/util-vserver.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../util-vserver/util-vserver.conf # Filename: package/.../util-vserver/util-vserver.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -43,11 +43,13 @@ hook_add postmake 5 "vserver_tests"
# some help to crosscompile # some help to crosscompile
# #
for x in ip iptables vconfig wget; do for x in ip iptables modprobe rmmod vconfig wget; do
# which package? # which package?
case "$x" in case "$x" in
ip) ip)
y="iproute2" ;; y="iproute2" ;;
modprobe|rmmod)
y="module-init-tools" ;;
vconfig) vconfig)
y="vlan" ;; y="vlan" ;;
*) *)

Loading…
Cancel
Save