Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12)
@ 2024-09-09 15:27 Peter Korsgaard
  2024-09-09 15:27 ` [Buildroot] [PATCH 2/2] support/misc/Vagrantfile: support libvirt provider Peter Korsgaard
  2024-09-10 20:44 ` [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-09-09 15:27 UTC (permalink / raw)
  To: buildroot

Ubuntu Bionic (18.04) was EOL'ed in June 2023:

https://ubuntu.com//blog/18-04-end-of-standard-support

And the VM image is only available in virtualbox format:

https://app.vagrantup.com/ubuntu/boxes/bionic64

So move to Debian bullseye (12), matching what we do for the docker image.
This is available in virtualbox and libvirt (qemu) format:

https://app.vagrantup.com/debian/boxes/bullseye64

Bullseye does not come with rsync out of the box, so install it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 support/misc/Vagrantfile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
index 2251a992dc..8252f555b6 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/bionic64'
+	config.vm.box = 'debian/bullseye64'
 
 	config.vm.provider :vmware_fusion do |v, override|
 		v.vmx['memsize'] = VM_MEMORY
@@ -42,12 +42,10 @@ Vagrant.configure('2') do |config|
 	end
 
 	config.vm.provision 'shell', privileged: true, inline:
-		"sed -i 's|deb http://us.archive.ubuntu.com/ubuntu/|deb mirror://mirrors.ubuntu.com/mirrors.txt|g' /etc/apt/sources.list
-		dpkg --add-architecture i386
+		"dpkg --add-architecture i386
 		apt-get -q update
-		apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
 		apt-get -q -y install build-essential libncurses5-dev \
-			git bzr cvs mercurial subversion libc6:i386 unzip bc
+			git bzr cvs mercurial rsync subversion libc6:i386 unzip bc
 		apt-get -q -y autoremove
 		apt-get -q -y clean
 		update-locale LC_ALL=C"
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] support/misc/Vagrantfile: support libvirt provider
  2024-09-09 15:27 [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Peter Korsgaard
@ 2024-09-09 15:27 ` Peter Korsgaard
  2024-09-10 20:44 ` [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-09-09 15:27 UTC (permalink / raw)
  To: buildroot

And configure memory/CPU like for the other providers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 support/misc/Vagrantfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
index 8252f555b6..1155026ee3 100644
--- a/support/misc/Vagrantfile
+++ b/support/misc/Vagrantfile
@@ -29,6 +29,11 @@ Vagrant.configure('2') do |config|
 		end
 	end
 
+	config.vm.provider :libvirt do |v, override|
+		v.memory = VM_MEMORY
+		v.cpus = VM_CORES
+	end
+
 	config.vm.provision 'shell' do |s|
 		s.inline = 'echo Setting up machine name'
 
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12)
  2024-09-09 15:27 [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Peter Korsgaard
  2024-09-09 15:27 ` [Buildroot] [PATCH 2/2] support/misc/Vagrantfile: support libvirt provider Peter Korsgaard
@ 2024-09-10 20:44 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-10 20:44 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: buildroot

On Mon,  9 Sep 2024 17:27:46 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:

> Ubuntu Bionic (18.04) was EOL'ed in June 2023:
> 
> https://ubuntu.com//blog/18-04-end-of-standard-support
> 
> And the VM image is only available in virtualbox format:
> 
> https://app.vagrantup.com/ubuntu/boxes/bionic64
> 
> So move to Debian bullseye (12), matching what we do for the docker image.
> This is available in virtualbox and libvirt (qemu) format:
> 
> https://app.vagrantup.com/debian/boxes/bullseye64
> 
> Bullseye does not come with rsync out of the box, so install it.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  support/misc/Vagrantfile | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)

Both applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-09-10 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 15:27 [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Peter Korsgaard
2024-09-09 15:27 ` [Buildroot] [PATCH 2/2] support/misc/Vagrantfile: support libvirt provider Peter Korsgaard
2024-09-10 20:44 ` [Buildroot] [PATCH 1/2] support/misc/Vagrantfile: move to Debian bullseyes (12) Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox