summaryrefslogtreecommitdiffstats
path: root/rules/datapartition.make
blob: 99581862f197c41a79e46742fd71dfd15ccbff86 (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
37
38
39
40
# -*-makefile-*-
#
# Copyright (C) 2016 by Robert Schwebel <r.schwebel@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_DATAPARTITION) += datapartition

DATAPARTITION_VERSION	:= 1

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

$(STATEDIR)/datapartition.targetinstall:
	@$(call targetinfo)

	@$(call install_init, datapartition)
	@$(call install_fixup,datapartition,PRIORITY,optional)
	@$(call install_fixup,datapartition,SECTION,base)
	@$(call install_fixup,datapartition,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup,datapartition,DESCRIPTION,missing)

	@$(call install_alternative, datapartition, 0, 0, 0644, \
		/usr/lib/systemd/system/systemd-autoformat@.service)
	@$(call install_alternative, datapartition, 0, 0, 0644, \
		/usr/lib/udev/rules.d/91-mkfs-ext4.rules)

	@$(call install_finish,datapartition)

	@$(call touch)

# vim: syntax=make