Skip to content
Snippets Groups Projects
  1. Jul 17, 2020
    • nl6720's avatar
      Add check target to Makefile · ecd33927
      nl6720 authored
      Makefile:
      Move shellcheck commands from .gitlab-ci.yml.
      
      .gitlab-ci.yml:
      Run `make check`.
      Prevent partial upgrades, i.e. use '-Syu'.
      Prevent reinstalling already installed packages by using pacman's '--needed' option.
      Don't force-download the package database.
      Unverified
      ecd33927
  2. 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
  3. Jul 12, 2020
  4. Jul 11, 2020
  5. 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
  6. Jul 01, 2020
  7. Jun 30, 2020
  8. 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
    • David Runge's avatar
      IPv6 DHCP · 9e004aeb
      David Runge authored
      configs/releng/airootfs/etc/systemd/network/20-{ethernet,wirless}.network:
      Making sure that systemd-networkd enables DHCP capabilities also for
      IPv6 ('DHCP=yes' and unsetting IPv6AcceptRA - see `man 5
      systemd.network` for further information).
      
      Closes #23
      Verified
      9e004aeb
  9. Jun 24, 2020
    • David Runge's avatar
      Adding systemd-resolvconf · c5ecb842
      David Runge authored
      configs/releng/packages.x86_64:
      Due to dropping netctl from the image, no packgae currently directly
      pulls in a resolvconf provider.
      The systemd-resolvconf package is compatible with systemd-resolved which
      is in use on the image now and the preferred choice.
      
      Closes #22
      Verified
      c5ecb842
  10. Jun 23, 2020
    • David Runge's avatar
      Enabling iwd · 3ed5dd51
      David Runge authored
      configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service:
      Adding a symlink to /usr/lib/systemd/system/iwd.service to enable iwd in
      airootfs (and thus on the image).
      
      Closes #18
      Verified
      3ed5dd51
    • David Runge's avatar
      Removin unneeded packages · 32eef254
      David Runge authored
      configs/releng/packages.x86_64:
      Removing packages:
      * grub :rescue/ installation actions for grub should be run from within
        a chroot
      * lsscsi: lsblk provides the same functionality
      * netctl: we have systemd-networkd enabled by default
      * ntp: we have systemd-timesyncd
      * refind: rescue/ installation actions for refind should be run from
        within a chroot
      * vi: we have vim
      
      Closes #15
      Verified
      32eef254
    • David Runge's avatar
      Fixing ownership in airootfs customization · 839f7433
      David Runge authored
      configs/releng/build.sh:
      Fixing wrong ownership of files when copying overlay modifications from
      the config's airootfs directory to the working directory in
      make_customize_airootfs() by using the cp flag
      '--no-preserve=ownership'.
      
      Thanks to Marcos Mello and Francois Dupoux of sysresccd
      (https://gitlab.com/fdupoux/sysresccd-src) for making this fix
      available.
      
      Closes #11
      Verified
      839f7433
    • David Runge's avatar
      Adding nvme-cli to package list · 6bf452f5
      David Runge authored
      configs/releng/packages.x86_64:
      Adding nvme-cli to the list of packages for working with NVME drives in
      a live environment (as discussed in FS#63769).
      
      Closes #20
      Verified
      6bf452f5
    • David Runge's avatar
      Removing wget in favor of curl · 9b49621f
      David Runge authored
      configs/releng/airootfs/root/.automated_script.sh:
      Replacing wget with curl for the use-case of downloading a
      pre-specified remote startup script (changing flags where needed).
      
      configs/releng/packages.x86_64:
      Removing wget from the list of installed packages, as
      .automated_script.sh was the only reason for it being installed.
      
      Closes #16
      Verified
      9b49621f
    • David Runge's avatar
      Numerical prefix for systemd-networkd configuration · 372a6f9b
      David Runge authored
      Adding a numerical prefix ('20-') to the ethernet.network and
      wireless.network configuration files for systemd-networkd.
      This way overriding them can become more predictable e.g. by providing
      files with a '30-' prefix.
      
      Closes #13
      Verified
      372a6f9b
Loading