2007-06-27 12:30:57 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 OpenedHand Ltd.
|
|
|
|
#
|
|
|
|
|
2012-08-31 14:43:49 +00:00
|
|
|
SUMMARY = "Minimal boot requirements"
|
|
|
|
DESCRIPTION = "The minimal set of packages required to boot the system"
|
2010-06-12 06:02:26 +00:00
|
|
|
LICENSE = "MIT"
|
2014-03-05 17:17:18 +00:00
|
|
|
PR = "r17"
|
2007-06-27 12:30:57 +00:00
|
|
|
|
2012-07-26 17:16:14 +00:00
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
|
2014-08-19 12:36:45 +00:00
|
|
|
inherit packagegroup
|
|
|
|
|
2007-07-09 19:24:54 +00:00
|
|
|
#
|
|
|
|
# Set by the machine configuration with packages essential for device bootup
|
|
|
|
#
|
2007-06-27 12:44:06 +00:00
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
|
2007-07-09 19:24:54 +00:00
|
|
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
|
2007-06-27 12:44:06 +00:00
|
|
|
|
2011-12-21 07:58:22 +00:00
|
|
|
# Distro can override the following VIRTUAL-RUNTIME providers:
|
2011-07-26 22:23:31 +00:00
|
|
|
VIRTUAL-RUNTIME_dev_manager ?= "udev"
|
2013-06-06 07:48:04 +00:00
|
|
|
VIRTUAL-RUNTIME_login_manager ?= "busybox"
|
2013-03-20 17:00:06 +00:00
|
|
|
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
|
|
|
|
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
2011-12-21 07:58:22 +00:00
|
|
|
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
2011-07-26 22:23:31 +00:00
|
|
|
|
2014-04-24 18:59:20 +00:00
|
|
|
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
|
2013-08-02 01:40:07 +00:00
|
|
|
modutils-initscripts \
|
|
|
|
init-ifupdown \
|
2014-09-03 07:09:15 +00:00
|
|
|
${VIRTUAL-RUNTIME_initscripts} \
|
2013-08-02 01:40:07 +00:00
|
|
|
"
|
|
|
|
|
2012-07-26 17:16:14 +00:00
|
|
|
RDEPENDS_${PN} = "\
|
2007-06-27 12:30:57 +00:00
|
|
|
base-files \
|
|
|
|
base-passwd \
|
|
|
|
busybox \
|
2014-04-24 18:59:20 +00:00
|
|
|
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
|
|
|
|
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
2007-06-27 12:30:57 +00:00
|
|
|
netbase \
|
2011-08-25 07:24:14 +00:00
|
|
|
${VIRTUAL-RUNTIME_login_manager} \
|
|
|
|
${VIRTUAL-RUNTIME_init_manager} \
|
2011-07-26 22:23:31 +00:00
|
|
|
${VIRTUAL-RUNTIME_dev_manager} \
|
2007-10-15 15:48:19 +00:00
|
|
|
${VIRTUAL-RUNTIME_update-alternatives} \
|
2007-06-27 12:40:47 +00:00
|
|
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
2007-07-09 19:24:54 +00:00
|
|
|
|
2012-07-26 17:16:14 +00:00
|
|
|
RRECOMMENDS_${PN} = "\
|
2007-08-09 09:20:07 +00:00
|
|
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|