[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/20: gnu: QEMU: Unbundle dtc and slirp.
From: |
guix-commits |
Subject: |
11/20: gnu: QEMU: Unbundle dtc and slirp. |
Date: |
Sun, 11 Sep 2022 13:46:51 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 6ef782ee22bfc6ef3c60f2a4d2bb99ca0bdca2f5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 11 13:32:24 2022 +0200
gnu: QEMU: Unbundle dtc and slirp.
* gnu/packages/virtualization.scm (qemu)[source](snippet): Delete two more
directories.
[arguments]: Add "--enable-slirp" and "--enable-fdt" in #:configure-flags.
[inputs]: Add DTC and LIBSLIRP.
---
gnu/packages/virtualization.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 2860894bbd..cebcc9742d 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -61,6 +61,7 @@
#:use-module (gnu packages cluster)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages containers)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
@@ -172,8 +173,10 @@
(modules '((guix build utils)))
(snippet
'(begin
- ;; Delete the bundled meson copy.
- (delete-file-recursively "meson")))))
+ ;; Delete bundled code that we provide externally.
+ ;; TODO: Unbundle SeaBIOS!
+ (for-each delete-file-recursively
+ '("dtc" "meson" "slirp"))))))
(outputs '("out" "static" "doc")) ;5.3 MiB of HTML docs
(build-system gnu-build-system)
(arguments
@@ -190,6 +193,8 @@
(string-append "--host-cc=" gcc)
(string-append "--prefix=" out)
"--sysconfdir=/etc"
+ "--enable-slirp=system"
+ "--enable-fdt=system"
(string-append "--smbd=" out "/libexec/samba-wrapper")
"--disable-debug-info" ;for space considerations
;; The binaries need to be linked against -lrt.
@@ -329,6 +334,7 @@ exec smbd $@")))
(inputs
(list alsa-lib
bash-minimal
+ dtc
glib
gtk+
libaio
@@ -339,6 +345,7 @@ exec smbd $@")))
libjpeg-turbo
libpng
libseccomp
+ libslirp
liburing
libusb ;USB pass-through support
mesa
- 09/20: gnu: libslirp: Update to 4.7.0., (continued)
- 09/20: gnu: libslirp: Update to 4.7.0., guix-commits, 2022/09/11
- 12/20: gnu: python-docutils: Add 0.19., guix-commits, 2022/09/11
- 08/20: gnu: ntp: Adjust for glibc 2.34 and later., guix-commits, 2022/09/11
- 14/20: gnu: python-astunparse: Update to 1.6.3., guix-commits, 2022/09/11
- 16/20: gnu: python-gast: Enable tests., guix-commits, 2022/09/11
- 18/20: gnu: Add python-pyproject-metadata., guix-commits, 2022/09/11
- 19/20: gnu: python-sphinx-theme-builder: Update to 0.2.0b1., guix-commits, 2022/09/11
- 20/20: gnu: Deprecate python-pep621., guix-commits, 2022/09/11
- 06/20: gnu: mercurial: Adjust for grep 3.8., guix-commits, 2022/09/11
- 10/20: gnu: slirp4netns: Update to 1.2.0., guix-commits, 2022/09/11
- 11/20: gnu: QEMU: Unbundle dtc and slirp.,
guix-commits <=
- 15/20: gnu: python-gast: Update to 0.5.3., guix-commits, 2022/09/11
- 17/20: gnu: Add python-sphinx-tabs., guix-commits, 2022/09/11
- 13/20: gnu: python-gast: Update home page., guix-commits, 2022/09/11