From: Antoine Jacoutot Date: Sat, 16 Aug 2014 16:31:57 +0000 (+0200) Subject: Add /etc/machine-info. X-Git-Tag: gsoc-final~5 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=commitdiff_plain;h=aa4868db67219d83d810dfea9f04874c9cc2b7d5 Add /etc/machine-info. --- diff --git a/Makefile b/Makefile index bcfab91..9eea11e 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,7 @@ _install_conf: _generate_servicefiles ${INSTALL_DATA_DIR} $(DESTDIR)$(DBUS_POLICYDIR) ${INSTALL_DATA_DIR} $(DESTDIR)$(DBUS_CONFIGDIR) ${INSTALL_DATA_DIR} $(DESTDIR)$(POLKIT_POLICYDIR) + ${INSTALL_DATA} $(CONFDIR)/machine-info $(DESTDIR)$(SYSCONFDIR)/ ${INSTALL_DATA} $(POLICYDIR)/*-dbus.conf $(DESTDIR)$(DBUS_POLICYDIR)/ ${INSTALL_DATA} $(SERVICEFDIR)/*.service $(DESTDIR)$(DBUS_CONFIGDIR)/ ${INSTALL_DATA} $(POLKITDIR)/*.policy $(DESTDIR)$(POLKIT_POLICYDIR)/ diff --git a/conf/machine-info b/conf/machine-info new file mode 100644 index 0000000..4d14f2b --- /dev/null +++ b/conf/machine-info @@ -0,0 +1,6 @@ +# XXX this file should not be an ini file; +# it should contain parsable variables +[hostnamed] +PRETTY_HOSTNAME= +ICON_NAME= +CHASSIS=