[packages/lxc] - rel 2; move rootfs mount dir to -libs (liblxc needs it, incus pulls only -libs)

arekm arekm at pld-linux.org
Sun Sep 13 02:09:34 CEST 2026


commit 90d293544d863056ce62eed4be8dceaeb0890940
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Sep 13 02:09:11 2026 +0200

    - rel 2; move rootfs mount dir to -libs (liblxc needs it, incus pulls only -libs)

 lxc.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index 660459e..f8d740b 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -16,7 +16,7 @@ Summary:	Linux Containers userspace tools
 Summary(pl.UTF-8):	Narzędzia do kontenerów linuksowych (LXC)
 Name:		lxc
 Version:	7.0.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Applications/System
 Source0:	https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
@@ -292,9 +292,6 @@ fi
 %{systemdunitdir}/lxc at .service
 %{systemdunitdir}/lxc-monitord.service
 %{systemdunitdir}/lxc-net.service
-%dir %{_libdir}/%{name}
-%dir %{_libdir}/%{name}/rootfs
-%{_libdir}/%{name}/rootfs/README
 %if "%{_libexecdir}" != "%{_libdir}"
 %dir %{_libexecdir}/%{name}
 %endif
@@ -396,6 +393,10 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/liblxc.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/liblxc.so.1
+# liblxc pivots every container rootfs through this directory
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/rootfs
+%{_libdir}/%{name}/rootfs/README
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/90d293544d863056ce62eed4be8dceaeb0890940



More information about the pld-cvs-commit mailing list