Skip to content
Snippets Groups Projects
  1. Feb 18, 2025
  2. Jan 07, 2025
  3. Nov 07, 2024
  4. Oct 29, 2024
  5. Oct 10, 2024
  6. Oct 01, 2024
    • Martyn Welch's avatar
      Extend boot partition for arm image types · cbabceea
      Martyn Welch authored
      
      The boot partition is used to stored the Linux kernel, and should be
      enough to store at least two versions of it to allow upgrades.
      
      By default Apertis images allocate 256 MB for this partition, but this
      is getting increasingly tight once filesystem overhead is taken into
      account, with arm64 kernels requiring in the region of 115MB to install
      in the boot partition.  In some cases, due to other items being stored
      in the boot partition, it is over 50% utilised with a single kernel
      installed.
      
      As we expect the stock kernel sizes to continue to grow, especially the
      arm64 ones in no small part due to a growing number of device trees
      being built, increase the size of the boot partition to 512MB.
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      cbabceea
  7. Sep 19, 2024
  8. Sep 18, 2024
  9. Sep 04, 2024
  10. Aug 21, 2024
  11. Aug 15, 2024
  12. Aug 01, 2024
  13. Jul 29, 2024
  14. Jul 23, 2024
  15. Jun 25, 2024
  16. Jun 12, 2024
  17. Jun 10, 2024
  18. May 29, 2024
    • Walter Lozano's avatar
      Force install packages on test on MR · e439959f
      Walter Lozano authored
      
      When running test on MR it can happen that some packages are held back and
      cannot be easily upgraded with apt-get update. To overcome this situation,
      force the upgrade using apt-get full-upgrade.
      
      A common example of this situation is testing the linux kernel which can
      produce warnings like:
      
      Install packages | The following packages have been kept back:
      Install packages |   linux-headers-amd64
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      e439959f
    • Martyn Welch's avatar
      Extend boot partition size for RPi4 · 4157b886
      Martyn Welch authored and Walter Lozano's avatar Walter Lozano committed
      
      In 62a8cd04 we increased the size of the
      boot partition on the RPi4 to ensure that there is enough space to store
      at least two versions of the kernel. However this was only done for
      standard apt images as ostree images use ostree-image-rpi64.yaml rather
      than image-rpi64.yaml.
      
      Repeat this partition size change for the OSTree images as well as we
      are still seeing failing upgrade tests with the following error message:
      
      May 19 02:13:03 apertis apertis-update-[1029]: Ostree upgrade failed: Installing kernel: regfile copy: No space left on device
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      4157b886
    • Walter Lozano's avatar
      generate_licensing_bom: Skip packages with no report · 1a7ea138
      Walter Lozano authored
      
      It can happen that packages don't ship a copyright report, in which
      case they need to be skipped and flagged later. In this commit,
      those packages are skipped, and they are flagged as part of the later
      check against dpkg status file
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      1a7ea138
  19. May 23, 2024
  20. May 20, 2024
    • Walter Lozano's avatar
      Delete all dpkg exclusions · 5a823805
      Walter Lozano authored
      
      In commit 5b93ed8c docs have been deleted to follow the dpkg exclusions
      configured after bootstrap. However, for fixed function images there are
      additional dpkg exclusions which need to be addressed.
      
      To fix the issue delete the remaining files to match dpkg exclusions for
      fixed function images.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      5a823805
  21. May 08, 2024
    • Tino Lippold's avatar
      Correct filename of *.changelogs.tar.gz files · 61d4ff2d
      Tino Lippold authored
      
      Current filename of *.changelogs.tar.gz files generated for image files
      causes issues during the change history generator execution. The changelog
      file cannot be loaded by the change history generator. A warning like
      "WARNING: no changelog found at B/20240408.0015/arm64/fixedfunction/apertis_v2025dev2-fixedfunction-arm64-rpi64_20240408.0015.img.changelogs.tar.gz"
      is printed.
      
      Signed-off-by: default avatarTino Lippold <tino.lippold@de.bosch.com>
      61d4ff2d
  22. May 06, 2024
  23. Apr 30, 2024
    • Walter Lozano's avatar
      generate_security_bom: Support compressed metadata · 562ff8dc
      Walter Lozano authored
      
      Some packages can ship big metadata files, which are automatically
      compressed by debhelper, but this is not handled by our scripts
      throwing
      
        File "/home/user/scripts/generate_security_bom.py", line 149, in parse_metadata
          metadata = json.load(fm)
                     ^^^^^^^^^^^^^
        File "/usr/lib/python3.11/json/__init__.py", line 293, in load
          return loads(fp.read(),
                       ^^^^^^^^^
        File "<frozen codecs>", line 322, in decode
      UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
      
      Fix this error by supporting compressed metadata.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      562ff8dc
    • Walter Lozano's avatar
      Move overlays before adding new repos · 230d95c6
      Walter Lozano authored
      
      To align with what is done in ospack-hmi move the step to overlays before
      the step to add new repos.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      230d95c6
    • Walter Lozano's avatar
      Delete all documents in target · 5b93ed8c
      Walter Lozano authored
      
      The image recipes include dpkg-excludes to avoid installing documentation
      for target image. However, this only is applied after the bootstrap process
      causing some documents to remain in the rootfs.
      
      A partial clean up is done on the last steps of the image generation, erasing
      /usr/share/doc/*, but there are other places for documents.
      
      Clean up all the folders that are mentioned in dpkg exclusions after the
      bootstrap to save space and to ensure that SBOM which does not support
      autogenerated files, like man pages, is accurate.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      5b93ed8c
  24. Apr 03, 2024
  25. Mar 28, 2024
  26. Mar 13, 2024
  27. Mar 08, 2024
  28. Mar 04, 2024
  29. Feb 29, 2024
    • Martyn Welch's avatar
      Remove image-am62x.yaml · 3bf8fa97
      Martyn Welch authored
      
      We have created an installer to enable U-Boot to be installed in the
      hardware boot partition of the eMMC. This enables the am62x,
      specifically the SK-AM62 development board used during development, to
      boot the standard U-Boot image. With this in place, this mechanism is
      the preferred way of booting Apertis on the SK-AM62 and this recipe is
      redundant.
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      3bf8fa97
    • Martyn Welch's avatar
      am62x: Add U-Boot installation image · e9842dd6
      Martyn Welch authored
      
      In order to simplify the process of installing U-Boot on the AM62-SK
      eMMC hardware boot partition, create an image that can be run from the
      SDCard to automate the process.
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      e9842dd6
  30. Feb 23, 2024
    • Walter Lozano's avatar
      Extend boot partition size for RPi4 · 62a8cd04
      Walter Lozano authored
      
      The boot partition is used to stored the Linux kernel, and should be enough
      to store at least two versions of it, for instance, to allow OSTree upgrades.
      
      By default Apertis images uses 256 MB for this partition, but in RPi4 this
      pattern was not followed due to the presence of the firmware partition. Under
      this sceario OSTree tests might fail with the error:
      
      Feb 22 05:19:24 apertis apertis-update-[1058]: Ostree upgrade failed: Installing kernel: regfile copy: No space left on device
      
      In order to keep the same pattern as in other images extend this size moving
      all the other partitions.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      62a8cd04
  31. Feb 19, 2024
  32. Jan 19, 2024
  33. Dec 22, 2023
Loading