[gnome-build-meta/valentindavid/pinebook-pro: 24/25] Linux: add security extensions for filesystem to get getcap/setcap to work



commit cc6dccaaf5a7bab4febb3119f71799e7bd6ed46c
Author: Valentin David <valentin david codethink co uk>
Date:   Mon Apr 27 13:19:31 2020 +0000

    Linux: add security extensions for filesystem to get getcap/setcap to work

 elements/boards/pinebook-pro/linux.bst | 2 ++
 elements/core-deps/libostree.bst       | 5 +++++
 2 files changed, 7 insertions(+)
---
diff --git a/elements/boards/pinebook-pro/linux.bst b/elements/boards/pinebook-pro/linux.bst
index 3886bade..60f360be 100644
--- a/elements/boards/pinebook-pro/linux.bst
+++ b/elements/boards/pinebook-pro/linux.bst
@@ -79,6 +79,7 @@ config:
     scripts/config -e NET_9P_VIRTIO
     scripts/config -e 9P_FS
     scripts/config -e 9P_FS_POSIX_ACL
+    scripts/config -e 9P_FS_SECURITY
     scripts/config -e VIRTIO_PCI
 
     # Strongly Recommended
@@ -87,6 +88,7 @@ config:
     scripts/config -e TMPFS_XATTR
     scripts/config -e TMPFS_POSIX_ACL
     scripts/config -e EXT4_FS_POSIX_ACL
+    scripts/config -e EXT4_FS_SECURITY
     scripts/config -e XFS_POSIX_ACL
     scripts/config -e BTRFS_FS_POSIX_ACL
     scripts/config -e SECCOMP
diff --git a/elements/core-deps/libostree.bst b/elements/core-deps/libostree.bst
index 3e782b96..0bbe33c5 100644
--- a/elements/core-deps/libostree.bst
+++ b/elements/core-deps/libostree.bst
@@ -5,6 +5,11 @@ sources:
   url: github_com:ostreedev/ostree/releases/download/v2019.5/libostree-2019.5.tar.xz
 - kind: patch
   path: files/ostree/no-boot-symlink.patch
+- kind: patch
+  # This is required to allow BuildStream and Flatpak Builder flatpaks
+  # to run. Most distributions have root recursive shared. Doing
+  # differently can cause a different behavior.
+  path: files/ostree/ostree-shared-root.patch
 
 build-depends:
 - sdk/gobject-introspection.bst


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]