summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-04-29 17:15:21 (GMT)
committerBaserock Gerrit <gerrit@baserock.org>2015-06-23 22:46:35 (GMT)
commit8424953a31f4f3e6ea6b0fc749e48759f315ef40 (patch)
tree81969be24545c3e41eb6cc48de44bb76a7da49a8
parent7aac2eb29cf0dd3df37ef1779d4f13c4128301a6 (diff)
downloaddefinitions-baserock/pedroalvarez/improve-mason-report.tar.gz
essential-files: create symlink /etc/os-release -> /usr/lib/os-releasebaserock/pedroalvarez/improve-mason-report
systemd is moving towards having /usr to be vendor operating system only, whilst /etc will be used for configuration only (the contents of this directory could be erased to do a factory reset) [1]. /usr/lib is the recommended place to place this file [2] [1] http://0pointer.net/blog/projects/stateless.html [2] http://www.freedesktop.org/software/systemd/man/os-release.html This has been reported by Tiago Gomes Change-Id: I58dd711fac162751a71e8a7d9c65ce9583a23cc7
l---------[-rw-r--r--]install-files/essential-files/etc/os-release6
-rw-r--r--install-files/essential-files/manifest3
-rw-r--r--install-files/essential-files/usr/lib/os-release5
3 files changed, 8 insertions, 6 deletions
diff --git a/install-files/essential-files/etc/os-release b/install-files/essential-files/etc/os-release
index b729c75..c4c75b4 100644..120000
--- a/install-files/essential-files/etc/os-release
+++ b/install-files/essential-files/etc/os-release
@@ -1,5 +1 @@
-NAME="Baserock"
-ID=baserock
-HOME_URL="http://wiki.baserock.org"
-SUPPORT_URL="http://wiki.baserock.org/mailinglist"
-BUG_REPORT_URL="http://wiki.baserock.org/mailinglist"
+../usr/lib/os-release \ No newline at end of file
diff --git a/install-files/essential-files/manifest b/install-files/essential-files/manifest
index 4ef270d..93095d8 100644
--- a/install-files/essential-files/manifest
+++ b/install-files/essential-files/manifest
@@ -1,10 +1,11 @@
0040755 0 0 /etc
-overwrite 0100644 0 0 /etc/os-release
+overwrite 0120000 0 0 /etc/os-release
overwrite 0100644 0 0 /etc/profile
overwrite 0100644 0 0 /etc/inputrc
0040755 0 0 /usr
0040755 0 0 /usr/bin
0100755 0 0 /usr/bin/brpaste
0040755 0 0 /usr/lib
+0100644 0 0 /usr/lib/os-release
0040755 0 0 /usr/lib/tmpfiles.d
0100644 0 0 /usr/lib/tmpfiles.d/shutdownramfs.conf
diff --git a/install-files/essential-files/usr/lib/os-release b/install-files/essential-files/usr/lib/os-release
new file mode 100644
index 0000000..b729c75
--- /dev/null
+++ b/install-files/essential-files/usr/lib/os-release
@@ -0,0 +1,5 @@
+NAME="Baserock"
+ID=baserock
+HOME_URL="http://wiki.baserock.org"
+SUPPORT_URL="http://wiki.baserock.org/mailinglist"
+BUG_REPORT_URL="http://wiki.baserock.org/mailinglist"