Hi, these are the first patches for libvirt. Just as a note I tried it also with /usr/sbin and /usr/bin but libvirt found the binaries only in /sbin. I hope this solution is ok. I will send the next patches for libvirt soon.
Regards Jonatan
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- config/rootfiles/packages/ebtables | 3 +++ lfs/ebtables | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/config/rootfiles/packages/ebtables b/config/rootfiles/packages/ebtables index 7e10eee..315e2fb 100644 --- a/config/rootfiles/packages/ebtables +++ b/config/rootfiles/packages/ebtables @@ -28,3 +28,6 @@ usr/lib/libebtc.so usr/local/sbin/ebtables usr/local/sbin/ebtables-restore usr/local/sbin/ebtables-save +sbin/ebtables-save +sbin/ebtables +sbin/ebtables-restore diff --git a/lfs/ebtables b/lfs/ebtables index 0c55a21..5ec3fd2 100644 --- a/lfs/ebtables +++ b/lfs/ebtables @@ -79,5 +79,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(CFLAGS)" cd $(DIR_APP) && make install + ln -s /usr/local/sbin/ebtables-save /sbin/ebtables-save + ln -s /usr/local/sbin/ebtables /sbin/ebtables + ln -s /usr/local/sbin/ebtables-restore /sbin/ebtables-restore @rm -rf $(DIR_APP) @$(POSTBUILD)
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- lfs/ebtables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lfs/ebtables b/lfs/ebtables index 5ec3fd2..6ad9ac9 100644 --- a/lfs/ebtables +++ b/lfs/ebtables @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ebtables -PAK_VER = 2 +PAK_VER = 3
DEPS = ""
Hi,
can we move the ebtables binaries to /usr/(s)bin and patch the paths in libvirt?
I think this is the cleanest option.
-Michael
On Sun, 2016-03-20 at 16:46 +0100, Jonatan Schlag wrote:
Hi, these are the first patches for libvirt. Just as a note I tried it also with /usr/sbin and /usr/bin but libvirt found the binaries only in /sbin. I hope this solution is ok. I will send the next patches for libvirt soon.
Regards Jonatan