Commit Graph

10 Commits

Author SHA1 Message Date
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
Alexandre Bard c7d211ef8e image-minimal: Cleanup
Remove unneeded variables and move FSTYPE to distro

BugzID: 73593
2021-07-30 16:17:35 +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
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
Alexandre Bard 7a8f7a226e distro minimal: Exclude pycs files
In order to reduce the size of the minimal image, we want to exclude
python cached files.

NB: This only applies for files part of python3 package. Any python
libary can install its own pyc files.

BugzID: 67738
2020-11-11 16:14:02 +01:00
Alexandre Bard 62594deafa distro: Use the same DISTRO name for all variants
Changing this variable leads to uneeded rebuilding of some components
like os-release, base-files or kernel-fitimage.

BugzID: 66039
2020-09-17 15:50:36 +02:00
Alexandre Bard 61c6b43889 distro: Remove INITRAMFS_IMAGE_BUNDLE
This flag made the initramfs to be bundle along with the
zImage which was then included in the fitImage that already
contains the initramfs. So the initramfs was present twice
and the fitImage was twice as big.
2019-05-07 13:40:42 +02:00
Alexandre Bard 0fd67556f9 Add minimal distro to pack minimal image in kernel fitImage 2019-05-06 08:48:48 +02:00