[gnome-initial-setup/wip/pwithnall/misc-fixes: 4/70] Add product_serial.conf file
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/pwithnall/misc-fixes: 4/70] Add product_serial.conf file
- Date: Fri, 11 Sep 2020 13:29:07 +0000 (UTC)
commit c3f53b28f7f7674b04dd97d566c41d611cf9ce30
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue May 20 16:48:27 2014 +0200
Add product_serial.conf file
A tmpfile.d file that changes the owner/permissions of file containing
the product serial, so during FBE can be read.
Reference to related tickets:
https://phabricator.endlessm.com/T2203
https://phabricator.endlessm.com/T2437
https://phabricator.endlessm.com/T2670
data/meson.build | 7 +++++++
data/product_serial.conf | 1 +
2 files changed, 8 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 3cc04977..ec3378dd 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -79,3 +79,10 @@ mode_dir = join_paths(data_dir, 'gnome-shell', 'modes')
install_data('initial-setup.json', install_dir: mode_dir)
install_data('gnome-welcome-tour', install_dir: get_option('libexecdir'))
+
+systemd_dep = dependency ('systemd')
+
+install_data(
+ 'product_serial.conf',
+ install_dir: systemd_dep.get_pkgconfig_variable('tmpfilesdir')
+)
diff --git a/data/product_serial.conf b/data/product_serial.conf
new file mode 100644
index 00000000..7ca100fb
--- /dev/null
+++ b/data/product_serial.conf
@@ -0,0 +1 @@
+z /sys/devices/virtual/dmi/id/product_uuid 0444 root nogroup - -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]