Commit Graph

57 Commits

Author SHA1 Message Date
Alexandre Bard fec0fc1b4f distro: netmodule-linux: Fix ssl packageconfigs for curl and wget
Part of update to kirkstone:
	* ssl is now named openssl
	* wget default to gnutls, we need to manually set openssl

Part of yocto upgrade from dunfell to kirkstone
2022-08-03 10:26:23 +02:00
Alexandre Bard 9314315326 packagegroups: Add relevant networkmanager packages
With update to kirkstone, networkmanager has been splitted in different
packages. This commit adds them back where they make sense.

Part of yocto upgrade from dunfell to kirkstone
2022-08-03 10:26:16 +02:00
Marc Mattmueller c8ed1a7bf9 conf,netmodule-linux-image: made networkmanager build and fixed typo
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-03 10:25:57 +02:00
Marc Mattmueller 0e7e2bcfe3 conf/distro/netmodule-linux: set SOURCE_DATE_EPOCH to 1st July '22
setting the SOURCE_DATE_EPOCH to 1st of July 2022 (right after the
release date of version 1.5.2) for reproducible builds and to make
the date compatible with python zip which does not support files
with timestamps before 1980.

Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-03 10:25:44 +02:00
Marc Mattmueller 730b1f554d yocto env: migrated recipes and conf file from dunfell to kirkstone
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-03 10:25:19 +02:00
Samuel Dolt 477d521d79 netmodule-linux.conf: add debian11 into SANITY_TESTED_DISTRO 2022-07-05 16:44:12 +02:00
Alexandre Bard 30d95eb8c8 netmodule distro: Remove preferred kernel
The machines should select which kernel they want to use.

BugzID: 79987
2022-06-08 09:02:35 +02:00
Marc Mattmueller 3422a7a329 conf/distro: removed external git src revision creation
bitbake creates the version string when inheriting from
externalgitsrc and thus building with repo won't work as
the root directory is not a git repository.
Anyway, the distro version is set by an include file and for
a devloper building locally the version might not be that
important. Otherwise he can set it manually or adding this
automatic generation into his local.conf

BugzID: 79719
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-05-18 14:32:40 +02:00
Lucien Mueller ab5d795f00 distro: add cryptodev support.
BugzID: 75340

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-10-26 10:04:33 +02:00
Lucien Mueller b4ccff6527 remove ptest from distro.
BugzID: 74465

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-30 09:50:45 +02:00
Alexandre Bard db43fc0a36 gpsd: Remove bbappend and set pacakgeconfig in distro
BugzID: 74466
2021-08-26 14:46:15 +02:00
Alexandre Bard 0622252c45 nm-distro: Remove packageconfig for nodejs
This line is wrong and NodeJS is anyway not used in our distribution.

BugzID: 73589
2021-08-19 16:21:06 +02:00
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 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
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
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
Lucien Mueller 11b6741ca7 remove ofono deamon.
BugzID: 58816

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-06-30 12:19:04 +02:00
Alexandre Bard f55056d470 distro-netmodule: Exclude gpsd udev rules
These rules are "recommended" by the gpsd package, but as the comment
explains, they are conflicting with our design.

BugzID: 73080
2021-06-04 12:15:23 +02:00
Alexandre Bard bbfaa89537 distro-netmodule: Always build with ostree initramfs
With our current design, the default kernel (virtual/kernel) is
different than the initramfs kernels. But when building an initramfs
image, it was still rebuild because the INITRAMFS_IMAGE variable was not
defined.

In order to avoid this rebuild we need to always enforce the use of the
ostree initramfs image for the default kernel. This is not so clean
since we add a permanent dependency to the ostree layer, but having a
cleaner solution would require to completely rethink the way the kernel
is handled in our yocto environment.

BugzID: 71360
2021-04-22 09:59:24 +02:00
Stefan Eichenberger bdca9a94c6 netmodule-linux: force -O ^64bit when creating ext4 filesystem
U-Boot has problems when using the 64bit option on ext4 filesystems and
can not access files anymore. Therefore, create the ext4 filesystem
without 64 bit support.

This issue is not always reproducible, sometimes it works and sometimes
not. Probably it depends if the 64bit values corresponds to the 32 bit
value or not.

Signed-off-by: Stefan Eichenberger <eichest@gmail.com>
2021-04-14 15:03:07 +02:00
Alexandre Bard 4a6d7e672e nm-distro: Remove wrong inherit statement
In distro conf, only INHERIT can be used, "inherit" being for recipes.

externalgitsrc is already properly INHERITED in the same file

BugzID: 69636
2021-01-04 16:26:28 +01:00
Alexandre Bard d21b1535ca nm-distro: Update compatible build machines
For the moment only debian 10 is validated to work properly with our
yocto environment.
debian-9 has been showing issues. Others have not been tested.
2020-12-01 12:56:51 +01:00
Lucien Mueller 5edad2a05a Use openssl for curl and pycurl on every image.
BugzID: 66530

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2020-11-20 12:14:59 +01:00
Marc Mattmüller 2bfd38cabc netmodule-linux.conf: set weak assignment for DISTRO_VERSION 2020-11-13 11:15:19 +01:00
Alexandre Bard 96182d4aab distro: netmodule-linux: append modemmanager in packageconfig
Set PACKAGECONFIG in distro instead of bbappend. It is better to configure it in distro file so we can have a "per distro"
config whereas when setting it in bbappend it will affect all builds as long as the layer is included by BBLAYERS.

BugzID: 60752

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-12-23 17:00:19 +01:00
Alexandre Bard 7953293a6a netmodule-distro: Add python bindings for libgpiod
libgpiod simplify access to gpios from ublox-config script.
Usage: Power off and on ublox modem

BugzID: 57325
2019-06-12 09:17:49 +02:00
Alexandre Bard 6bbb8bc10e Use fitImage for all distro images 2019-04-23 10:01:50 +02:00
Alexandre Bard 1ada48676d nm-distro: Remove distro codename
Since it is the poky codename it is not useful
2019-04-16 14:17:20 +02:00
Alexandre Bard ce25aae133 nm-distro: Move ostree related config to distro config
These config were present in HW specific configuration files
2019-04-16 14:16:33 +02:00
Alexandre Bard 4909fdc99a distro: Add usrmerge feature
Required since thud
2019-04-09 11:01:50 +02:00
Ramon Moesching 6d08a24f22 netmodule-linux distro conf: Set IMAGE_LINGUAS to en_us
Get rid of en_gb by defining image linguas to en_us.

BugzID: 54234

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-26 14:07:28 +01:00
Ramon Moesching e0533cb69d netmodule-linux distro conf: use git describe for distro version
Set distro version from git describe of project root.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-22 15:57:40 +01:00
Alexandre Bard 80bcc5d2ba distro: Autoload cryptodev module
cryptodev is needed for HW accelerated crypto

BugzID: 54246
2018-11-19 17:27:03 +01:00