* Libvirt and ebtables
@ 2016-03-20 15:46 Jonatan Schlag
2016-03-20 15:46 ` [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package Jonatan Schlag
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jonatan Schlag @ 2016-03-20 15:46 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package.
2016-03-20 15:46 Libvirt and ebtables Jonatan Schlag
@ 2016-03-20 15:46 ` Jonatan Schlag
2016-03-20 15:46 ` [PATCH 2/2] bump ebtables version number Jonatan Schlag
2016-03-23 12:07 ` Libvirt and ebtables Michael Tremer
2 siblings, 0 replies; 4+ messages in thread
From: Jonatan Schlag @ 2016-03-20 15:46 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)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)
--
2.1.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] bump ebtables version number
2016-03-20 15:46 Libvirt and ebtables Jonatan Schlag
2016-03-20 15:46 ` [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package Jonatan Schlag
@ 2016-03-20 15:46 ` Jonatan Schlag
2016-03-23 12:07 ` Libvirt and ebtables Michael Tremer
2 siblings, 0 replies; 4+ messages in thread
From: Jonatan Schlag @ 2016-03-20 15:46 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)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 = ""
--
2.1.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Libvirt and ebtables
2016-03-20 15:46 Libvirt and ebtables Jonatan Schlag
2016-03-20 15:46 ` [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package Jonatan Schlag
2016-03-20 15:46 ` [PATCH 2/2] bump ebtables version number Jonatan Schlag
@ 2016-03-23 12:07 ` Michael Tremer
2 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2016-03-23 12:07 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-23 12:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-20 15:46 Libvirt and ebtables Jonatan Schlag
2016-03-20 15:46 ` [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package Jonatan Schlag
2016-03-20 15:46 ` [PATCH 2/2] bump ebtables version number Jonatan Schlag
2016-03-23 12:07 ` Libvirt and ebtables Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox