[gnome-build-meta/valentindavid/lxc] Add LXC to GNOME OS devel's tree




commit 75d1485ad27ef5b3fc33fb7d14ee94ed6d63516b
Author: Valentin David <valentin david codethink co uk>
Date:   Mon Jul 19 23:01:38 2021 +0200

    Add LXC to GNOME OS devel's tree

 elements/vm/deps-devel.bst |  1 +
 elements/vm/lxc.bst        | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
---
diff --git a/elements/vm/deps-devel.bst b/elements/vm/deps-devel.bst
index 4f03d070..c02e207f 100644
--- a/elements/vm/deps-devel.bst
+++ b/elements/vm/deps-devel.bst
@@ -8,5 +8,6 @@ depends:
 - vm/common-deps.bst
 - vm/git-lfs.bst
 - vm/initramfs.bst
+- vm/lxc.bst
 - vm/os-release-devel.bst
 - vm/toolbox.bst
diff --git a/elements/vm/lxc.bst b/elements/vm/lxc.bst
new file mode 100644
index 00000000..9bd3c160
--- /dev/null
+++ b/elements/vm/lxc.bst
@@ -0,0 +1,32 @@
+kind: autotools
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- freedesktop-sdk.bst:components/systemd.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/systemd-libs.bst
+- freedesktop-sdk.bst:components/libseccomp.bst
+- freedesktop-sdk.bst:components/linux-pam-base.bst
+
+variables:
+  conf-local: >-
+      --disable-werror
+      --with-init-script=systemd
+      --enable-seccomp
+      --enable-capabilities
+      --enable-pam
+
+public:
+  initial-script:
+    script: |
+      #!/bin/bash
+      sysroot="${1}"
+      chmod 4755 "${sysroot}%{libexecdir}/lxc/lxc-user-nic"
+
+sources:
+- kind: git_tag
+  url: https://github.com/lxc/lxc.git
+  track: master
+  track-tags: true


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