Commit Graph

467 Commits

Author SHA1 Message Date
Alexandre Bard 00fd0c5639 DISTRO_FEATURES: Let oe-core handle bt, usb, pci and wifi tools
By adding bluetooth, usbhost, pci and wifi to DISTRO_FEATURES and
MACHINE_FEATURES, oe-core is handling the base tools through
packagegroup-base. We can therefore remove them from our own
packagegroups.

Removing the recommendations, is not an issue, most of the
recommendations are actually kernel modules.

BugzID: 73589
2021-08-18 15:04:31 +02:00
Alexandre Bard 30125e61c0 distro.conf: Let OE set the init manager configs
openembedded-core provides an include file doing all the settings to use
systemd, so we don't need to do it ourselves. Setting INIT_MANAGER is
enough.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 36649c71f9 DISTRO_FEATURES: Remove opengl
There is no graphic support on any hardware.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 0d8ee050eb DISTRO_FEATURES: Remove vfat
There is no intention to support vfat in our distribution.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard a61873d0ce DISTRO_FEATURES: Remove nfc
It requires its counterpart in MACHINE_FEATURE and none of our hardwares
support nfc.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard fcaf013791 DISTRO_FEATURES: Remove pci
It depends on its counterpart in MACHINE_FEATURES and the only package
it is providing is anyway just pcituils.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 9e1e6a97d5 DISTRO_FEATURES: Remove zeroconf
Advanced feature which can be enabled if required depending on the use
case.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard a3acb9fc9d DISTRO_FEATURES: Remove nfs
Advanced feature which is not required.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 58d5c6085d DISTRO_FEATURES: Remove xattr
This feature is allowing extended file system attributes.
It is not a basic requirement.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard d5882ffa0b DISTRO_FEATURES: Remove usbhost
This feature is useful only with its counterpart in MACHINE_FEATURES.
It is adding usbutils which we anyway manually add ourselves.
It is also "recommending" some kernel modules which we are not
interested in since we enable the modules directly in the kernel config.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard bf19c50097 DISTRO_FEATURES: Remove usbgadget
This feature is used only when MACHINE_FEATURE also contains ubsgadget
and it is enabling some kernel modules. Since we are enabling the
modules manually in the kernel, we don't need this.

Also none of our hardware works as a usbgadget.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 4fca05748d DISTRO_FEATURES: Remove pcmcia
This technology is not in use in our hardwares.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard ba031eef8d DISTRO_FEATURES: Remove largefile
This features was not find used in openembedded-core

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard ee6c032317 DISTRO_FEATURES: Remove argp
argp is not really used in openembedded-core and not useful usage could
be found.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 0f2d25f193 DISTRO_FEATURES: Remove alsa
alsa is related to sound. Except for some hardware supporting telephony
most of the hardware don't have sound support.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 81ec55649b DISTRO_FEATURES: Remove acl
ACL is an advanced feature and can be enabled by customers if required.

BugzID: 73589
2021-08-17 16:02:22 +02:00
Alexandre Bard 53e8395e56 netmodule distro: Remove uneeded configs and sort others
BugzID 73589
2021-08-17 16:02:22 +02:00
Lucien Mueller 23b8d4a020 Merge all distro features.
BugzID: 73589

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-17 14:48:24 +02:00
Alexandre Bard f6db09681a bluetooth: Move bluez extensions in pg-extended
BugzID: 73593
2021-08-17 14:47:56 +02:00
Alexandre Bard 778ed6defa chrony: Fix gpsd dependency
Without this change, it was not possible to install chrony in an image
where gpsd was absent since the first awk command was already reading
the gpsd.conf file.

BugzID: 74327
2021-08-17 09:43:52 +02:00
Alexandre Bard 9ffbd2425e packagegroup-nm-user-module: add new packagegroup
In order to provide user-module related tools like socket-uart.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:52:02 +02:00
Alexandre Bard 5414c86437 recipes-user-module: create a new folder for user-module recipes
Since these tools are related to user-module, they are better together
than mixed up with all recipes-extended.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:50:18 +02:00
Alexandre Bard be3ee0bade packagegroup-nm-extended: remove socat
socat is actually a dependency of socket-uart

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:49:09 +02:00
Alexandre Bard 566d072be1 packagegroup-netmodule-linux: Remove packagegroup
This packagegroup contains only libgpiod which is not relevant to
directly reference since it is a library.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:48:33 +02:00
Alexandre Bard 931cf1812a packagegroup-nm-wifi: add wifi-firmware
this packagegroup feature replaces the firmware.inc in recipes-core.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:46:16 +02:00
Alexandre Bard f584e63000 packagegroups: split images into meaningful groups
Packagegroups are divided by functionality level and by features.

The functionality levels start with minimal which includes the bare
minimum packages required for the system to boot. This mainly means
firmwares and drivers.

The base packages include the packages providing basic functionality.
These are usually cli tools allowing access to different interfaces.

The extended packages include advanced tool and services providing full
functionality of the system.

BugzID: 73593

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2021-08-17 02:44:39 +02:00
Alexandre Bard e2b7364c83 images: Rename mac80211 package to wlan-backports
BugzID: 74268
2021-08-13 09:59:13 +02:00
Alexandre Bard 3ef05ecfdd netmodule-distro.conf: Remove OSTREE specific variables
These variables were in the common part to keep consistency when
building different distributions. We are now building different
distributions in different build directory. This is therefore not needed
anymore.

BugzID: 73589
2021-08-10 17:30:37 +02:00
Lucien Mueller dbc40194af fix ostree-kernel-initramfs build with netmodule-image.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-03 12:19:29 +02:00
Alexandre Bard aca18a2545 base-image: Inherit from minimal image
BugzID: 73593
2021-07-30 16:17:35 +02:00
Alexandre Bard c7d211ef8e image-minimal: Cleanup
Remove unneeded variables and move FSTYPE to distro

BugzID: 73593
2021-07-30 16:17:35 +02:00
Alexandre Bard 22c9a78486 base-image: Split and organize tools
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 2c9fbbf4b0 base-image: Remove useless packages
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard c824d39f14 base-image: Install packagegroup-ublox for all hardwares
This packagegroup is anyway filtering based on UBLOX_FEATURES.
But since UBLOX_FEATURES has a default value in the packagegroup, we
must also override this default value from distro.

BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard e9da28c98e base-image: Add bluez5 as part of the BT group
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard d26b401014 base-image: Remove dfu-util
This is simply a dependency of v2x firmware loader

BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard a8151c0b80 base-image: Add time tools for all hardwares
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 404152f389 base-image: Add gnss-mgr based on gnss machine feature
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 4e3f4c496b base-image: Add imu-setup base on imu machine feature
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 4fa8872da8 base-image: Add cryptodev-module for all hardwares
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard b4cccfa2d3 base-image: Add socat for all hardware
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard b3c8d64b18 base image: Add spitools based on spi machine feature
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 2afbf30779 Base image: Add system state framework for all machines
The packagegroup is just a set of kernel modules, they need a devicetree
entry in order to be loaded.

This simplifies the content of the base image.

BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard b7ce788eef base image: Add wakeup timer only when required by machine
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard b2b17de9b5 base image: Add fpga-image only for fpga machines
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 8a8345a66b image-base: Add can tools based on MACHINE_FEATURES
BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 7cc33a1f8a Remove OEM image
The base image is now the OEM and the specific tools have been moved to
VCU image.

BugzID: 73593
2021-07-30 16:16:38 +02:00
Alexandre Bard 40196ead78 images: Remove unused images
BugzID: 73593
2021-07-30 16:16:38 +02:00
Lucien Mueller 7baa673005 Changed distro files to work with the new kernel recipe.
BugzID: 73616

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-07-30 13:45:28 +02:00
Marc Mattmueller 461162e44e packagegroup: removed tools from packagegroup and removed duplicated modemmanager from IMAGE
BugzID: 73552
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 11:27:20 +02:00