1. 20 Jul, 2020 1 commit
  2. 17 Jul, 2020 4 commits
  3. 16 Jul, 2020 1 commit
    • 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
      ```
      6f0a15c3
  4. 12 Jul, 2020 2 commits
  5. 11 Jul, 2020 13 commits
  6. 10 Jul, 2020 1 commit
    • 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
      d835419b
  7. 01 Jul, 2020 1 commit
  8. 30 Jun, 2020 12 commits
    • nl6720's avatar
      Allow systemd-networkd-wait-online to succeed with one interface · 1b2a7b58
      nl6720 authored
      It is enough if one network interface is online, there is no need to wait for all of them.
      Without this, when connecting with Wi-Fi and leaving Ethernet disconnected, the network-online.target will get unnecessarily delayed.
      1b2a7b58
    • David Runge's avatar
      Fixing issues with variable quoting and arrays · 5e43a63b
      David Runge authored
      archiso/mkarchiso:
      Calls to _pacman() need to be done with multiple parameters (e.g. array) instead of one string, as string splitting is
      not done in that function anymore.
      Turning _iso_efi_boot_args from string into an array to have an easier time of passing it to xorriso.
      Calling xorriso within the if statements instead of providing -quiet via variable.
      Fixing command_install() to provide packages separately to _pacman()
      
      configs/releng/build.sh:
      Replacing all newlines when retrieving the packages from packages.x86_64 with spaces so they will be properly provided
      to "mkarchiso install".
      5e43a63b
    • nl6720's avatar
      Move choose-mirror script to /usr/local/bin/ · 511ca9d9
      nl6720 authored
      /etc/systemd/scripts/ is not a standard directory.
      
      Run shellchek on the choose-mirror script.
      511ca9d9
    • nl6720's avatar
      Do not download a mirrorlist durring build · 3cf8e738
      nl6720 authored
      Pacman's mirrolist will be updated by reflector.service in the live system.
      3cf8e738
    • nl6720's avatar
      Add reflector and enable reflector.service · 3c33e84c
      nl6720 authored
      reflector.service will update pacman's mirrorlist after a network connection is established in the live system.
      Fixes #26 .
      3c33e84c
    • David Runge's avatar
      Standardizing boot loader entry format · b08f1681
      David Runge authored
      {configs/releng/efiboot/loader/entries/archiso-x86_64-{cd,usb}.conf,configs/releng/syslinux/archiso_{pxe,sys}.cfg}:
      Standardizing the boot loader entry format by switching all entries to the form:
      "Arch Linux install medium (<CARCH>[, <PROPERTY>])".
      This removes the distinction between "CD" and "USB" when booting in UEFI "el-torito" (as the information is not useful).
      Changing some of the syslinux help text as well to reflect this change. This also drops the specific <CARCH> from the
      syslinux help text as it is duplicated information.
      
      Closes #24
      b08f1681
    • nl6720's avatar
      Add efibootmgr · 609e9884
      nl6720 authored
      It was previously pulled in as a dependency of refind. Now that refind is removed, add efibootmgr explicitly.
      609e9884
    • nl6720's avatar
      Add back lsscsi · 4d0cc65d
      nl6720 authored
      It cannot be fully replaced by lsblk.
      4d0cc65d
    • nl6720's avatar
      Clear the screen after syslinux exits · f00c0734
      nl6720 authored
      Reduce the time where boot loader artifacts linger on screen after the boot loader has done its job.
      f00c0734
    • nl6720's avatar
      Set timezone from outside chroot · ff926f72
      nl6720 authored
      ff926f72
    • nl6720's avatar
    • nl6720's avatar
      d11737ff
  9. 29 Jun, 2020 2 commits
    • 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
      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
      9e004aeb
  10. 24 Jun, 2020 1 commit
    • 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
      c5ecb842
  11. 23 Jun, 2020 2 commits
    • 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
      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
      32eef254