summaryrefslogtreecommitdiff
path: root/build-essential/gnome-platform.bst
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-02-01 20:37:29 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-02-03 19:48:45 +0900
commitd85382e41efbe3f3f9012a08851f93bb4919de65 (patch)
treebdcdac1cd8463f6847b2b30a6b643e715144372d /build-essential/gnome-platform.bst
parent7d6dc7242598361009ab492db2367e545fc53189 (diff)
downloaddefinitions-d85382e41efbe3f3f9012a08851f93bb4919de65.tar.gz
Manual conversion of Baserock's build-essential stratum
This huge commit is a manual conversion, notes on what was needed: o project.conf defines the arch specific stuff which was previously hardcoded into YBD, so the stage1 target and target etc are all defined by the build-essential project.conf o Direct and easy changes for git source representation o Added stage1.bst & stage2.bst "stacks", everything built in stage2 build-depends on stage1.bst, and the final build-essential products build-depend on stage2.bst (note build-depend means to depend _only_ for building, not propagated forward). o Instead of using host tools we build on the GNOME flatpak sdk/platform bundles o Some build-essential morph files use $(dirname $(pwd)) for a sysroot, which is weird, it means the morph files rely on building at one directory below the slash sysroot - in buildstream we build in /buildstream/build which is two - had to replace these with $(dirname $(dirname $(pwd))) instead o Remove the devices sections from the fhs-dirs elements, not allowed to create static device nodes in buildstream.
Diffstat (limited to 'build-essential/gnome-platform.bst')
-rw-r--r--build-essential/gnome-platform.bst27
1 files changed, 27 insertions, 0 deletions
diff --git a/build-essential/gnome-platform.bst b/build-essential/gnome-platform.bst
new file mode 100644
index 00000000..fd5efb6b
--- /dev/null
+++ b/build-essential/gnome-platform.bst
@@ -0,0 +1,27 @@
+kind: import
+description: Import the GNOME Platform
+config:
+ source: files
+public:
+ bst:
+ integration-commands:
+ - ldconfig
+ - |
+ if [ -d "/app/share/glib-2.0/schemas" ]; then
+ glib-compile-schemas /app/share/glib-2.0/schemas
+ fi
+arches:
+ x86_64:
+ sources:
+ - kind: ostree
+ url: gnomesdk:repo/
+ track: runtime/org.gnome.Platform/x86_64/3.22
+ gpg-key: keys/gnome-sdk.gpg
+ ref: af7b50663d808bf5cc6eb7538a3481b29c34864d71b719562246071113a18327
+ i386:
+ sources:
+ - kind: ostree
+ url: gnomesdk:repo/
+ track: runtime/org.gnome.Platform/i386/3.22
+ gpg-key: keys/gnome-sdk.gpg
+ ref: 8c86378e95d305097e64a7b04e23595773ab894ed5d216b49777a22819bff08f