summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/tasks/task-moblin-boot.bb
blob: 97d9a52f4167dcb7dd51e78dc7863635962f67e0 (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
#
# Copyright (C) 2008 Intel Corporation.
#

DESCRIPTION = "Task for Moblin - minimal bootable image"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "virtual/kernel"
ALLOW_EMPTY = "1"
PR = "r8"

#
# Set by the machine configuration with packages essential for device bootup
#
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""

RDEPENDS_task-moblin-boot = "\
    base-files \
    base-passwd \
    busybox \
    initscripts \
    ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
    modutils-initscripts \
    netbase \
    sysvinit \
    tinylogin \
    udev \
    ${VIRTUAL-RUNTIME_update-alternatives} \
    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"

RDEPENDS_task-moblin-boot_append_netbook = "\
    sreadahead \
    sreadahead-generate \
    "

RDEPENDS_task-moblin-boot_append_menlow = "\
    sreadahead \
    sreadahead-generate \
    "

RRECOMMENDS_task-moblin-boot = "\
    ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"