[gnome-sdk-images] Add /etc/issue
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sdk-images] Add /etc/issue
- Date: Tue, 21 Feb 2017 13:54:44 +0000 (UTC)
commit 301e9271581018c992b17b712501f0195ef2591b
Author: Alexander Larsson <alexl redhat com>
Date: Tue Feb 21 14:52:37 2017 +0100
Add /etc/issue
Makefile | 2 +-
issue.in | 1 +
issue.net.in | 1 +
org.gnome.Sdk.json.in | 8 ++++++++
os-release-configure | 3 +++
5 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index c7f6704..6f42b01 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ SDK_BRANCH=master
SDK_RUNTIME_VERSION=1.4
# Canned recipe for generating metadata
-SUBST_FILES=org.gnome.Sdk.json os-release org.gnome.Platform.appdata.xml org.gnome.Sdk.appdata.xml
+SUBST_FILES=org.gnome.Sdk.json os-release issue issue.net org.gnome.Platform.appdata.xml
org.gnome.Sdk.appdata.xml
define subst-metadata
@echo -n "Generating files: ${SUBST_FILES}... ";
@for file in ${SUBST_FILES}; do \
diff --git a/issue.in b/issue.in
new file mode 100644
index 0000000..feec647
--- /dev/null
+++ b/issue.in
@@ -0,0 +1 @@
+Gnome Platform @@SDK_BRANCH@@ \n \l
diff --git a/issue.net.in b/issue.net.in
new file mode 100644
index 0000000..9d30252
--- /dev/null
+++ b/issue.net.in
@@ -0,0 +1 @@
+Gnome Platform @@SDK_BRANCH@@ %h
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 42169d1..0d442a9 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -870,6 +870,14 @@
},
{
"type": "file",
+ "path": "issue"
+ },
+ {
+ "type": "file",
+ "path": "issue.net"
+ },
+ {
+ "type": "file",
"path": "org.gnome.Sdk.appdata.xml"
},
{
diff --git a/os-release-configure b/os-release-configure
index 1094d64..25009e5 100755
--- a/os-release-configure
+++ b/os-release-configure
@@ -7,6 +7,9 @@ install:
mkdir -p ${DESTDIR}/usr/lib
install os-release ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/appdata
+ mkdir -p ${DESTDIR}/etc
+ install issue ${DESTDIR}/etc
+ install issue.net ${DESTDIR}/etc
install org.gnome.Platform.appdata.xml ${DESTDIR}/usr/share/appdata
install org.gnome.Sdk.appdata.xml ${DESTDIR}/usr/share/appdata
appstream-compose --basename=org.gnome.Platform --prefix=/usr --origin=flatpak org.gnome.Platform
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]