Commit Graph

97 Commits

Author SHA1 Message Date
Alexandre Bard c4f38ccd97 distro-netmodule: Move curl packageconfig to distro instead of bbappend
Better keep all the packageconfig at one place and avoid an additional
bbappend.

Especially this config is apparently only required for factory, so we
may move to fct distro.

Original commit message:

we need tftp client to upload factory test logs - enable package
option 'tftp' in bbappend file.

BUGZID: 52537
2022-09-26 17:53:41 +02:00
Alexandre Bard 535e4a4c8a distro-minimal: Reinclude python cached files
The difference in size of the final image is really minimal, but having
this config different between minimal and "normal" distributions, makes
us unable to share quite a lot of sstate between the two distributions.

BugzID: 80673
2022-09-16 13:49:39 +02:00
Alexandre Bard 8a75c1b88a distro-netmodule: Enforce an empty packageconfig for lmsensors
Since the bbappend in meta-netmodule-bsp is not needed anymore, this is
easier to set this here.

BugzID: 81093
2022-08-24 10:58:00 +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
Alexandre Bard 56d1c1db2d conf-notes: Update with latest build commands 2022-02-10 09:27:04 +01: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 81db6fbd81 Move vnstat into "backports" directory
Making it clear that it was backported from a more recent release of the
networking layer.

BugzID: 74466
2021-08-26 16:44:54 +02:00
Alexandre Bard 51f817524b Move bbappends into a bbappend subdirectory
They are now sorted depending on which layer the origin bb recipe is
located.

BugzID: 74466
2021-08-26 14:46:15 +02:00
Alexandre Bard 4d842039a5 layer.conf: Don't mask ostree initramfs patch
The DISTRO_OSTREE variable is not relevant anymore.

BugzID: 74466
2021-08-26 14:46:15 +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
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 c7d211ef8e image-minimal: Cleanup
Remove unneeded variables and move FSTYPE to distro

BugzID: 73593
2021-07-30 16:17:35 +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 7f25bb678c Make layer compatible with dunfell release
BugzID: 69636
2021-01-15 17:40:42 +01: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 18b81bac48 Update conf-notes
To match recent reworks

BugzID: 69469
2020-12-21 09:37:15 +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
Alexandre Bard 4d3d93e96d image-minimal: Fix missing kernel modules
With this new kernel variant, the kernel modules must be the one built
against the kernel we are want to use. The $KERNEL variable is matching
the KERNEL_PACKAGE_NAME of the variable in the kernel recipe.

BugzID: 69147
2020-11-27 19:56:48 +01:00
Alexandre Bard 671d3d95f9 Use separate kernel recipe for minimal image
In order to keep only one official kernel variant, we splitted it from
kernel used for initramfs images.

BugzID: 69147
2020-11-27 14:41:11 +01:00
Alexandre Bard 20978c6870 distro-minimal: Make build reproducible
In order to be consistent with the OSTree images and to reuse all built
components, we must also make the minimal images (ie the ramdisk images)
reproducible.

If we don't do it, most of the components are rebuilt with a different
environment (mainly date related) and can therefor not be shared.

BugzID: 69091
2020-11-23 16:47:39 +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 Mattmueller dc6c52ea99 release 1.1.2: replaces external git srcrev in BUILDNAME with DISTRO_VERSION
files affected:
 - conf/distro/netmodule-linux-ostree.conf
 - recipes-core/images/netmodule-linux-image-minimal.bb
 - recipes-core/images/netmodule-linux-image.bb

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-13 14:06:55 +01:00