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




commit 9e383a597e6384f482dbb1d894fbb220703b13fe
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        | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 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..fd7e4272
--- /dev/null
+++ b/elements/vm/lxc.bst
@@ -0,0 +1,30 @@
+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: tar
+  url: https://linuxcontainers.org/downloads/lxc/lxc-4.0.10.tar.gz


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