[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/experimental] enable attr support to be able to store XATTR labels

Guido Günther gitlab at salsa.debian.org
Tue Jun 30 10:06:52 BST 2020



Guido Günther pushed to branch debian/experimental at Libvirt Packaging Team / libvirt


Commits:
d0f7eb52 by Christian Ehrhardt at 2020-06-30T10:31:07+02:00
enable attr support to be able to store XATTR labels

Among other things this allows to properly restore file ownership
- d/control: build depend on libattr1-dev
- d/rules: configure --with-attr

Note: the old change was in 0fa762425 "Disable tests requiring
filesystem attributes" for #747565

Fixes: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/691590

Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -22,6 +22,7 @@ Build-Depends:
  libdevmapper-dev [linux-any],
  uuid-dev,
  libudev-dev [linux-any],
+ libattr1-dev [linux-any],
  libpciaccess-dev,
  kmod [linux-any],
  policykit-1 (>= 0.105-4~) [linux-any],


=====================================
debian/rules
=====================================
@@ -44,6 +44,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
   WITH_INIT_SCRIPT    =	--with-init-script=systemd
   WITH_SYSTEMD        = --with-systemd-daemon
   WITH_FIREWALLD      = --with-firewalld
+  WITH_ATTR           = --with-attr
   WITH_AUDIT          = --with-audit
   WITH_SELINUX        = --with-selinux --with-secdriver-selinux --with-selinux-mount=/sys/fs/selinux
   WITH_APPARMOR       = --with-apparmor --with-secdriver-apparmor --with-apparmor-profiles
@@ -82,6 +83,7 @@ else
   WITH_POLKIT         = --without-polkit
   WITH_SYSTEMD        = --without-systemd-daemon
   WITH_FIREWALLD      = --without-firewalld
+  WITH_ATTR           = --without-attr
   WITH_AUDIT          = --without-audit
   WITH_SELINUX        = --without-selinux
   WITH_APPARMOR       = --without-apparmor
@@ -134,7 +136,7 @@ DEB_CONFIGURE_EXTRA_ARGS :=      \
 	$(WITH_AUDIT)            \
 	--without-hal            \
 	$(WITH_FIREWALLD)        \
-	--without-attr           \
+	$(WITH_ATTR)             \
 	$(WITH_NSS_PLUGIN)       \
         --with-wireshark-dissector \
         $(NULL)



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/d0f7eb528d6eb07af3d2c3a621f3ef4bfb2ab234

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/d0f7eb528d6eb07af3d2c3a621f3ef4bfb2ab234
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20200630/85d4f21a/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list