diff options
Diffstat (limited to 'recipes-core/packagegroups/packagegroup-enea-core-boot.bb')
| -rw-r--r-- | recipes-core/packagegroups/packagegroup-enea-core-boot.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes-core/packagegroups/packagegroup-enea-core-boot.bb b/recipes-core/packagegroups/packagegroup-enea-core-boot.bb new file mode 100644 index 0000000..9006a3d --- /dev/null +++ b/recipes-core/packagegroups/packagegroup-enea-core-boot.bb | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | SUMMARY = "Minimal boot requirements" | ||
| 6 | DESCRIPTION = "The minimal and busybox set of packages required to boot the system" | ||
| 7 | LICENSE = "MIT" | ||
| 8 | DEPENDS = "virtual/kernel" | ||
| 9 | PR = "r11" | ||
| 10 | |||
| 11 | inherit packagegroup | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | # | ||
| 16 | # Set by the machine configuration with packages essential for device bootup | ||
| 17 | # | ||
| 18 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
| 19 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
| 20 | |||
| 21 | # For backwards compatibility after rename | ||
| 22 | RPROVIDES_${PN} = "task-core-boot" | ||
| 23 | RREPLACES_${PN} = "task-core-boot" | ||
| 24 | RCONFLICTS_${PN} = "task-core-boot" | ||
| 25 | |||
| 26 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
| 27 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | ||
| 28 | VIRTUAL-RUNTIME_login_manager ?= "busybox" | ||
| 29 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | ||
| 30 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
| 31 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
| 32 | |||
| 33 | RDEPENDS_${PN} += "\ | ||
| 34 | base-files \ | ||
| 35 | base-passwd \ | ||
| 36 | ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ | ||
| 37 | modutils-initscripts \ | ||
| 38 | netbase \ | ||
| 39 | init-ifupdown \ | ||
| 40 | ${VIRTUAL-RUNTIME_login_manager} \ | ||
| 41 | ${VIRTUAL-RUNTIME_init_manager} \ | ||
| 42 | ${VIRTUAL-RUNTIME_initscripts} \ | ||
| 43 | ${VIRTUAL-RUNTIME_dev_manager} \ | ||
| 44 | ${VIRTUAL-RUNTIME_update-alternatives} \ | ||
| 45 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" | ||
| 46 | |||
| 47 | RDEPENDS_${PN}_append_fslmachine = " u-boot" | ||
| 48 | RDEPENDS_${PN}_append_p2041 = " fm-ucode rcw" | ||
| 49 | RDEPENDS_${PN}_append_p4080 = " fm-ucode rcw" | ||
| 50 | RDEPENDS_${PN} += "\ | ||
| 51 | busybox \ | ||
| 52 | ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \ | ||
| 53 | " | ||
| 54 | |||
| 55 | RDEPENDS_${PN}_append_x86 = "\ | ||
| 56 | kernel-vmlinux \ | ||
| 57 | kernel \ | ||
| 58 | " | ||
| 59 | RDEPENDS_${PN}_append_x86-64 = "\ | ||
| 60 | kernel-vmlinux \ | ||
| 61 | kernel \ | ||
| 62 | " | ||
| 63 | |||
| 64 | RRECOMMENDS_${PN} = "\ | ||
| 65 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" | ||
