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

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

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

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

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

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 > wrote: This patch enhances OSv build scripts to allow exporting files in addition of uploading them to an image. It addresses 3

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-15 Thread Nadav Har'El
On Wed, Aug 9, 2017 at 2:47 PM, Waldemar Kozaczuk wrote: > This patch enhances OSv build scripts to allow exporting files in addition > of uploading them to an image. It addresses 3 usage scenarios described in > #900 and demostrated by examples below: > > -

[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-09 Thread Waldemar Kozaczuk
This patch enhances OSv build scripts to allow exporting files in addition of uploading them to an image. It addresses 3 usage scenarios described in #900 and demostrated by examples below: - ./scripts/build image=empty export=all - export files that are specified is usr.manifest.skel in order