summaryrefslogtreecommitdiff
path: root/packages/tasks/task-pivotboot.bb
blob: 14397e288c7745d45557b6ff645909dba55d0967 (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
DESCRIPTION = "Basic packages required for a pivot root image"
PR = "r0"

# The PIVOTBOOT_EXTRA_ variables are often manipulated by the
# MACHINE .conf files, so adjust PACKAGE_ARCH accordingly.
PACKAGE_ARCH = "${MACHINE_ARCH}"

ALLOW_EMPTY = "1"
PACKAGES = "${PN}"

MODUTILS ?= "24 26"

require task-bootstrap.inc

HOTPLUG ?= "linux-hotplug"
PIVOTBOOT_EXTRA_RDEPENDS ?= ""
PIVOTBOOT_EXTRA_RRECOMMENDS ?= ""

RDEPENDS = 'base-files base-passwd busybox \
	netbase modutils-initscripts \
	${HOTPLUG} \
	${PIVOTBOOT_EXTRA_RDEPENDS} \
	${@bootstrap_modutils_rdepends(d)}'

RRECOMMENDS = '${PIVOTBOOT_EXTRA_RRECOMMENDS}'
LICENSE = "MIT"