[gnome-build-meta/valentindavid/eos-installer: 9/12] Add eos-installer
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/eos-installer: 9/12] Add eos-installer
- Date: Wed, 26 Feb 2020 21:15:12 +0000 (UTC)
commit 8aa81ce02a9c24f5388e9d30508ca3daecaefffa
Author: Valentin David <valentin david codethink co uk>
Date: Wed Feb 26 12:53:15 2020 +0100
Add eos-installer
elements/iso/eos-installer.bst | 36 ++++++++++++++++++++++++++++++++
elements/iso/gnome-common.bst | 14 +++++++++++++
files/eos-installer/vfat-eosimages.patch | 15 +++++++++++++
files/eos-installer/xattr-path.patch | 13 ++++++++++++
4 files changed, 78 insertions(+)
---
diff --git a/elements/iso/eos-installer.bst b/elements/iso/eos-installer.bst
new file mode 100644
index 00000000..adc3de78
--- /dev/null
+++ b/elements/iso/eos-installer.bst
@@ -0,0 +1,36 @@
+kind: autotools
+
+sources:
+# The tarball does not build. We need to build from git.
+- kind: git_tag
+ url: github_com:endlessm/eos-installer.git
+ track-tags: true
+ track: master
+ track-extra:
+ - eos3.7
+ submodules:
+ ext/libglnx:
+ url: gitlab_gnome_org:GNOME/libglnx.git
+ checkout: true
+- kind: patch
+ path: files/eos-installer/xattr-path.patch
+- kind: patch
+ path: files/eos-installer/vfat-eosimages.patch
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/gnupg.bst
+- core-deps/udisks2.bst
+- core/gnome-desktop.bst
+- sdk/glib-networking.bst
+- sdk/glib.bst
+- sdk/gtk+-3.bst
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- freedesktop-sdk.bst:components/git-minimal.bst
+- core-deps/intltool.bst
+- iso/gnome-common.bst
+
+runtime-depends:
+- core/gnome-session.bst
diff --git a/elements/iso/gnome-common.bst b/elements/iso/gnome-common.bst
new file mode 100644
index 00000000..88b4c159
--- /dev/null
+++ b/elements/iso/gnome-common.bst
@@ -0,0 +1,14 @@
+kind: autotools
+sources:
+- kind: git_tag
+ url: gitlab_gnome_org:GNOME/gnome-common.git
+ track: master
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/autoconf-archive.bst
+public:
+ bst:
+ overlap-whitelist:
+ - 'usr/share/aclocal/*.m4'
diff --git a/files/eos-installer/vfat-eosimages.patch b/files/eos-installer/vfat-eosimages.patch
new file mode 100644
index 00000000..c0255e05
--- /dev/null
+++ b/files/eos-installer/vfat-eosimages.patch
@@ -0,0 +1,15 @@
+diff --git a/eos-installer-data/run-mount-eosimages.mount b/eos-installer-data/run-mount-eosimages.mount
+index 108656b..12106de 100644
+--- a/eos-installer-data/run-mount-eosimages.mount
++++ b/eos-installer-data/run-mount-eosimages.mount
+@@ -4,8 +4,8 @@ Description=Endless OS reformatter images partition
+ [Mount]
+ What=LABEL=eosimages
+ Where=/run/mount/eosimages
+-Type=exfat
+-Options=rw,noatime,nodev,nosuid,noexec,nofail,allow_other
++Type=vfat
++Options=ro,noatime,nodev,nosuid,noexec,nofail
+ DirectoryMode=0755
+
+ [Install]
diff --git a/files/eos-installer/xattr-path.patch b/files/eos-installer/xattr-path.patch
new file mode 100644
index 00000000..5129ee4f
--- /dev/null
+++ b/files/eos-installer/xattr-path.patch
@@ -0,0 +1,13 @@
+diff --git a/gnome-image-installer/pages/finished/gis-finished-page.c
b/gnome-image-installer/pages/finished/gis-finished-page.c
+index cd90208..929a40b 100644
+--- a/gnome-image-installer/pages/finished/gis-finished-page.c
++++ b/gnome-image-installer/pages/finished/gis-finished-page.c
+@@ -40,7 +40,7 @@
+ #include <locale.h>
+ #include <stdlib.h>
+ #include <errno.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+
+ #include <udisks/udisks.h>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]