1. 16 Jun, 2022 1 commit
  2. 04 Jun, 2022 1 commit
  3. 03 May, 2022 1 commit
  4. 02 May, 2022 2 commits
  5. 15 Apr, 2022 1 commit
  6. 13 Apr, 2022 1 commit
  7. 11 Apr, 2022 5 commits
    • Arnaud Ferraris's avatar
      gitlab-ci: make pipeline more robust and flexible · 72c41896
      Arnaud Ferraris authored
      Jobs can sometimes fail due to weird system/network errors, so allow
      them to be retried once. Also, make all jobs (except for the cleanup
      one) interruptible so running pipelines are cancelled once a new one
      starts for the same branch.
    • Arnaud Ferraris's avatar
      Let prepare/clean jobs use any runner · a07e63c2
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      We don't execute `debos` in those, and only work through SSH, so any
      runner will do, let's not over-use our `kvm` runners.
    • Arnaud Ferraris's avatar
      gitlab-ci: fix miniramfs handling · 406e2e17
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      This variable didn't have a default value and wasn't even used during
      the image stage. Also enable it only for the PPP devicefs for now, as
      the sdm845 boot images still hardcode the full-size initramfs file name
      (including in their embedded update scripts).
    • Arnaud Ferraris's avatar
      gitlab-ci: stop generating devicefs for all devices · 4568cbda
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      In order to comply with the change in the previous commit, remove the
      (now useless) devicefs jobs. Also stop converting the rootfs tarball
      into a squashfs image as it's now done by the installer recipe.
    • Arnaud Ferraris's avatar
      Rework recipes for using a single rootfs for non-installer images · 8b828e5f
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      Creating a per-arch "base rootfs", then a per-device "final rootfs" and
      finally the image is only useful on devices for which we also build an
      installer image. Even there, it complicates `image.yaml` due the need to
      get rid of FDE-related packages and ultimately rebuild the initramfs.
      Using directly the base rootfs for all images reduces one step and
      should help speed up image generation. The time "lost" by installing
      device-specific packages twice (when generating the "normal" image and
      the installer one) on some devices is low enough to be disregarded.
  8. 09 Apr, 2022 1 commit
  9. 06 Apr, 2022 1 commit
  10. 05 Apr, 2022 3 commits
    • Arnaud Ferraris's avatar
      gitlab-ci: small improvements · 9d45e9bf
      Arnaud Ferraris authored
      Gitlab provides default `.pre` and `.post` stages, so we don't need to
      define our own `prepare` and `cleanup` stages.
    • Arnaud Ferraris's avatar
      build.sh: fix checks for the `$installer` variable · d9d84168
      Arnaud Ferraris authored
      In some places we use `if [ $installer -eq 1 ]` and
      `if [ "$installer" ]` in others, which leads to erratic behavior. Let's
      settle for the latter and bring in more consistency.
    • Arnaud Ferraris's avatar
      image: force rebuild initramfs after deploying to image · d41879ee
      Arnaud Ferraris authored
      Without a valid `/etc/fstab` and partitioning, the initramfs generated
      during the previous stages has issues and generally won't boot. Make
      sure it's rebuilt once we deployed the filesystem to the image.
      This command was previously run in the `bootloader.sh` script for the
      `sdm845` family, remove it now as it would be redundant.
  11. 04 Apr, 2022 3 commits
  12. 03 Apr, 2022 1 commit
  13. 31 Mar, 2022 2 commits
  14. 29 Mar, 2022 5 commits
    • Arnaud Ferraris's avatar
      devices: packages-base: install rsync where needed · aa677995
      Arnaud Ferraris authored
      Some devices need `rsync` in order to synchronize DTBs to the `/boot`
      partition. As it's not a dependency to any installed package, ensure it
      is present on the generated images.
    • Arnaud Ferraris's avatar
      recipes: split out base packages and Phosh-related ones · f2e9c78f
      Arnaud Ferraris authored
      In order to make it easier to add other environments in the (hopefully
      near) future, this commit ensures the base packages (not tied to any
      graphical environment) are installed separately. That way we can add
      `packages-<env>.yaml` includes without having to worry about low-level
      While doing so, this commit renames `kgx` to `gnome-console`, reflecting
      changes both upstream and in Debian, and drops `gstreamer1.0-gtk3`: this
      package was initially installed for `fractal`, which isn't shipped by
      default (nor in our repo) anymore.
    • Arnaud Ferraris's avatar
      sdm845: bootloader: change cmdline params for mobile-initramfs-tools · f53f28cc
      Arnaud Ferraris authored
      The per-device initramfs scripts previously used have migrated to the
      new `mobile-initramfs-tools` package, the corresponding command-line
      parameters being renamed in the process. Ensure the boot images we
      generate for SDM845-based devices use the new version.
    • Arnaud Ferraris's avatar
      sdm845: replace mkbootimg with abootimg · 451c2348
      Arnaud Ferraris authored
      `mkbootimg` has been removed from Debian bookworm recently, and this
      might not be fixed immediately. As we already use `abootimg` for
      updating the boot image on a live system, let's take advantage of it for
      generating the initial boot images as well.
    • Undef's avatar
      Replace miniramfs overlay with miniramfs package · ce87f7df
      Undef authored
      This replaces the existing miniramfs build-time overlays/scripts with
      the (not yet released) miniramfs package[0]. This allows updating the
      miniramfs scripts on linux-first devices (ie PPP) and may help with live
      kernel updates for ex-Android devices.
      [0] https://gitlab.com/mobian1/miniramfs
      Enable miniramfs on SDM845 devices
      This should eventually enable supporting FDE on these devices without
      hitting the 64MB boot partition limit.
  15. 19 Mar, 2022 1 commit
    • Arnaud Ferraris's avatar
      devices: stop installing u-boot on devices supported by Tow-Boot · f290683f
      Arnaud Ferraris authored
      As we move towards generic per-architecture (instead of per-device)
      images, installing u-boot on images becomes an annoyance. Let's drop
      it entirely for devices supported by Tow-Boot, so we don't have to care
      about it anymore.
      As a consequence, it isn't necessary to reserve space for the bootloader
      anymore, and we can have partitions start at the beginning of the drive
      by default (only the Librem 5 still needs the bootloader in the image,
      but we can expect it to change at some point).
  16. 25 Feb, 2022 2 commits
  17. 24 Dec, 2021 1 commit
  18. 10 Dec, 2021 4 commits
  19. 08 Dec, 2021 1 commit
  20. 01 Dec, 2021 1 commit
  21. 30 Nov, 2021 1 commit
  22. 27 Nov, 2021 1 commit
    • Undef's avatar
      Switch default filesystem back to Ext4 · efa7c8cd
      Undef authored
      We have had a number of reports of FS corruption on F2FS. While these
      are usually recoverable, the failure modes can be inconvenient.