summaryrefslogtreecommitdiffstats
path: root/rules/machine-id.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-10-01 08:51:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-10-12 15:59:22 +0200
commit3771ae66d16983bf34e443f6c84f8e81899872cf (patch)
tree008e0e13735690b76aa0909338414f05eb0fe5ba /rules/machine-id.in
parent36173fa9ee0bff1bd2ed9e5d430f9015a1d0c266 (diff)
downloadptxdist-3771ae66d16983bf34e443f6c84f8e81899872cf.tar.gz
ptxdist-3771ae66d16983bf34e443f6c84f8e81899872cf.tar.xz
add a separate package for /etc/machine-id
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/machine-id.in')
-rw-r--r--rules/machine-id.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/rules/machine-id.in b/rules/machine-id.in
new file mode 100644
index 000000000..df958371c
--- /dev/null
+++ b/rules/machine-id.in
@@ -0,0 +1,11 @@
+## SECTION=initmethod
+
+config MACHINE_ID
+ tristate
+ prompt "create /etc/machine-id"
+ select RC_ONCE
+ select UTIL_LINUX_NG if !INITMETHOD_SYSTEMD
+ select UTIL_LINUX_NG_UUIDGEN if !INITMETHOD_SYSTEMD
+ help
+ Enable this to make sure there is always a unique /etc/machine-id
+ available in the system.