Commit ba1a41b1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Alexander Larsson

Add /usr/lib/os-release

Some tools (such as gnome-software) rely on this file.
parent fc24f64a
......@@ -11,7 +11,7 @@ SDK_BRANCH=3.20
SDK_RUNTIME_VERSION=1.4
# Canned recipe for generating metadata
SUBST_FILES=org.gnome.Sdk.json metadata.sdk metadata.platform
SUBST_FILES=org.gnome.Sdk.json metadata.sdk metadata.platform os-release
define subst-metadata
@echo -n "Generating files: ${SUBST_FILES}... ";
@for file in ${SUBST_FILES}; do \
......
......@@ -780,6 +780,20 @@
"commands": ["autoreconf -f"]
}
]
},
{
"name": "os-release",
"sources": [
{
"type": "file",
"path": "os-release"
},
{
"type": "file",
"path": "os-release-configure",
"dest-filename": "configure"
}
]
}
]
}
#!/bin/sh
cat <<EOF > Makefile
all:
install:
mkdir -p $(DESTDIR)/usr/lib
install os-release $(DESTDIR)/usr/lib
EOF
NAME=GNOME
VERSION=@@SDK_BRANCH@@ (Flatpak runtime)
VERSION_ID=@@SDK_BRANCH@@
ID=org.gnome.Platform
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment