add package groups
This commit is contained in:
parent
a10f7f5417
commit
4caa53d3a4
@ -6,50 +6,12 @@ LICENSE = "MIT"
|
||||
inherit core-image
|
||||
inherit image-buildinfo
|
||||
|
||||
# base system packages
|
||||
OS_BASE = " \
|
||||
base-files \
|
||||
base-passwd \
|
||||
busybox \
|
||||
busybox-syslog \
|
||||
initscripts \
|
||||
netbase \
|
||||
networkmanager \
|
||||
networkmanager-nmtui \
|
||||
init-ifupdown \
|
||||
tzdata \
|
||||
"
|
||||
|
||||
# standard userspace tools
|
||||
OS_TOOLS = " \
|
||||
dropbear \
|
||||
less \
|
||||
htop \
|
||||
screen \
|
||||
nano \
|
||||
"
|
||||
|
||||
# system hardening
|
||||
HARDENING = " \
|
||||
hidepid \
|
||||
"
|
||||
|
||||
# helium base packages
|
||||
HELIUM_BASE = " \
|
||||
helium-repos \
|
||||
htoprc \
|
||||
"
|
||||
|
||||
# helium extra tools
|
||||
HELIUM_TOOLS = " \
|
||||
"
|
||||
|
||||
IMAGE_INSTALL += " \
|
||||
${OS_BASE} \
|
||||
${OS_TOOLS} \
|
||||
${HARDENING} \
|
||||
${HELIUM_BASE} \
|
||||
${HELIUM_TOOLS} \
|
||||
packagegroup-system-base \
|
||||
packagegroup-system-tools \
|
||||
packagegroup-hardening \
|
||||
packagegroup-helium-base \
|
||||
packagegroup-helium-tools \
|
||||
"
|
||||
|
||||
IMAGE_FEATURES += " \
|
||||
|
||||
5
recipes-core/packagegroups/helium-packagegroup.inc
Normal file
5
recipes-core/packagegroups/helium-packagegroup.inc
Normal file
@ -0,0 +1,5 @@
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
inherit packagegroup
|
||||
6
recipes-core/packagegroups/packagegroup-hardening.bb
Normal file
6
recipes-core/packagegroups/packagegroup-hardening.bb
Normal file
@ -0,0 +1,6 @@
|
||||
DESCRIPTION = "System hardening package group"
|
||||
require helium-packagegroup.inc
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
hidepid \
|
||||
"
|
||||
7
recipes-core/packagegroups/packagegroup-helium-base.bb
Normal file
7
recipes-core/packagegroups/packagegroup-helium-base.bb
Normal file
@ -0,0 +1,7 @@
|
||||
DESCRIPTION = "Helium base package group"
|
||||
require helium-packagegroup.inc
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
helium-repos \
|
||||
htoprc \
|
||||
"
|
||||
5
recipes-core/packagegroups/packagegroup-helium-tools.bb
Normal file
5
recipes-core/packagegroups/packagegroup-helium-tools.bb
Normal file
@ -0,0 +1,5 @@
|
||||
DESCRIPTION = "Helium tools package group"
|
||||
require helium-packagegroup.inc
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
"
|
||||
16
recipes-core/packagegroups/packagegroup-system-base.bb
Normal file
16
recipes-core/packagegroups/packagegroup-system-base.bb
Normal file
@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "Base system package group"
|
||||
require helium-packagegroup.inc
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
base-files \
|
||||
base-passwd \
|
||||
busybox \
|
||||
busybox-syslog \
|
||||
initscripts \
|
||||
netbase \
|
||||
networkmanager \
|
||||
networkmanager-nmtui \
|
||||
init-ifupdown \
|
||||
tzdata \
|
||||
dropbear \
|
||||
"
|
||||
9
recipes-core/packagegroups/packagegroup-system-tools.bb
Normal file
9
recipes-core/packagegroups/packagegroup-system-tools.bb
Normal file
@ -0,0 +1,9 @@
|
||||
DESCRIPTION = "System tools package group"
|
||||
require helium-packagegroup.inc
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
less \
|
||||
htop \
|
||||
screen \
|
||||
nano \
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user