summaryrefslogtreecommitdiffstats
path: root/rules/machine-id.make
blob: 3883d64cba3a2cf36677a63fc73bbca51fd9ed0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*-makefile-*-
#
# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_MACHINE_ID) += machine-id

MACHINE_ID_VERSION	:= 1
MACHINE_ID_LICENSE	:= ignore

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/machine-id.targetinstall:
	@$(call targetinfo)

	@$(call install_init, machine-id)
	@$(call install_fixup,machine-id,PRIORITY,optional)
	@$(call install_fixup,machine-id,SECTION,base)
	@$(call install_fixup,machine-id,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup,machine-id,DESCRIPTION,missing)

	@$(call install_alternative, machine-id, 0, 0, 0755, /etc/rc.once.d/machine-id)

	@$(call install_finish,machine-id)

	@$(call touch)

# vim: syntax=make