Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lxd for openSUSE:Factory checked in 
at 2021-03-06 21:19:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxd (Old)
 and      /work/SRC/openSUSE:Factory/.lxd.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxd"

Sat Mar  6 21:19:13 2021 rev:26 rq:877356 version:4.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxd/lxd.changes  2021-02-07 15:23:49.110185433 
+0100
+++ /work/SRC/openSUSE:Factory/.lxd.new.2378/lxd.changes        2021-03-06 
21:19:15.733273295 +0100
@@ -1,0 +2,22 @@
+Fri Mar  5 16:31:52 UTC 2021 - Aleksa Sarai <asa...@suse.com>
+
+- Update to LXD 4.12. The full upstream changelog is available from:
+  https://discuss.linuxcontainers.org/t/lxd-4-12-has-been-released/10424
+  boo#1183111
+
+  + Initial Network ACLs support (OVN-only)
+  + Project restricted certificates
+  + Server configuration options now supported at the project level
+  + Configuration option for Ceph features
+  * Projects now supported by lxd init --dump and --preseed
+  * Initial auto-generated REST-API documentation
+
+  + VM: Stateful stop and stateful snapshots for virtual machines
+- Updated packaging to support VMs, though note that LXD's usage of QEMU causes
+  issues with QEMU 5.2 on openSUSE (because of how we package it). See
+  <https://github.com/lxc/lxd/issues/8416> for more details. bsc#1181549
+- Prefix all binaries with lxd- if they don't start with "lx[cd]". This is to
+  avoid having cases like lxd-generate where there's a binary in /usr/bin that
+  has a super-generic name.
+
+-------------------------------------------------------------------

Old:
----
  lxd-4.11.tar.gz
  lxd-4.11.tar.gz.asc

New:
----
  lxd-4.12.tar.gz
  lxd-4.12.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lxd.spec ++++++
--- /var/tmp/diff_new_pack.P5WfGE/_old  2021-03-06 21:19:16.409273857 +0100
+++ /var/tmp/diff_new_pack.P5WfGE/_new  2021-03-06 21:19:16.413273860 +0100
@@ -22,8 +22,10 @@
 %define _buildshell /bin/bash
 %define import_path github.com/lxc/lxd
 
+%define lxd_optdir /opt/lxd
+
 Name:           lxd
-Version:        4.11
+Version:        4.12
 Release:        0
 Summary:        Container hypervisor based on LXC
 License:        Apache-2.0
@@ -67,6 +69,17 @@
 Requires:       squashfs
 Requires:       tar
 Requires:       xz
+# Needed for VM support.
+Requires:       qemu-ovmf-x86_64
+BuildRequires:  qemu-ovmf-x86_64
+# QEMU spice became a separate package for QEMU 5.2, which is not in Leap 15.2.
+# But it exists in Tumbleweed so only require this in Tumbleweed.
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} == 150300
+Requires:       qemu-ui-spice-core
+%else
+Requires:       qemu-ui-spice-app
+%endif
+Requires:       qemu-x86
 # Storage backends -- we don't recommend ZFS since it's not *technically* a
 # blessed configuration.
 Recommends:     lvm2
@@ -158,7 +171,12 @@
 mkdir bin
 for mainpkg in "${mainpkgs[@]}"
 do
+       # Make sure all binaries *except* "lxc" have an lxd- prefix.
        binary="$(basename "$mainpkg")"
+       if  ( echo "$binary" | grep -Eqv '^lx[cd].*$' )
+       then
+               binary="lxd-$binary"
+       fi
        (
                # We need to link against our particular dylib deps.
                export \
@@ -231,6 +249,7 @@
 mkdir man
 ./bin/lxc manpage man/
 
+# Final sanity-check during build.
 pushd bin/
 for bin in *
 do
@@ -283,6 +302,15 @@
 install -d -m 0711 %{buildroot}%{_localstatedir}/lib/%{name}
 install -d -m 0755 %{buildroot}%{_localstatedir}/log/%{name}
 
+# In order for VM support in LXD to function, you need to have OVMF configured
+# in the way it expects. In particular, LXD depends on specific filenames for
+# the firmware files so we create fake ones with symlinks.
+export OVMF_DIR="%{buildroot}%{lxd_optdir}/ovmf"
+mkdir -p "$OVMF_DIR"
+ln -s %{_datarootdir}/qemu/ovmf-x86_64-ms-code.bin "$OVMF_DIR/OVMF_CODE.fd"
+ln -s %{_datarootdir}/qemu/ovmf-x86_64-ms-vars.bin "$OVMF_DIR/OVMF_VARS.ms.fd"
+ln -s %{_datarootdir}/qemu/ovmf-x86_64-vars.bin "$OVMF_DIR/OVMF_VARS.fd"
+
 %fdupes %{buildroot}
 
 %pre
@@ -331,13 +359,15 @@
 %defattr(-,root,root)
 %doc AUTHORS README.md doc/
 %license COPYING
-%{_bindir}/*
+%{_bindir}/lx{c,d}*
 %{_mandir}/man*/*
 %{_libdir}/%{name}
 
 %{_sbindir}/rc%{name}
 %{_unitdir}/%{name}.service
 
+%{lxd_optdir}
+
 %dir %{_localstatedir}/lib/%{name}
 %dir %{_localstatedir}/log/%{name}
 

++++++ lxd-4.11.tar.gz -> lxd-4.12.tar.gz ++++++
/work/SRC/openSUSE:Factory/lxd/lxd-4.11.tar.gz 
/work/SRC/openSUSE:Factory/.lxd.new.2378/lxd-4.12.tar.gz differ: char 13, line 1

++++++ lxd.service ++++++
--- /var/tmp/diff_new_pack.P5WfGE/_old  2021-03-06 21:19:16.485273920 +0100
+++ /var/tmp/diff_new_pack.P5WfGE/_new  2021-03-06 21:19:16.489273923 +0100
@@ -5,6 +5,7 @@
 Documentation=man:lxd(1)
 
 [Service]
+Environment=LXD_OVMF_PATH=/opt/lxd/ovmf
 ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
 ExecStartPost=/usr/bin/lxd waitready --timeout=600
 TimeoutStartSec=600s

Reply via email to