From aa4868db67219d83d810dfea9f04874c9cc2b7d5 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Sat, 16 Aug 2014 18:31:57 +0200 Subject: [PATCH 1/1] Add /etc/machine-info. --- Makefile | 1 + conf/machine-info | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 conf/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= -- 2.41.0