Skip to contentSkip to conversation

support/misc/Vagrantfile: bump to ubuntu 16.04

PATCH New Angelo Compagnucci 2 participants 3 messages Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/misc/Vagrantfile: bump to ubuntu 16.04

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

---
 support/misc/Vagrantfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
support/misc/Vagrantfile +6 -3
index cf269fe..01262b7 100644
@@ -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=en_US.UTF-8 LANG=en_US.UTF-8"
 
 	config.vm.provision 'shell', privileged: false, inline:
 		"echo 'Downloading and extracting buildroot #{RELEASE}'
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 support/misc/Vagrantfile: bump to ubuntu 16.04

Quoted 3 lines · Angelo Compagnucci

* Updating to ubuntu 16.04
* Fixing dependencies
* Fixing locale complaints

Could you explain this a little?

Quoted 3 lines

* Removing unused packages

Quoted 18 lines
---
 support/misc/Vagrantfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
support/misc/Vagrantfile +1 -1
index cf269fe..01262b7 100644
@@ -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

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 47

Quoted 4 lines
support/misc/Vagrantfile +1 -0
@@ -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

Yeah, die snap die :-)

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 53

Quoted 8 lines
support/misc/Vagrantfile +4 -2
+		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=en_US.UTF-8 LANG=en_US.UTF-8"

Why en_US and not C? Are there problems with accented characters somewhere?

Note that I have no idea how people use such a box. Do they actually work
inside it, or do they do there development from outside and just ssh or whatever to start a build?

Regards,
Arnout

Quoted 4 lines
support/misc/Vagrantfile +0 -0
 	config.vm.provision 'shell', privileged: false, inline:
 		"echo 'Downloading and extracting buildroot #{RELEASE}'
 
Signature · 6 lines
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
#2 lore raw

PATCH 1/1 support/misc/Vagrantfile: bump to ubuntu 16.04

Dear Arnout,

2016-10-17 22:23 GMT+02:00 Arnout Vandecappelle <[email protected]>:

Quoted 52 lines · Angelo Compagnucci
Quoted 3 lines

* Updating to ubuntu 16.04
* Fixing dependencies
* Fixing locale complaints

Could you explain this a little?

Quoted 3 lines

* Removing unused packages

Quoted 18 lines
---
 support/misc/Vagrantfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
support/misc/Vagrantfile +1 -1
index cf269fe..01262b7 100644
@@ -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

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 47

Quoted 4 lines
support/misc/Vagrantfile +1 -0
@@ -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

Yeah, die snap die :-)

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 49

Quoted 2 lines
support/misc/Vagrantfile +1 -0
+             sudo apt-get -q -y upgrade
              sudo apt-get -q -y install build-essential libncurses5-dev

\

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 50

Quoted 2 lines
support/misc/Vagrantfile +1 -1
-                     git bzr cvs mercurial subversion libc6:i386 unzip
+                     git bzr cvs mercurial subversion libc6:i386 unzip

bc

support/misc/Vagrantfile Vagrant.configure('2') do |config| · line 53

Quoted 4 lines
support/misc/Vagrantfile +2 -1
              sudo apt-get -q -y autoremove
-             sudo apt-get -q -y clean"
+             sudo apt-get -q -y clean
+             sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8"
Quoted 8 lines

Why en_US and not C? Are there problems with accented characters
somewhere?

Note that I have no idea how people use such a box. Do they actually work
inside it, or do they do there development from outside and just ssh or whatever
to start a build?

There is no a particular reason, it's only to silence the complaints of a missing locale configuration. I f you think C it's better, I can change without problem. In the meantime I'll try with the C locale.

Quoted 17 lines

Regards,
Arnout

support/misc/Vagrantfile Vagrant.configure('2') do |config|

Quoted 4 lines
support/misc/Vagrantfile +0 -0
      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
Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161017/0a0eb920/attachment.html>