Skip to content
Snippets Groups Projects
  1. Apr 25, 2024
    • GitBot's avatar
      Integrate gitlab-ci/report_image_changes_in_mr · 18a907c7
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@1299a9d6
      
      CI: add "report-image-diff" job
      
      Add a python script and a GitLab CI job to run it. The job is triggered
      when the build is complete.
      
      The script retrieves build artifacts for the default/main branch
      (currently "kirkstone") in the manifest repo and build artifacts
      for the integration branch of merge request.
      
      After that, it compares those builds and creates a summary of the overall
      changes. In particular:
      - size of compressed artifacts (artifacts.zip)
      - size of built image
      - difference between manifest files
      
      The summary is reported to stdout and as a comment to the merge request.
      Each run of the pipeline means removing the old summary comment and
      creating a new one when the build is finished.
      18a907c7
    • Dmitry Petrov's avatar
      prepare-xml2dto: fix platform detection · 116be4bb
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      The switch case used with $MACHINE was copied from fng-install.sh.
      This variable is not retrieved at runtime, but set by the Makefile.
      
      In yocto postinstallation scripts we have get_platform() function to
      detect the platform.
      116be4bb
  2. Apr 19, 2024
  3. Apr 11, 2024
  4. Apr 08, 2024
  5. Mar 28, 2024
    • Dmitry Petrov's avatar
      fng-install: fix postinstall-status file path · cd4f100f
      Dmitry Petrov authored
      The status file cannot be found when processing do_installation():
      cat: can't open '/mnt/target/var/volatile//tmp/yocto-postinstall-status': No such file or directory
      
      This happends because:
      - target rootfs is not mounted at that moment
      - ${ABSTARGETTMP}/tmp is not persistant (all files will be removed after umount).
      
      Switch back to /tmp as it's shared between fngsystem and target rootfs
      (mount -o bind /tmp $TARGETROOT/tmp).
      cd4f100f
    • Dmitry Petrov's avatar
      prepare-bootpartition: fix checking of result · a504cea4
      Dmitry Petrov authored
      Fix missing invert of exit code for "sed" command to correctly return error.
      a504cea4
  6. Mar 26, 2024
  7. Mar 20, 2024
  8. Mar 19, 2024
  9. Mar 18, 2024
    • GitBot's avatar
      Integrate gitlab-ci/bb-recipe-linter and 1 more · 009c60e5
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@44000de1
      
      Check bitbake recipes with linter
      
      The job checks bitbake recipes added/updated in MR using the
      oelint-adv tool (https://github.com/priv-kweihmann/oelint-adv).
      
      .oelint.json is a rulefile, created with the command
      "oelint-adv --print-rulefile". It can be used during development.
      It contains default rules for now, but will probably be customized later.
      
      To get the list of changed files in MR, we adjusted the GIT_DEPTH variable.
      The new value is 50, which should be fine for getting MR changes,
      and still small enough to keep checkout fast for large projects.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@9d9574d1
      
      convert_md2html: fix text duplication
      
      Fix the problem introduced by commit 4f06516 "convert_md2html: fix id
      fields for headings".
      
      The text converted from markdown was written twice to the HTML document.
      009c60e5
  10. Mar 15, 2024
  11. Mar 14, 2024
  12. Mar 07, 2024
  13. Mar 06, 2024
  14. Mar 04, 2024
  15. Feb 23, 2024
  16. Feb 22, 2024
  17. Feb 21, 2024
    • Dmitry Petrov's avatar
      fng-install: mount back everything that was mounted before script started · d874f392
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      
      This is a fix for issue [746-001533] Error: /etc/shared isn't mounted after
      fng-install was run.
      
      This adds two new common functions to fng-install.sh.in.
      "store_mount" will save the content of /proc/mounts. It will be run before
      umount_emmc is called the first time;
      "restore_mount" will check that all partitions listed by store_mount are
      still mounted. And, if not, it will remount missing partitions. This
      routine will be called at the end of the cleanup function.
      
      Signed-off-by: default avatarDmitry Petrov <dmitry.petrov@rtsoft.de>
      d874f392
  18. Feb 19, 2024
  19. Jan 30, 2024
    • Dmitry Petrov's avatar
      Add GPLv2 alternative for fatlabel · bf931fe4
      Dmitry Petrov authored
      The dosfstools were downgraded to v2.11 after switching to the nogplv3 image.
      This version of dosfstools has no partition labeling tool.
      
      Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix
      without mounting them. One of the tools is mlabel, which is a tool for
      changing the label of FAT partitions.
      bf931fe4
  20. Jan 08, 2024
  21. Dec 21, 2023
  22. Nov 20, 2023
  23. Nov 17, 2023
  24. Nov 07, 2023
  25. Oct 23, 2023
  26. Oct 20, 2023
Loading