aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-11-11 18:56:59 -0800
committerKhem Raj <raj.khem@gmail.com>2018-11-12 10:04:31 -0800
commitc43d532730fbdae62dc14f2fa550497280f035f3 (patch)
tree19fe416de5a47248ec34a60fd7f480f9cc4546fe /meta-oe/recipes-core
parent38754bf14cd72edd38904fb828df33cb2bfe067b (diff)
downloadmeta-openembedded-c43d532730fbdae62dc14f2fa550497280f035f3.tar.gz
meta-openembedded-c43d532730fbdae62dc14f2fa550497280f035f3.tar.bz2
meta-openembedded-c43d532730fbdae62dc14f2fa550497280f035f3.zip
ptest: add addition packagegroups and image for ptests
Need a method to run ptests in meta-oe and to build test tasks not done via a world build Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/images/meta-oe-image-base.bb7
-rw-r--r--meta-oe/recipes-core/images/meta-oe-image.bb5
-rw-r--r--meta-oe/recipes-core/images/meta-oe-ptest-image.bb5
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb251
4 files changed, 268 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/images/meta-oe-image-base.bb b/meta-oe/recipes-core/images/meta-oe-image-base.bb
new file mode 100644
index 000000000..df92f1670
--- /dev/null
+++ b/meta-oe/recipes-core/images/meta-oe-image-base.bb
@@ -0,0 +1,7 @@
+SUMMARY = "meta-oe build test image"
+
+IMAGE_INSTALL = "packagegroup-core-boot"
+
+LICENSE = "MIT"
+
+inherit core-image
diff --git a/meta-oe/recipes-core/images/meta-oe-image.bb b/meta-oe/recipes-core/images/meta-oe-image.bb
new file mode 100644
index 000000000..156554905
--- /dev/null
+++ b/meta-oe/recipes-core/images/meta-oe-image.bb
@@ -0,0 +1,5 @@
+require meta-oe-image-base.bb
+
+SUMMARY = "meta-oe build test image"
+
+IMAGE_INSTALL += "packagegroup-meta-oe"
diff --git a/meta-oe/recipes-core/images/meta-oe-ptest-image.bb b/meta-oe/recipes-core/images/meta-oe-ptest-image.bb
new file mode 100644
index 000000000..0166b9c41
--- /dev/null
+++ b/meta-oe/recipes-core/images/meta-oe-ptest-image.bb
@@ -0,0 +1,5 @@
+require meta-oe-image-base.bb
+
+SUMMARY = "meta-oe ptest test image"
+
+IMAGE_INSTALL += "packagegroup-meta-oe"
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
new file mode 100644
index 000000000..4526e9958
--- /dev/null
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -0,0 +1,251 @@
+SUMMARY = "Meta-oe ptest packagegroups"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = ' \
+ packagegroup-meta-oe \
+ packagegroup-meta-oe-benchmarks \
+ packagegroup-meta-oe-connectivity \
+ packagegroup-meta-oe-core \
+ packagegroup-meta-oe-crypto \
+ packagegroup-meta-oe-bsp \
+ packagegroup-meta-oe-dbs \
+ packagegroup-meta-oe-devtools \
+ packagegroup-meta-oe-extended \
+ packagegroup-meta-oe-kernel \
+ packagegroup-meta-oe-multimedia \
+ packagegroup-meta-oe-navigation \
+ packagegroup-meta-oe-security \
+ packagegroup-meta-oe-support \
+ packagegroup-meta-oe-test \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-oe-ptest", "", d)} \
+'
+
+RDEPENDS_packagegroup-meta-oe = "\
+ packagegroup-meta-oe-benchmarks \
+ packagegroup-meta-oe-connectivity \
+ packagegroup-meta-oe-core \
+ packagegroup-meta-oe-crypto \
+ packagegroup-meta-oe-bsp \
+ packagegroup-meta-oe-dbs \
+ packagegroup-meta-oe-devtools \
+ packagegroup-meta-oe-extended \
+ packagegroup-meta-oe-kernel \
+ packagegroup-meta-oe-multimedia \
+ packagegroup-meta-oe-navigation \
+ packagegroup-meta-oe-security \
+ packagegroup-meta-oe-support \
+ packagegroup-meta-oe-test \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-oe-ptest", "", d)} \
+"
+
+RDEPENDS_packagegroup-meta-oe-benchmarks = "\
+ analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \
+ tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \
+ libc-bench memtester sysbench dbench iozone3 libhugetlbfs \
+ nbench-byte tinymembench \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "glmark2", "", d)} \
+"
+
+RDEPENDS_packagegroup-meta-oe-connectivity ="\
+ gammu hostapd irssi krb5 libev libimobiledevice \
+ libmbim libmtp libndp libqmi libtorrent \
+ libuv libwebsockets linuxptp lirc loudmouth \
+ modemmanager mosh \
+ paho-mqtt-c phonet-utils rabbitmq-c rfkill rtorrent \
+ ser2net smstools3 telepathy-glib telepathy-idle thrift \
+ usbmuxd wvstreams zabbix zeromq \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "obex-data-server", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pulseadio bluez4", "libmikmod", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluez4", "obexftp openobex libnet wvdial", "", d)} \
+ "
+
+# dracut needs dracut
+RDEPENDS_packagegroup-meta-oe-core ="\
+ dbus-daemon-proxy libdbus-c++ eggdbus \
+ ell glibmm libsigc++-2.0 libxml++ distro-feed-configs \
+ mm-common opencl-headers opencl-icd-loader \
+ proxy-libintl usleep \
+ ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "dbus-broker ndctl", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-crypto ="\
+ botan cryptsetup libkcapi libmcrypt \
+ libsodium pkcs11-helper \
+ "
+RDEPENDS_packagegroup-meta-oe-bsp ="\
+ acpitool cpufrequtils edac-utils efibootmgr \
+ efivar flashrom lmsensors lmsensors-config \
+ lsscsi nvme-cli pcmciautils pointercal \
+ "
+RDEPENDS_packagegroup-meta-oe-dbs ="\
+ leveldb libdbi mariadb mariadb-native \
+ mysql-python postgresql psqlodbc rocksdb soci \
+ sqlite \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluez4", "mongodb", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-devtools ="\
+ android-tools android-tools-conf bootchart breakpad \
+ capnproto cgdb cscope ctags \
+ debootstrap dejagnu dmalloc flatbuffers \
+ giflib icon-slicer iptraf-ng jq jsoncpp jsonrpc json-spirit \
+ kconfig-frontends lemon libedit libgee libsombok3 \
+ libubox log4cplus lshw ltrace lua mcpp memstat mercurial \
+ mpich msgpack-c nlohmann-json nodejs openocd pax-utils \
+ ipc-run libdbd-mysql-perl libdbi-perl libio-pty-perl php \
+ protobuf protobuf-c python3-distutils-extra \
+ python-cpuset python-distutils-extra python-futures python-pygobject \
+ rapidjson serialcheck sip3 sip tclap uftrace uw-imap valijson \
+ xmlrpc-c yajl yasm \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany geany-plugins glade tk", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-extended ="\
+ byacc cfengine cfengine-masterfiles cmpi-bindings \
+ ddrescue dialog dumb-init enscript fluentbit \
+ haveged hexedit hiredis hplip hwloc indent iotop isomd5sum \
+ jansson konkretcmpi lcdproc libblockdev libcec libconfig \
+ libdivecomputer libplist libusbmuxd \
+ liblockfile liblogging liblognorm libmodbus libmodbus \
+ libpwquality libqb libuio \
+ lockfile-progs logwatch lprng mailx md5deep \
+ mozjs mraa nana nicstat \
+ p7zip p8platform libfile-fnmatch-perl polkit \
+ polkit-group-rule-datetime polkit-group-rule-network \
+ rarpd redis rrdtool libfastjson librelp rsyslog sanlock \
+ sblim-cmpi-devel sblim-sfc-common sblim-sfcc \
+ scsirastools sgpio smartmontools snappy can-isotp \
+ can-utils libsocketcan tipcutils tiptop \
+ tmux uml-utilities upm vlock volume-key wipe zlog zram \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", " libgxim t1lib gnuplot libwmf gtkmathview", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluez", "collectd", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-plugin-ccreds pam-plugin-ldapdb", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-ssh-agent-auth openwsman sblim-sfcb ", "", d)} \
+ ${@bb.utils.contains("BBPATH", "meta-python", "openlmi-tools", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-gnome ="\
+ atkmm gnome-common gnome-doc-utils-stub gtkmm \
+ gtkmm3 pyxdg vte9 \
+ "
+
+RDEPENDS_packagegroup-meta-oe-graphics ="\
+ babl cairomm dietsplash directfb directfb-examples dnfdragora \
+ fbgrab fbida fontforge freeglut fvwm gegl gimp glm gphoto2 libgphoto2 \
+ gtkperf jasper leptonica libmng libsdl2-image libsdl2-mixer libsdl2-net \
+ libsdl2-ttf libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \
+ libvncserver libyui libyui-ncurses lxdm numlockx openbox openjpeg \
+ packagegroup-fonts-truetype pangomm qrencode takao-fonts terminus-font \
+ tesseract tesseract-lang tigervnc tslib source-han-sans-cn-fonts \
+ source-han-sans-jp-fonts source-han-sans-kr-fonts source-han-sans-tw-fonts ttf-abyssinica \
+ libvdpau x11vnc xcursorgen xdotool \
+ bdftopcf iceauth sessreg setxkbmap twm xclock xfontsel xgamma xkbevd xkbprint xkbutils \
+ xlsatoms xlsclients xlsfonts xmag xmessage xrdb xrefresh xsetmode xsetroot xstdcmap \
+ xterm xwd xwud xbitmaps xorg-sgml-doctools \
+ font-adobe-100dpi font-adobe-utopia-100dpi \
+ font-bh-100dpi font-bh-lucidatypewriter-100dpi font-bitstream-100dpi font-cursor-misc \
+ font-misc-misc xorg-fonts-100dpi liblbxutil libxaw libxkbui libxpresent xserver-common \
+ "
+
+RDEPENDS_packagegroup-meta-oe-kernel ="\
+ agent-proxy bpftool broadcom-bt-firmware cpupower \
+ crash ipmitool minicoredumper oprofile \
+ "
+
+RDEPENDS_packagegroup-meta-oe-multimedia ="\
+ alsa-oss audiofile cdrkit esound faad2 id3lib \
+ a2jmidid jack libass libburn libcdio libcdio-paranoia \
+ libdvdread libmad libmms libmodplug libopus live555 \
+ mplayer-common opus-tools \
+ sound-theme-freedesktop v4l-utils yavta wavpack libvpx \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xpext pavucontrol mpv xsp", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pulseadio bluez4", "libmikmod", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-navigation ="\
+ geoclue geos libspatialite proj \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "orrery", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluz4", "gpsd gpsd-machine-conf", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-security ="\
+ tomoyo-tools \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "passwdqc", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluz5", "nmap", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-shells ="\
+ dash tcsh zsh \
+ "
+
+NE10 = ""
+NE10_aarch64 = "ne10"
+NE10_arm7 = "ne10"
+
+RDEPENDS_packagegroup-meta-oe-support ="\
+ anthy asio atop augeas avro-c bdwgc frame grail \
+ ccid ceres-solver ckermit cpprest ctapi-common daemonize \
+ daemontools debsums devmem2 dfu-util dfu-util-native digitemp \
+ dstat eject enca epeg espeak espeak-data fbset fbset-modes \
+ fftw fltk-native gd gflags glog gnulib gperftools \
+ gpm gradm gsl gsoap hddtemp hidapi htop hunspell hwdata iksemel \
+ libinih inotify-tools joe lcms lcov libatasmart libbytesize \
+ libcereal libcyusbserial libee libeigen libestr libftdi libgit2 \
+ libgpiod libiio libjs-jquery libjs-sizzle liblinebreak libmicrohttpd \
+ libmxml libnih liboauth libol liboop libp11 libraw1394 libsmi libsoc libssh2 \
+ libssh libtar libteam libtinyxml2 libtinyxml libusbg libusb-compat libutempter \
+ links lio-utils lockdev log4c log4cpp logwarn libdevmapper lvm2 \
+ mailcap mbuffer mg minini \
+ multipath-tools nano neon nmon numactl onig openct openldap \
+ opensc wbxml2 p910nd pcsc-lite picocom libotr pidgin \
+ pngcheck poco poppler poppler-data portaudio-v19 pps-tools \
+ pv pxaregs raptor2 rdfind read-edid rsnapshot s3c24xx-gpio s3c64xx-gpio \
+ sjf2410-linux-native satyr sdparm pty-forward-native serial-forward \
+ sg3-utils sharutils smem spitools srecord ssiapi start-stop-daemon stm32flash \
+ syslog-ng system-config-keyboard tbb thin-provisioning-tools tokyocabinet \
+ tree udisks udisks2 uhubctl unixodbc upower uriparser usb-modeswitch \
+ usb-modeswitch-data usbpath uthash utouch-evemu utouch-frame \
+ vim vim-tiny websocketpp wmiconfig xdelta3 xdg-user-dirs xmlstarlet \
+ zbar zile \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis toscoterm uim synergy utouch-mtview links-x11 fltk pidgin-otr", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "pulseadio bluez4", "libcanberra", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xorgxrdp xrdp", "", d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluez4", "procmail", "", d)} \
+ ${NE10} \
+ "
+
+RDEPENDS_packagegroup-meta-oe-support-egl ="\
+ freerdp libnice opencv \
+ "
+
+RDEPENDS_packagegroup-meta-oe-test ="\
+ catch2 cppunit cunit cxxtest evtest fb-test \
+ fwts gtest pm-qa stress-ng testfloat \
+ "
+
+RDEPENDS_packagegroup-meta-oe-ptest = "\
+ zeromq-ptest \
+ libxml-ptest \
+ soci-ptest \
+ leveldb-ptest \
+ psqlodbc-ptest \
+ lua-ptest \
+ protobuf-ptest \
+ libdbi-ptest \
+ rsyslog-ptest \
+ oprofile-ptest \
+ libteam-ptest \
+ uthash-ptest \
+ mcelog-ptest \
+ openldap-ptest \
+ libee-ptest \
+ numactl-ptest \
+ poco-ptest \
+ "