Message ID | 1476741182-23366-1-git-send-email-angelo.compagnucci@gmail.com |
---|---|
State | Accepted |
Headers | show |
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
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 >
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}' >
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@busybox.net > http://lists.busybox.net/mailman/listinfo/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@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 >
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
>>>>> "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
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 >
>>>>> "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.
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}'
* 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(-)