SO_BINDTODEVICE

2017-08-16 Thread Rick Payne (Offshore)
Is there an equivalent to SO_BINDTODEVICE? I’m trying to get an implementation of VRRP working and the first issue is that the sending socket requires to be bound to the appropriate interface. After that, I’ll probably run into issues relating to the virtual IP and mac address - but the SO_BIN

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread miha . plesko . xlab
This is amazing, it seems like we were using the osv.bootstrap package of size 1.3 MB only because we didn't know it can be stripped. With the patch that Waldek provided here we're now having osv.bootstrap package shrinked to 325 kB without any functionality lost. I've just integrated the patch

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread Nadav Har'El
On Wed, Aug 16, 2017 at 2:12 PM, wrote: > Perhaps you were right anyway - we are using some patches to > upload_manifest, so we might have broken the stripping. So if I understand > you right, the stripped cpiod (that is as small as 220 KB) should work the > same as the unstripped one, or will th

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread miha . plesko . xlab
Perhaps you were right anyway - we are using some patches to upload_manifest, so we might have broken the stripping. So if I understand you right, the stripped cpiod (that is as small as 220 KB) should work the same as the unstripped one, or will things crash? Dne sreda, 16. avgust 2017 13.01.4

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread Nadav Har'El
On Wed, Aug 16, 2017 at 1:33 PM, Nadav Har'El wrote: > > On Wed, Aug 16, 2017 at 12:45 PM, wrote: > >> >> Thank you Waldek for trying to upstream this, I'm looking forward to be >> removing the current patches from the capstan-packages build platform in >> favor of using upstreamed code! :D >> >

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread Nadav Har'El
On Wed, Aug 16, 2017 at 12:45 PM, wrote: > > Thank you Waldek for trying to upstream this, I'm looking forward to be > removing the current patches from the capstan-packages build platform in > favor of using upstreamed code! :D > > Unfortunately I'm not very familiar with the scripts that we're

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread miha . plesko . xlab
Thank you Waldek for trying to upstream this, I'm looking forward to be removing the current patches from the capstan-packages build platform in favor of using upstreamed code! :D Unfortunately I'm not very familiar with the scripts that we're patching here, the patches that we're currently usi

[COMMIT osv-apps master] add README for busybox/

2017-08-16 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master add README for busybox/ Signed-off-by: Nadav Har'El --- diff --git a/busybox/README b/busybox/README --- a/busybox/README +++ b/busybox/README @@ -0,0 +1,13 @@ +Busybox ash shell is more powerful than OSv --runscript option. +Use ash

Re: [PATCH] Add busybox

2017-08-16 Thread Nadav Har'El
On Mon, Aug 7, 2017 at 12:32 PM, Justin Cinkelj wrote: > Busybox ash shell is more powerful than OSv --runscript option. > Use ash when fancy shell is required. > > While busybox config file includes default options (e.g. nearly all > options are enabled), the usr.manifiest doesn't try to create

[COMMIT osv-apps master] Add busybox

2017-08-16 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master Add busybox Busybox ash shell is more powerful than OSv --runscript option. Use ash when fancy shell is required. While busybox config file includes default options (e.g. nearly all options are enabled), the usr.manifiest doesn't try

Re: [PATCH] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-16 Thread Justin Cinkelj
On 08/15/2017 03:38 PM, Nadav Har'El wrote: On Wed, Aug 9, 2017 at 2:47 PM, Waldemar Kozaczuk mailto:jwkozac...@gmail.com>> wrote: This patch enhances OSv build scripts to allow exporting files in addition of uploading them to an image. It addresses 3 usage scenarios describ