[gnome-initial-setup/shell/4765: 38/362] Add product_serial.conf file



commit f0e1f8450c8f2699f5258db55a3fa1499c9bc738
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.
    
    [endlessm/eos-shell#2437]

 data/Makefile.am         |    6 ++++++
 data/product_serial.conf |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index c95ef81..2bc3448 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -53,6 +53,7 @@ CLEANFILES =                                          \
        gnome-welcome-tour.desktop.in                   \
        gnome-welcome-tour.desktop                      \
        gnome-welcome-tour                              \
+        product_serial.conf                             \
        $(NULL)
 
 autostartdir = $(sysconfdir)/xdg/autostart
@@ -62,6 +63,11 @@ autostart_DATA =                                     \
        gnome-initial-setup-first-login.desktop         \
        $(NULL)
 
+tmpfilesdir = $(sysconfdir)/tmpfiles.d
+tmpfiles_DATA =                                         \
+        product_serial.conf                             \
+        $(NULL)
+
 bin_SCRIPTS =                                          \
        gnome-welcome-tour                              \
        $(NULL)
diff --git a/data/product_serial.conf b/data/product_serial.conf
new file mode 100644
index 0000000..5f36d92
--- /dev/null
+++ b/data/product_serial.conf
@@ -0,0 +1 @@
+z    /sys/devices/virtual/dmi/id/product_serial 0440 root nogroup - -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]