builds and runs on intel-x86 and rpi4 with acceptable realtime performance
This commit is contained in:
1 parent
2bce6fa556
commit
3faf544f0b
120 files changed
+6317
-1
No files matched your search
@@ -0,0 +1,98 @@
|
||||
SUMMARY = "Terminal-Only image with realtime optimizations"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r5"
|
||||
|
||||
IMAGE_INSTALL = " \
|
||||
${@bb.utils.contains('IMAGE_ENABLE_CONTAINER', '1', '', 'kernel-modules', d)} \
|
||||
packagegroup-base-extended \
|
||||
packagegroup-wr-base \
|
||||
packagegroup-wr-base-net \
|
||||
packagegroup-wr-base-discrete-tools \
|
||||
packagegroup-core-boot \
|
||||
packagegroup-plcos-core \
|
||||
hwlatdetect \
|
||||
tuned \
|
||||
openplc \
|
||||
rt-setup \
|
||||
i2c-tools \
|
||||
spitools \
|
||||
libgpiod \
|
||||
"
|
||||
#nfs-utils-client
|
||||
#packagegroup-wr-boot
|
||||
#swap "boot install" to "install boot" to try and get install to show up first in grub.cfg for hands-off autoinstall
|
||||
#install lines should be stripped during install-efi.sh anyway
|
||||
LABELS_LIVE = "install boot"
|
||||
inherit wrlinux-image
|
||||
inherit rtopts
|
||||
|
||||
#############################################################
|
||||
#IMAGE_FEATURES += " package-management wr-core-db wr-core-interactive wr-core-net wr-core-perl wr-core-python wr-core-sys-util wr-core-util wr-core-mail wr-bsps "
|
||||
|
||||
# ssh-server-openssh
|
||||
|
||||
DISTRO_FEATURES += " polkit "
|
||||
IMAGE_FEATURES += " splash package-management"
|
||||
#IMAGE_FEATURES += " ssh-server-dropbear hwcodecs "
|
||||
#CORE_IMAGE_BASE_INSTALL += " openssh"
|
||||
#linuxcnc linuxcnc-doc"
|
||||
|
||||
#DEPENDS += " cdrtools-native"
|
||||
|
||||
QB_MEM = "-m 2048"
|
||||
|
||||
IMAGE_FSTYPES += "wic wic.bmap"
|
||||
#WKS_FILE = "sdimage_bootpart.wks mkefidisk.wks"
|
||||
|
||||
inherit extrausers
|
||||
|
||||
IMAGE_EFI_BOOT_FILES:append := "${KERNEL_IMAGETYPE}-*"
|
||||
IMAGE_BOOT_FILES:append := "${KERNEL_IMAGETYPE}-*"
|
||||
#TODO reference GRUB_IMAGE destination name via variables, otherwise this could break possible future 32 bit builds
|
||||
IMAGE_BOOT_FILES:append:rpi = " \
|
||||
grub.cfg;EFI/BOOT/grub.cfg \
|
||||
bootaa64.efi;EFI/BOOT/bootaa64.efi \
|
||||
"
|
||||
# ${EFI_PROVIDER}-bootaa64.efi:EFI/BOOT/bootaa64.efi
|
||||
#IMAGE_EFI_BOOT_FILES:append := " boot"
|
||||
|
||||
python do_bootimg:prepend() {
|
||||
#import os
|
||||
import glob
|
||||
deploy_dir = d.getVar("DEPLOY_DIR_IMAGE")
|
||||
os.system("install -d " + deploy_dir)
|
||||
iso_dir = d.getVar("ISODIR")
|
||||
os.system("install -d " + iso_dir)
|
||||
hdd_dir = d.getVar("HDDDIR")
|
||||
os.system("install -d " + hdd_dir)
|
||||
img_type = d.getVar("KERNEL_IMAGETYPE")
|
||||
files = glob.glob(deploy_dir + "/" + img_type + "-*")
|
||||
for file in files:
|
||||
os.system("install -m 644 -t " + iso_dir + " " + file + " | install -m 644 -t " + hdd_dir + " " + file )
|
||||
}
|
||||
python do_image:append() {
|
||||
# try:
|
||||
# os.system("ln -s /boot/EFI/BOOT " + d.getVar("ROOTFS") + "/boot/grub")
|
||||
# except E:
|
||||
# pass
|
||||
}
|
||||
efi_iso_populate:append() {
|
||||
# if [ ! -e "${EFIIMGDIR}/grub" ] ; then
|
||||
# ln -s /boot/EFI/BOOT "${EFIIMGDIR}/grub"
|
||||
# fi
|
||||
}
|
||||
|
||||
#below breaks something, it tries to make the file even when it already exists
|
||||
efi_populate:append() {
|
||||
# if [ ! -e "${DEST}/grub" ] ; then
|
||||
# ln -s /boot/EFI/BOOT "${DEST}/grub"
|
||||
# fi
|
||||
}
|
||||
populate_kernel:append() {
|
||||
#mv $dest/${KERNEL_IMAGETYPE} $dest/${KERNEL_IMAGETYPE}-
|
||||
}
|
||||
#hostname:pn-base-files = "plc"
|
||||
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "PLC-OS dev image"
|
||||
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
IMAGE_INSTALL:append := " \
|
||||
lat-plot \
|
||||
stress-ng \
|
||||
efibootmgr \
|
||||
efivar \
|
||||
efitools \
|
||||
"
|
||||
#nfs-utils-client
|
||||
|
||||
inherit wrlinux-image
|
||||
require plcos-image-base.bb
|
||||
inherit extrausers
|
||||
|
||||
IMAGE_FEATURES += " \
|
||||
ssh-server-openssh \
|
||||
"
|
||||
PLCOS_VARIANT = " dev"
|
||||
|
||||
DISTRO_FEATURES += ""
|
||||
EXTRA_IMAGE_FEATURES += "allow-root-login"
|
||||
|
||||
#CORE_IMAGE_BASE_INSTALL:append := " openssh"
|
||||
|
||||
# The following options will build a companion 'debug filesystem' in addition
|
||||
# to the normal deployable filesystem. This companion system allows a
|
||||
# debugger to know the symbols and related sources. It can be used to
|
||||
# debug a remote 'production' system without having to add the debug symbols
|
||||
# and sources to remote system. If IMAGE_FSTYPES_DEBUGFS is not defined, it
|
||||
# defaults to IMAGE_FSTYPES.
|
||||
#IMAGE_GEN_DEBUGFS = "1"
|
||||
#IMAGE_FSTYPES_DEBUGFS = "tar.bz2"
|
||||
#linuxcnc linuxcnc-doc"
|
||||
|
||||
EXTRA_USERS_PARAMS += " useradd plc-dev; \
|
||||
usermod -p '\$6\$TNPZD8XEuoDZWxLo\$WOIudv2UA5eePqcX0qgiS.o0feNZow1cAq9OnYLIZYsE6Jq2n.G/7792z73lx0h6EpBr/FUZpEqIDpWliK7Oy.' plc-dev; \
|
||||
usermod -p '\$6\$siB0EnTKa.T7axfN\$F.zJzll9xMkoe18TI0F8OknfCbsOfOw8hEcKM.6b1WIUqcAa3HyDwwMw.Yz4XrAFu.A1GfKG9dVUvuN/1rj2Y0' root; \
|
||||
usermod -a -G sudo plc-dev; "
|
||||
@@ -0,0 +1,64 @@
|
||||
# PLC-OS Graphical Image with some utilities. Suitable for HMI's, operator consoles, etc.
|
||||
# Although a best-attempt effort has been made to limit this effect, the introduction of graphics may nonetheless limit real-time performance.
|
||||
# This effect may vary from platform to platform, depending on various decisions in a given platform's hardware architecture.
|
||||
# This software is provided as-is, and so it is up to the user to ensure suiable perormance for a given use-case
|
||||
SUMMARY = "PLC-OS graphical image with terminal and Firefox"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r0"
|
||||
require plcos-image-base.bb
|
||||
|
||||
IMAGE_INSTALL += " \
|
||||
packagegroup-base-extended \
|
||||
packagegroup-wr-base \
|
||||
packagegroup-wr-base-net \
|
||||
packagegroup-wr-base-discrete-tools \
|
||||
packagegroup-wr-boot \
|
||||
nfs-utils-client \
|
||||
readline \
|
||||
pcmanfm \
|
||||
gnuplot \
|
||||
matchbox-terminal \
|
||||
firefox \
|
||||
pulseaudio \
|
||||
"
|
||||
#blt
|
||||
# chocolate-doom
|
||||
|
||||
inherit wrlinux-image
|
||||
inherit rtopts
|
||||
|
||||
DISTRO = "plcos-graphics"
|
||||
|
||||
IMAGE_FEATURES += " \
|
||||
hwcodecs \
|
||||
ssh-server-openssh \
|
||||
wr-core-db \
|
||||
wr-core-interactive \
|
||||
wr-core-net \
|
||||
wr-core-perl \
|
||||
wr-core-python \
|
||||
wr-core-sys-util \
|
||||
wr-core-util \
|
||||
wr-core-mail \
|
||||
wr-bsps \
|
||||
"
|
||||
|
||||
|
||||
#DISTRO_FEATURES += " x11 opengl wayland "
|
||||
IMAGE_FEATURES += " splash package-management ssh-server-dropbear hwcodecs weston "
|
||||
|
||||
CORE_IMAGE_BASE_INSTALL += " weston-xwayland matchbox-terminal pcmanfm vim firefox openssh"
|
||||
#linuxcnc linuxcnc-doc"
|
||||
|
||||
QB_MEM = "-m 2048"
|
||||
|
||||
#IMAGE_FSTYPES = "wic
|
||||
inherit extrausers
|
||||
EXTRA_USERS_PARAMS += " usermod -p '\$6\$siB0EnTKa.T7axfN\$F.zJzll9xMkoe18TI0F8OknfCbsOfOw8hEcKM.6b1WIUqcAa3HyDwwMw.Yz4XrAFu.A1GfKG9dVUvuN/1rj2Y0' weston; \
|
||||
usermod -a -G sudo weston; "
|
||||
|
||||
#CUSTOMER_RECIPES:multimedia-layer += 'vlc'
|
||||
@@ -0,0 +1,48 @@
|
||||
SUMMARY = "A very basic Wayland image with a terminal and Chromium"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r5"
|
||||
|
||||
IMAGE_INSTALL = " \
|
||||
${@bb.utils.contains('IMAGE_ENABLE_CONTAINER', '1', '', 'kernel-modules', d)} \
|
||||
packagegroup-base-extended \
|
||||
packagegroup-wr-base \
|
||||
packagegroup-wr-base-net \
|
||||
packagegroup-wr-base-discrete-tools \
|
||||
packagegroup-wr-boot \
|
||||
nfs-utils-client \
|
||||
"
|
||||
inherit wrlinux-image
|
||||
inherit rtopts
|
||||
|
||||
IMAGE_FEATURES += " \
|
||||
package-management \
|
||||
ssh-server-openssh \
|
||||
wr-core-db \
|
||||
wr-core-interactive \
|
||||
wr-core-net \
|
||||
wr-core-perl \
|
||||
wr-core-python \
|
||||
wr-core-sys-util \
|
||||
wr-core-util \
|
||||
wr-core-mail \
|
||||
wr-bsps \
|
||||
"
|
||||
|
||||
|
||||
DISTRO_FEATURES += " x11 opengl wayland pam "
|
||||
IMAGE_FEATURES += " splash package-management ssh-server-dropbear hwcodecs "
|
||||
|
||||
CORE_IMAGE_BASE_INSTALL += " matchbox-terminal pcmanfm vim sway firefox "
|
||||
#linuxcnc linuxcnc-doc"
|
||||
|
||||
QB_MEM = "-m 2048"
|
||||
|
||||
#IMAGE_FSTYPES = "wic
|
||||
inherit extrausers
|
||||
EXTRA_USERS_PARAMS += " useradd sway; \
|
||||
usermod -p '\$6\$siB0EnTKa.T7axfN\$F.zJzll9xMkoe18TI0F8OknfCbsOfOw8hEcKM.6b1WIUqcAa3HyDwwMw.Yz4XrAFu.A1GfKG9dVUvuN/1rj2Y0' sway; \
|
||||
usermod -a -G sudo sway; "
|
||||
@@ -0,0 +1,4 @@
|
||||
# This file is generated automatically by wry
|
||||
PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX = ""
|
||||
PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX:osv-wrlinux = "packagegroup-core-base-utils_wrlinux.inc"
|
||||
require ${PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX}
|
||||
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Copyright (C) 2016 Wind River Systems Inc.
|
||||
#
|
||||
|
||||
RDEPENDS:${PN}:append = " \
|
||||
bc \
|
||||
debianutils-run-parts \
|
||||
dpkg-start-stop \
|
||||
fbset \
|
||||
kbd \
|
||||
netcat \
|
||||
ifupdown \
|
||||
iputils-ping \
|
||||
usleep \
|
||||
util-linux-flock \
|
||||
util-linux-mount \
|
||||
"
|
||||
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems, Inc.
|
||||
#
|
||||
# Based on packagegroup-core-boot.bb of yocto
|
||||
#
|
||||
|
||||
DESCRIPTION = "Package Group for wrlinux - minimal bootable image"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
PR = "r1"
|
||||
|
||||
# Distro can override the following VIRTUAL-RUNTIME providers:
|
||||
VIRTUAL-RUNTIME_dev_manager ?= "udev"
|
||||
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
||||
|
||||
PACKAGES = "\
|
||||
packagegroup-core-boot-wrs \
|
||||
packagegroup-core-boot-wrs-dbg \
|
||||
packagegroup-core-boot-wrs-dev \
|
||||
"
|
||||
|
||||
RDEPENDS:packagegroup-core-boot-wrs = "\
|
||||
base-files \
|
||||
base-passwd \
|
||||
busybox \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${VIRTUAL-RUNTIME_initscripts}", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
||||
modutils-initscripts \
|
||||
netbase \
|
||||
${VIRTUAL-RUNTIME_login_manager} \
|
||||
${VIRTUAL-RUNTIME_init_manager} \
|
||||
${VIRTUAL-RUNTIME_dev_manager} \
|
||||
${VIRTUAL-RUNTIME_update-alternatives} \
|
||||
"
|
||||
@@ -0,0 +1,3 @@
|
||||
PACKAGEGROUP_CORE_BOOT_INC_WRLINUX = "packagegroup-core-boot_wrlinux.inc"
|
||||
require ${PACKAGEGROUP_CORE_BOOT_INC_WRLINUX}
|
||||
RDEPENDS:${PN} += " packagegroup-core-boot-wrs "
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
PACKAGES:append = " packagegroup-wr-boot"
|
||||
|
||||
WR_MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
|
||||
ALLOW_EMPTY:packagegroup-wr-boot = "1"
|
||||
RDEPENDS:packagegroup-wr-boot = "${PN} ${WR_MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
||||
|
||||
# add wr-init
|
||||
RDEPENDS:${PN}:append = " ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','wr-init','',d)}"
|
||||
|
||||
# Need these, but images may choose to pull them from various
|
||||
# packages, e.g. busybox or bash+busybox-oe-min.
|
||||
# The following only works with the RPM backend...
|
||||
FILERDEPENDS_${PN} = "/bin/sh /usr/bin/run-parts /sbin/start-stop-daemon /sbin/ifup"
|
||||
|
||||
# override the default in package-core-boot.bb
|
||||
EFI_PROVIDER ??= "${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'grub-efi', d)}"
|
||||
@@ -0,0 +1,59 @@
|
||||
DESCRIPTION = "PLC-OS core packagegroup"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
STRACE = "strace"
|
||||
STRACE:riscv32 = ""
|
||||
|
||||
|
||||
RDEPENDS:${PN}:append = " \
|
||||
avahi-daemon \
|
||||
bind \
|
||||
bind-utils \
|
||||
curl \
|
||||
s-nail \
|
||||
msmtp \
|
||||
openssh-sftp-server \
|
||||
ppp \
|
||||
tcpdump \
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'wget', d)} \
|
||||
util-linux-fsck \
|
||||
e2fsprogs-e2fsck \
|
||||
e2fsprogs-mke2fs \
|
||||
elfutils \
|
||||
hdparm \
|
||||
iproute2 \
|
||||
iptables \
|
||||
iputils \
|
||||
iw \
|
||||
ldd \
|
||||
lsof \
|
||||
lvm2 \
|
||||
mdadm \
|
||||
mtd-utils \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-wheel', '', d)} \
|
||||
quota \
|
||||
sdparm \
|
||||
setserial \
|
||||
${STRACE} \
|
||||
usbutils \
|
||||
watchdog \
|
||||
wireless-regdb-static \
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'parted', d)} \
|
||||
python3 \
|
||||
python3-misc \
|
||||
python3-modules \
|
||||
grub-editenv \
|
||||
"
|
||||
RRECOMMENDS:${PN} = " \
|
||||
mtd-utils-jffs2 \
|
||||
mtd-utils-ubifs \
|
||||
mtd-utils-misc \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}:append:x86 = " acpica iasl"
|
||||
RDEPENDS:${PN}:append:x86-64 = " acpica iasl"
|
||||
RDEPENDS:${PN}:append:intel-x86 = " acpica iasl"
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2014 Wind River Systems, Inc.
|
||||
#
|
||||
|
||||
# The graphics packages in packagegroup-self-hosted-graphics
|
||||
# are for Build Appliance usage in oe-core which are not
|
||||
# needed in our self-hosted feature.
|
||||
# So drop the graphics packagegroup.
|
||||
PACKAGES:remove = "packagegroup-self-hosted-graphics"
|
||||
RDEPENDS:packagegroup-self-hosted:remove = "packagegroup-self-hosted-graphics"
|
||||
@@ -0,0 +1,2 @@
|
||||
PACKAGEGROUP_SELF_HOST_INC_WRLINUX = "packagegroup-self-host_wrlinux.inc"
|
||||
require ${PACKAGEGROUP_SELF_HOST_INC_WRLINUX}
|
||||
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# Copyright (C) 2012-2016 Wind River Systems Inc.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Core packages for Linux/GNU (non-busybox) runtime images"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
ALLOW_EMPTY:${PN}-net = "1"
|
||||
ALLOW_EMPTY:${PN}-discrete-tools = "1"
|
||||
|
||||
PACKAGES += "${PN}-net ${PN}-net-dbg ${PN}-net-dev"
|
||||
PACKAGES += "${PN}-discrete-tools ${PN}-discrete-tools-dbg ${PN}-discrete-tools-dev"
|
||||
|
||||
# Core userspace package list based roughly on oe-core's
|
||||
# packagegroup-core-initscripts and packagegroup-core-basic-utils:
|
||||
VIRTUAL-RUNTIME_syslog ?= "sysklogd"
|
||||
RDEPENDS:${PN} = "\
|
||||
acl \
|
||||
attr \
|
||||
bash \
|
||||
bc \
|
||||
coreutils \
|
||||
cpio \
|
||||
e2fsprogs \
|
||||
ed \
|
||||
findutils \
|
||||
gawk \
|
||||
grep \
|
||||
iproute2 \
|
||||
kmod \
|
||||
logrotate \
|
||||
mingetty \
|
||||
ncurses \
|
||||
procps \
|
||||
psmisc \
|
||||
sed \
|
||||
sudo \
|
||||
${VIRTUAL-RUNTIME_syslog} \
|
||||
tar \
|
||||
time \
|
||||
udev \
|
||||
util-linux \
|
||||
util-linux-mount \
|
||||
util-linux-umount \
|
||||
util-linux-fstrim \
|
||||
util-linux-hwclock \
|
||||
util-linux-logger \
|
||||
vim \
|
||||
which \
|
||||
"
|
||||
|
||||
# Minimal network environment
|
||||
RDEPENDS:${PN}-net = "\
|
||||
dhcpcd \
|
||||
ethtool \
|
||||
net-tools \
|
||||
rfkill \
|
||||
"
|
||||
|
||||
# Some subsitutes for busybox functions
|
||||
RDEPENDS:${PN}-discrete-tools = "\
|
||||
adduser \
|
||||
debianutils-run-parts \
|
||||
ifupdown \
|
||||
"
|
||||
@@ -0,0 +1,65 @@
|
||||
SUMMARY = "Packages required by bsp"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
|
||||
BSP_EXTRAS_PACKAGES ?= ""
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = ' \
|
||||
packagegroup-wr-bsps \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "parser", "packagegroup-wr-bsps-parser", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "shell-tools", "packagegroup-wr-bsps-shell-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "filesystem", "packagegroup-wr-bsps-filesystem-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "profile", "packagegroup-wr-bsps-profile-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "network", "packagegroup-wr-bsps-network-tools", "", d)} \
|
||||
\
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "bsp-extras", "packagegroup-wr-bsps-bsp-extras", "", d)} \
|
||||
'
|
||||
|
||||
#
|
||||
# packagegroup-wr-bsps contain stuff needed by BSPs (machine related)
|
||||
#
|
||||
RDEPENDS:packagegroup-wr-bsps = "\
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "parser", "packagegroup-wr-bsps-parser", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "shell-tools", "packagegroup-wr-bsps-shell-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "filesystem", "packagegroup-wr-bsps-filesystem-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "profile", "packagegroup-wr-bsps-profile-tools", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "network", "packagegroup-wr-bsps-network-tools", "", d)} \
|
||||
\
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "bsp-extras", "packagegroup-wr-bsps-bsp-extras", "", d)} \
|
||||
"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-parser = "Parser Generator Support"
|
||||
RDEPENDS:packagegroup-wr-bsps-parser = "\
|
||||
flex \
|
||||
bison"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-shell-tools = "Shell tools support"
|
||||
RDEPENDS:packagegroup-wr-bsps-shell-tools = "\
|
||||
dialog"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-filesystem-tools = "Filesystem tools support"
|
||||
RDEPENDS:packagegroup-wr-bsps-filesystem-tools = "\
|
||||
fio \
|
||||
smartmontools"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-profile-tools = "Profile tools support"
|
||||
RDEPENDS:packagegroup-wr-bsps-profile-tools = "\
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'perf', d)}"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-network-tools = "Network tools support"
|
||||
RDEPENDS:packagegroup-wr-bsps-network-tools = "\
|
||||
iperf3"
|
||||
|
||||
SUMMARY:packagegroup-wr-bsps-bsp-extras = "BSP related extras devices tools"
|
||||
RDEPENDS:packagegroup-wr-bsps-bsp-extras = "\
|
||||
${BSP_EXTRAS_PACKAGES} \
|
||||
"
|
||||
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-db definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-db" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: db"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
db \
|
||||
sqlite3 \
|
||||
"
|
||||
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-interactive definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-interactive" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: interactive"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
lrzsz \
|
||||
man \
|
||||
man-pages \
|
||||
minicom \
|
||||
ncurses-tools \
|
||||
vim \
|
||||
vim-common \
|
||||
vim-syntax \
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'screen', d)} \
|
||||
"
|
||||
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Copyright (C) 2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-mail definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-mail" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: mail"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
postfix \
|
||||
"
|
||||
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-net definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-net" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: net"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r2"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
avahi-daemon \
|
||||
bind \
|
||||
bind-utils \
|
||||
curl \
|
||||
s-nail \
|
||||
msmtp \
|
||||
openssh-sftp-server \
|
||||
ppp \
|
||||
tcpdump \
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'wget', d)} \
|
||||
"
|
||||
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-perl definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-perl" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: perl"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
perl \
|
||||
perl-misc \
|
||||
perl-modules \
|
||||
perl-pod \
|
||||
"
|
||||
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-python definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-python" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: python"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
python3 \
|
||||
python3-misc \
|
||||
python3-modules \
|
||||
"
|
||||
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# Copyright (C) 2012 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-security definition in
|
||||
# core-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-security" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: security"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
|
||||
"
|
||||
|
||||
PR = "r2"
|
||||
|
||||
PACKAGES = "${PN}-utils ${PN}-trust \
|
||||
${PN}-access ${PN}-detection \
|
||||
${PN}-crypto ${PN}-auth ${PN}"
|
||||
|
||||
ALLOW_EMPTY:${PN}-utils = "1"
|
||||
ALLOW_EMPTY:${PN}-trust = "1"
|
||||
ALLOW_EMPTY:${PN}-access = "1"
|
||||
ALLOW_EMPTY:${PN}-detection = "1"
|
||||
ALLOW_EMPTY:${PN}-crypto = "1"
|
||||
ALLOW_EMPTY:${PN}-auth = "1"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
# afong: These two were originally in the package list, no apps were using them, removed.
|
||||
# libgssglue
|
||||
# libmhash
|
||||
RDEPENDS:${PN} = "\
|
||||
${PN}-utils \
|
||||
${PN}-trust \
|
||||
${PN}-access \
|
||||
${PN}-detection \
|
||||
${PN}-crypto \
|
||||
${PN}-auth \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-utils = "\
|
||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'integrity-layer', 'keyutils', '', d)} \
|
||||
nspr \
|
||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'xmlsec1', '', d)} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-trust = "\
|
||||
gnupg \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-access = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit auditd', '', d)} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-detection = "\
|
||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'samhain', '', d)} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-crypto = "\
|
||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'ecryptfs-utils', '', d)} \
|
||||
gnutls \
|
||||
nss \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-auth = "\
|
||||
krb5 \
|
||||
pinentry \
|
||||
"
|
||||
|
||||
# jjmac: (2012.05.17)
|
||||
# Due back in security-core when package upreves are complete.
|
||||
# pyetree
|
||||
@@ -0,0 +1,53 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-sys-util definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-sys-util" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: sys-util"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
STRACE = "strace"
|
||||
STRACE:riscv32 = ""
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
util-linux-fsck \
|
||||
e2fsprogs-e2fsck \
|
||||
e2fsprogs-mke2fs \
|
||||
elfutils \
|
||||
hdparm \
|
||||
iproute2 \
|
||||
iptables \
|
||||
iputils \
|
||||
iw \
|
||||
ldd \
|
||||
lsof \
|
||||
lvm2 \
|
||||
mdadm \
|
||||
mtd-utils \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-wheel', '', d)} \
|
||||
quota \
|
||||
sdparm \
|
||||
setserial \
|
||||
${STRACE} \
|
||||
usbutils \
|
||||
watchdog \
|
||||
wireless-regdb-static \
|
||||
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'parted', d)} \
|
||||
"
|
||||
RRECOMMENDS:${PN} = " \
|
||||
mtd-utils-jffs2 \
|
||||
mtd-utils-ubifs \
|
||||
mtd-utils-misc \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}:append:x86 = " acpica iasl"
|
||||
RDEPENDS:${PN}:append:x86-64 = " acpica iasl"
|
||||
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# Copyright (C) 2013 Wind River Systems, Inc.
|
||||
#
|
||||
DESCRIPTION = "Trace tools packagegroup extending glibc_std."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PACKAGES = "\
|
||||
${PN} \
|
||||
${PN}-dbg \
|
||||
${PN}-dev \
|
||||
"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
socat \
|
||||
"
|
||||
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# Copyright (C) 2012-2013 Wind River Systems Inc.
|
||||
#
|
||||
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-util definition in
|
||||
# wrlinux-image.bbclass that may be used to customize an image by
|
||||
# adding "wr-core-util" to IMAGE_FEATURES.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Wind River Linux core package group: util"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
PR = "r3"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
at \
|
||||
bzip2 \
|
||||
cronie \
|
||||
diffutils \
|
||||
gzip \
|
||||
ncurses-terminfo \
|
||||
tcl \
|
||||
tzdata \
|
||||
unzip \
|
||||
which \
|
||||
zip \
|
||||
"
|
||||
Reference in new issue
Block a user