aboutsummaryrefslogtreecommitdiff
path: root/recipes/tasks/task-openprotium.bb
blob: 9197b699fd151230f42497b48c4c739fcc3cca6e (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
DESCRIPTION = "Basic image for openprotium"
HOMEPAGE = "http://www.openprotium.org"
ALLOW_EMPTY = "1"
PR = "r4"

inherit task
DISTRO_SSH_DAEMON ?= "dropbear"
IMAGE_DEV_MANAGER ?= ""
DISTRO_INIT_MANAGER ?= ""
DISTRO_LOGIN_MANAGER ?= ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
# be sure to build the kernel:
DEPENDS = "virtual/kernel"

# always make this one for testing.
DISTRO_KERNEL_MODULES = "kernel-module-dummy"
# do we still need this?
DISTRO_KERNEL_MODULES += "kernel-module-af-packet"
# unused for now
#DISTRO_KERNEL_MODULES += "kernel-module-netconsole"

# these are listed separately because the are not needed 
# for boot, but are needed by reflash, etc.
DISTRO_EXTRA_RDEPENDS += "diffutils cpio findutils"

# pick up the fw_set/get env utils.
DISTRO_EXTRA_RDEPENDS += "u-boot-utils"

RDEPENDS_${PN} = " kernel \
	base-files \
	base-passwd \
	netbase \
	busybox \
	openprotium-init \
	initscripts-openprotium \
	update-modules \
	module-init-tools \  
	modutils-initscripts \
	portmap \
	util-linux-ng-blkid \
	mdadm \
	hdparm \
	mtd-utils \
	${DISTRO_SSH_DAEMON} \
	${IMAGE_DEV_MANAGER} \
	${DISTRO_INIT_MANAGER} \
	${DISTRO_LOGIN_MANAGER} \
	${DISTRO_KERNEL_MODULES} \
	${MACHINE_EXTRA_RDEPENDS} \
	${DISTRO_EXTRA_RDEPENDS} "

RRECOMMENDS_${PN} += " \
	${DISTRO_EXTRA_RRECOMMENDS} \
	${MACHINE_EXTRA_RRECOMMENDS}"