virtualbox: Fix hardcoded /sbin/ifconfig path.
Just accidentally found this while debugging and it's needed for fetching a few interface details, not sure however whether because of this anything has been broken so far. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
5a8c5d2768
commit
14ef3446e1
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, lib, iasl, dev86, pam, libxslt, libxml2, libX11, xproto, libXext
|
||||
, libXcursor, libXmu, qt4, libIDL, SDL, libcap, zlib, libpng, glib, kernel, lvm2
|
||||
, which, alsaLib, curl, libvpx, gawk
|
||||
, which, alsaLib, curl, libvpx, gawk, nettools
|
||||
, xorriso, makeself, perl, pkgconfig, nukeReferences
|
||||
, javaBindings ? false, jdk ? null
|
||||
, pythonBindings ? false, python ? null
|
||||
|
@ -87,6 +87,11 @@ in stdenv.mkDerivation {
|
|||
|
||||
patches = optional enableHardening ./hardened.patch;
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \
|
||||
src/apps/adpctl/VBoxNetAdpCtl.cpp
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
cat >> LocalConfig.kmk <<LOCAL_CONFIG
|
||||
VBOX_WITH_TESTCASES :=
|
||||
|
|
Loading…
Reference in New Issue