Skip to content
Snippets Groups Projects
  1. Sep 29, 2024
  2. Aug 04, 2024
    • Oliver Smith's avatar
      install_pmbootstrap: install losetup · 4727a0b8
      Oliver Smith authored
      Add losetup, so "pmbootstrap shutdown" doesn't fail because it tries to
      use busybox losetup with the --json parameter that it doesn't support:
      
      	[11:29:44] % sudo losetup --json --list
      	losetup: unrecognized option: json
      	BusyBox v1.36.1 (2024-06-12 11:52:11 UTC) multi-call binary.
      	Usage: losetup [-rP] [-o OFS] {-f|LOOPDEV} FILE: associate loop devices
      		losetup -c LOOPDEV: reread file size
      		losetup -d LOOPDEV: disassociate
      		losetup -a: show status
      		losetup -f: show next free loop device
      		-o OFS	Start OFS bytes into FILE
      		-P	Scan for partitions
      		-r	Read-only
      		-f	Show/use next free loop device
      
      Currently running into this with bpo CI while working on
      build.postmarketos.org#140.
      Unverified
      4727a0b8
    • Oliver Smith's avatar
      install_pmbootstrap: tweak depends formatting · 5ecba956
      Oliver Smith authored
      Put coreutils in its own line, so it's easier to sort the list e.g. in
      neovim.
      Unverified
      5ecba956
  3. Jul 17, 2024
  4. Jun 10, 2024
  5. Feb 11, 2024
  6. Jan 28, 2024
  7. Apr 13, 2022
    • Oliver Smith's avatar
      install_pmbootstrap: mark pmaports as safe dir · 34222ed9
      Oliver Smith authored
      In latest git version a safety check was added that makes sure a git
      directory is owned by the same user that tries to modify it. Since this
      script runs only in CI, we can just mark it as safe directory and it
      should work the same as before.
      
      Fix for:
        Creating pmos user
        Found pmaports.cfg in current dir
        ERROR: failed to add original remote with git!
        fatal: unsafe repository ('/builds/anjandev/pmaports' is owned by someone else)
        To add an exception for this directory, call:
          git config --global --add safe.directory /builds/anjandev/pmaports
      
      Related: https://gitlab.com/anjandev/pmaports/-/jobs/2328801751
      Unverified
      34222ed9
    • Oliver Smith's avatar
      distfile-check: add shellcheck ignores · 739e7ddd
      Oliver Smith authored
      Looks like there's a new shellscript version that finds more errors than
      before. The errors are non-POSIX syntax that do work with busybox sh,
      just ignore it for now since I want to fix another script.
      Unverified
      739e7ddd
  8. Sep 21, 2020
  9. Sep 07, 2020
  10. Jul 20, 2020
  11. Jul 02, 2020
  12. Jun 16, 2020
  13. Jun 10, 2020
  14. Jun 02, 2020
  15. May 17, 2020
  16. Apr 19, 2020
    • Oliver Smith's avatar
      install_pmbootstrap.sh: add procps to depends · 4251e202
      Oliver Smith authored
      Let pmbootstrap properly kill processes that are timing out, instead of
      having it display the busybox ps usage screen (as we are using arguments
      of ps that busybox ps does not support):
      
      [00:15:45] Process did not write any output for 900 seconds. Killing it.
      [00:15:45] NOTE: The timeout can be increased with 'pmbootstrap -t'.
      ps: unrecognized option: noheaders
      BusyBox v1.31.1 () multi-call binary.
      Usage: ps [-o COL1,COL2=HEADER]
      Show list of processes
      	-o COL1,COL2=HEADER	Select columns for display
      [00:15:45] ERROR: Command '['ps', '-e', '-o', 'pid=,ppid=', '--noheaders']' returned non-zero exit status 1.
      
      Example: https://gitlab.com/postmarketOS/pmaports/-/jobs/517281598#L6026
      Unverified
      4251e202
    • Oliver Smith's avatar
      install_pmbootstrap.sh: make depends git-friendly · 17661f51
      Oliver Smith authored
      Put each dependency in a single line, sort them alphabetically and
      change the code that prints the dependencies to still print them as
      single line.
      Unverified
      17661f51
  17. Apr 11, 2020
  18. Mar 21, 2020
Loading