All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
@ 2016-10-17 21:53 Angelo Compagnucci
  2016-10-18  9:46 ` Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Angelo Compagnucci @ 2016-10-17 21:53 UTC (permalink / raw)
  To: buildroot

* Updating to ubuntu 16.04
* Fixing dependencies
* Fixing locale complaints
* Removing unused packages

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changelog

* Changed to C locale as suggested by Arnout Vandecappelle

 support/misc/Vagrantfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
index cf269fe..5e56d5d 100644
--- a/support/misc/Vagrantfile
+++ b/support/misc/Vagrantfile
@@ -12,7 +12,7 @@ VM_MEMORY=2048
 VM_CORES=1
 
 Vagrant.configure('2') do |config|
-	config.vm.box = 'ubuntu/trusty64'
+	config.vm.box = 'bento/ubuntu-16.04'
 
 	config.vm.provider :vmware_fusion do |v, override|
 		v.vmx['memsize'] = VM_MEMORY
@@ -44,10 +44,13 @@ Vagrant.configure('2') do |config|
 	config.vm.provision 'shell', inline:
 		"sudo dpkg --add-architecture i386
 		sudo apt-get -q update
+		sudo apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
+		sudo apt-get -q -y upgrade
 		sudo apt-get -q -y install build-essential libncurses5-dev \
-			git bzr cvs mercurial subversion libc6:i386 unzip
+			git bzr cvs mercurial subversion libc6:i386 unzip bc
 		sudo apt-get -q -y autoremove
-		sudo apt-get -q -y clean"
+		sudo apt-get -q -y clean
+		sudo update-locale LC_ALL=C"
 
 	config.vm.provision 'shell', privileged: false, inline:
 		"echo 'Downloading and extracting buildroot #{RELEASE}'
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-17 21:53 [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04 Angelo Compagnucci
@ 2016-10-18  9:46 ` Thomas Petazzoni
  2016-10-18 10:00   ` Angelo Compagnucci
  2016-10-18 11:58 ` Arnout Vandecappelle
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2016-10-18  9:46 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 17 Oct 2016 23:53:02 +0200, Angelo Compagnucci wrote:

> +		sudo apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine

Why are you doing this step?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-18  9:46 ` Thomas Petazzoni
@ 2016-10-18 10:00   ` Angelo Compagnucci
  2016-10-18 12:03     ` Arnout Vandecappelle
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Compagnucci @ 2016-10-18 10:00 UTC (permalink / raw)
  To: buildroot

Dear Thomas,

2016-10-18 11:46 GMT+02:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Mon, 17 Oct 2016 23:53:02 +0200, Angelo Compagnucci wrote:
>
> > +             sudo apt-get purge -q -y snapd lxcfs lxd
> ubuntu-core-launcher snap-confine
>
> Why are you doing this step?
>

Ubuntu 16.04 introduced a number of services releated to the ops world and
they are not strictly releated to our use case. So I'm removing them to
free some space on disk and gain a bit of cpu cycles.


> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161018/d556a9f8/attachment.html>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-17 21:53 [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04 Angelo Compagnucci
  2016-10-18  9:46 ` Thomas Petazzoni
@ 2016-10-18 11:58 ` Arnout Vandecappelle
  2016-10-19 21:01 ` Thomas Petazzoni
  2016-10-22 12:00 ` Peter Korsgaard
  3 siblings, 0 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2016-10-18 11:58 UTC (permalink / raw)
  To: buildroot



On 17-10-16 23:53, Angelo Compagnucci wrote:
> * Updating to ubuntu 16.04
> * Fixing dependencies
> * Fixing locale complaints
> * Removing unused packages
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout

> ---
> Changelog
> 
> * Changed to C locale as suggested by Arnout Vandecappelle
> 
>  support/misc/Vagrantfile | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
> index cf269fe..5e56d5d 100644
> --- a/support/misc/Vagrantfile
> +++ b/support/misc/Vagrantfile
> @@ -12,7 +12,7 @@ VM_MEMORY=2048
>  VM_CORES=1
>  
>  Vagrant.configure('2') do |config|
> -	config.vm.box = 'ubuntu/trusty64'
> +	config.vm.box = 'bento/ubuntu-16.04'
>  
>  	config.vm.provider :vmware_fusion do |v, override|
>  		v.vmx['memsize'] = VM_MEMORY
> @@ -44,10 +44,13 @@ Vagrant.configure('2') do |config|
>  	config.vm.provision 'shell', inline:
>  		"sudo dpkg --add-architecture i386
>  		sudo apt-get -q update
> +		sudo apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
> +		sudo apt-get -q -y upgrade
>  		sudo apt-get -q -y install build-essential libncurses5-dev \
> -			git bzr cvs mercurial subversion libc6:i386 unzip
> +			git bzr cvs mercurial subversion libc6:i386 unzip bc
>  		sudo apt-get -q -y autoremove
> -		sudo apt-get -q -y clean"
> +		sudo apt-get -q -y clean
> +		sudo update-locale LC_ALL=C"
>  
>  	config.vm.provision 'shell', privileged: false, inline:
>  		"echo 'Downloading and extracting buildroot #{RELEASE}'
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-18 10:00   ` Angelo Compagnucci
@ 2016-10-18 12:03     ` Arnout Vandecappelle
  2016-10-18 12:10       ` Angelo Compagnucci
  0 siblings, 1 reply; 10+ messages in thread
From: Arnout Vandecappelle @ 2016-10-18 12:03 UTC (permalink / raw)
  To: buildroot



On 18-10-16 12:00, Angelo Compagnucci wrote:
> Dear Thomas,
> 
> 2016-10-18 11:46 GMT+02:00 Thomas Petazzoni <thomas.petazzoni@free-electrons.com
> <mailto:thomas.petazzoni@free-electrons.com>>:
> 
>     Hello,
> 
>     On Mon, 17 Oct 2016 23:53:02 +0200, Angelo Compagnucci wrote:
> 
>     > +             sudo apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
> 
>     Why are you doing this step?
> 
> 
> Ubuntu 16.04 introduced a number of services releated to the ops world and they
> are not strictly releated to our use case. So I'm removing them to free some
> space on disk and gain a bit of cpu cycles.

 I'm completely on board with doing that. Although it's really only snapd that
takes space (25MB). There may even be more cruft that can be removed, but people
can contribute if they want to :-).

 BTW, how are you going to gain CPU cycles this way?

> 
> 
>     Thanks,
> 
>     Thomas
>     --
>     Thomas Petazzoni, CTO, Free Electrons
>     Embedded Linux and Kernel engineering
>     http://free-electrons.com
> 
> 
> 
> 
> -- 
> Profile: http://it.linkedin.com/in/compagnucciangelo
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-18 12:03     ` Arnout Vandecappelle
@ 2016-10-18 12:10       ` Angelo Compagnucci
  0 siblings, 0 replies; 10+ messages in thread
From: Angelo Compagnucci @ 2016-10-18 12:10 UTC (permalink / raw)
  To: buildroot

Dear Arnout,

2016-10-18 14:03 GMT+02:00 Arnout Vandecappelle <arnout@mind.be>:

>
>
> On 18-10-16 12:00, Angelo Compagnucci wrote:
> > Dear Thomas,
> >
> > 2016-10-18 11:46 GMT+02:00 Thomas Petazzoni <thomas.petazzoni@free-
> electrons.com
> > <mailto:thomas.petazzoni@free-electrons.com>>:
> >
> >     Hello,
> >
> >     On Mon, 17 Oct 2016 23:53:02 +0200, Angelo Compagnucci wrote:
> >
> >     > +             sudo apt-get purge -q -y snapd lxcfs lxd
> ubuntu-core-launcher snap-confine
> >
> >     Why are you doing this step?
> >
> >
> > Ubuntu 16.04 introduced a number of services releated to the ops world
> and they
> > are not strictly releated to our use case. So I'm removing them to free
> some
> > space on disk and gain a bit of cpu cycles.
>
>  I'm completely on board with doing that. Although it's really only snapd
> that
> takes space (25MB). There may even be more cruft that can be removed, but
> people
> can contribute if they want to :-).
>
>  BTW, how are you going to gain CPU cycles this way?
>

They runs several background services (like snapd, lxcfs) that potentially
could use cpu to do thier unnecessary (for us) duties.

Sincerely, Angelo


>
> >
> >
> >     Thanks,
> >
> >     Thomas
> >     --
> >     Thomas Petazzoni, CTO, Free Electrons
> >     Embedded Linux and Kernel engineering
> >     http://free-electrons.com
> >
> >
> >
> >
> > --
> > Profile: http://it.linkedin.com/in/compagnucciangelo
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> >
>
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161018/9743b1d1/attachment.html>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-17 21:53 [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04 Angelo Compagnucci
  2016-10-18  9:46 ` Thomas Petazzoni
  2016-10-18 11:58 ` Arnout Vandecappelle
@ 2016-10-19 21:01 ` Thomas Petazzoni
  2016-10-22 12:00 ` Peter Korsgaard
  3 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2016-10-19 21:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 17 Oct 2016 23:53:02 +0200, Angelo Compagnucci wrote:
> * Updating to ubuntu 16.04
> * Fixing dependencies
> * Fixing locale complaints
> * Removing unused packages
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
> Changelog

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-17 21:53 [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04 Angelo Compagnucci
                   ` (2 preceding siblings ...)
  2016-10-19 21:01 ` Thomas Petazzoni
@ 2016-10-22 12:00 ` Peter Korsgaard
  2016-10-25  8:04   ` Angelo Compagnucci
  3 siblings, 1 reply; 10+ messages in thread
From: Peter Korsgaard @ 2016-10-22 12:00 UTC (permalink / raw)
  To: buildroot

>>>>> "Angelo" == Angelo Compagnucci <angelo.compagnucci@gmail.com> writes:

 > * Updating to ubuntu 16.04
 > * Fixing dependencies
 > * Fixing locale complaints
 > * Removing unused packages

 > Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
 > ---
 > Changelog

 > * Changed to C locale as suggested by Arnout Vandecappelle

 >  support/misc/Vagrantfile | 9 ++++++---
 >  1 file changed, 6 insertions(+), 3 deletions(-)

 > diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
 > index cf269fe..5e56d5d 100644
 > --- a/support/misc/Vagrantfile
 > +++ b/support/misc/Vagrantfile
 > @@ -12,7 +12,7 @@ VM_MEMORY=2048
 >  VM_CORES=1
 
 >  Vagrant.configure('2') do |config|
 > -	config.vm.box = 'ubuntu/trusty64'
 > +	config.vm.box = 'bento/ubuntu-16.04'

What is the reason to use a base image from the bento project instead of
the official ubuntu image?

https://atlas.hashicorp.com/ubuntu/boxes/xenial64

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-22 12:00 ` Peter Korsgaard
@ 2016-10-25  8:04   ` Angelo Compagnucci
  2016-10-25  8:45     ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Compagnucci @ 2016-10-25  8:04 UTC (permalink / raw)
  To: buildroot

Hi Peter,

2016-10-22 14:00 GMT+02:00 Peter Korsgaard <peter@korsgaard.com>:

> >>>>> "Angelo" == Angelo Compagnucci <angelo.compagnucci@gmail.com>
> writes:
>
>  > * Updating to ubuntu 16.04
>  > * Fixing dependencies
>  > * Fixing locale complaints
>  > * Removing unused packages
>
>  > Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
>  > ---
>  > Changelog
>
>  > * Changed to C locale as suggested by Arnout Vandecappelle
>
>  >  support/misc/Vagrantfile | 9 ++++++---
>  >  1 file changed, 6 insertions(+), 3 deletions(-)
>
>  > diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
>  > index cf269fe..5e56d5d 100644
>  > --- a/support/misc/Vagrantfile
>  > +++ b/support/misc/Vagrantfile
>  > @@ -12,7 +12,7 @@ VM_MEMORY=2048
>  >  VM_CORES=1
>
>  >  Vagrant.configure('2') do |config|
>  > -    config.vm.box = 'ubuntu/trusty64'
>  > +    config.vm.box = 'bento/ubuntu-16.04'
>
> What is the reason to use a base image from the bento project instead of
> the official ubuntu image?
>
> https://atlas.hashicorp.com/ubuntu/boxes/xenial64


The official images from Canonical are broken in many ways, for example
this bug [1] prevents the image working properly cause it lacks the vagrant
user.

Bento images are instead very well tested and triaged from the Chef team,
you can find more info here [2]

[1] https://bugs.launchpad.net/cloud-images/+bug/1569237
[2] http://chef.github.io/bento/

Sincerely, Angelo


>
>
> --
> Bye, Peter Korsgaard
>



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161025/2f2c0cf7/attachment.html>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04
  2016-10-25  8:04   ` Angelo Compagnucci
@ 2016-10-25  8:45     ` Peter Korsgaard
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Korsgaard @ 2016-10-25  8:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Angelo" == Angelo Compagnucci <angelo.compagnucci@gmail.com> writes:

Hi,

 >> >  Vagrant.configure('2') do |config|
 >> > -    config.vm.box = 'ubuntu/trusty64'
 >> > +    config.vm.box = 'bento/ubuntu-16.04'
 >> 
 >> What is the reason to use a base image from the bento project instead of
 >> the official ubuntu image?
 >> 
 >> https://atlas.hashicorp.com/ubuntu/boxes/xenial64

 > The official images from Canonical are broken in many ways, for example
 > this bug [1] prevents the image working properly cause it lacks the vagrant
 > user.

 > Bento images are instead very well tested and triaged from the Chef team,
 > you can find more info here [2]

 > [1] https://bugs.launchpad.net/cloud-images/+bug/1569237
 > [2] http://chef.github.io/bento/

Ok, thanks - That would have been useful information in the commit message.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-25  8:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 21:53 [Buildroot] [PATCH v2] support/misc/Vagrantfile: bump to ubuntu 16.04 Angelo Compagnucci
2016-10-18  9:46 ` Thomas Petazzoni
2016-10-18 10:00   ` Angelo Compagnucci
2016-10-18 12:03     ` Arnout Vandecappelle
2016-10-18 12:10       ` Angelo Compagnucci
2016-10-18 11:58 ` Arnout Vandecappelle
2016-10-19 21:01 ` Thomas Petazzoni
2016-10-22 12:00 ` Peter Korsgaard
2016-10-25  8:04   ` Angelo Compagnucci
2016-10-25  8:45     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.