Skip to content
Snippets Groups Projects
  1. Jul 28, 2020
  2. Jul 20, 2020
  3. Jul 17, 2020
  4. Jul 16, 2020
    • hashworks's avatar
      Fix unexpected script_path behaviour · 6f0a15c3
      hashworks authored
      When one calls the `build.sh` scripts with bash instead of the shebang
      `$script_path` contains the filepath, not the parent dir:
      
      ```
      % cd /path
      % grep -A2 script_path= build.sh
      script_path=$(readlink -f "${0%/*}")
      echo "$script_path"
      exit 0
      % ./build.sh
      /path
      % bash build.sh
      /path/build.sh
      ```
      
      This commit fixes that:
      
      ```
      % grep -A2 script_path= build.sh
      script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )"
      echo "$script_path"
      exit 0
      % ./build.sh
      /path
      % bash build.sh
      /path
      ```
      Verified
      6f0a15c3
  5. Jul 12, 2020
  6. Jul 11, 2020
  7. Jul 10, 2020
    • David Runge's avatar
      Adding script to run archiso in qemu · d835419b
      David Runge authored
      scripts/run_archiso.sh:
      A script to run a built archiso image using qemu.
      It can run the image on an emulated BIOS (using seabios) or UEFI (using edk2-ovmf) system.
      
      .gitlab-ci.yml:
      Adding scripts/run_archiso.sh to shellcheck call.
      
      Closes #28
      Verified
      d835419b
  8. Jul 01, 2020
  9. Jun 30, 2020
  10. Jun 29, 2020
    • David Runge's avatar
      Introducing shellcheck in gitlab CI · 47533fd9
      David Runge authored
      archiso/mkarchiso:
      Quoting all variables.
      Changing pkg_list to be an array instead of a string for easier
      handling. Using read to properly populate pkg_list from OPTARG with
      stripped whitespaces.
      Not exporting iso_label anymore as there seems to be no reason to do so.
      Introducing line breaks.
      
      .editorconfig:
      Setting max_line_length to 120.
      Adding a section for YAML files (e.g. .gitlab-ci.yml).
      
      configs/releng/build.sh
      Quting nearly all variables.
      Introducing line breaks.
      
      configs/baseline/build.sh:
      Quoting all variables.
      Introducing line breaks.
      
      .gitlab-ci.yml:
      Adding gitlab CI for shelleck linting of the config build scripts, mkarchiso and startup scripts in releng.
      
      Closes #19
      Verified
      47533fd9
Loading