Skip to content
Snippets Groups Projects
  1. Jul 11, 2020
  2. 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
  3. Jul 01, 2020
  4. Jun 30, 2020
  5. 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
  6. 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
  7. 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
    • David Runge's avatar
      Removing custom UEFI shell boot loader configs · 2d4b9f3e
      David Runge authored
      configs/releng/build.sh:
      Copying the edk2-shell based Shell_Full.efi to the root of the iso/ efi
      image as 'shellx64.efi' is automatically picked up by certain hardware
      and by systemd-boot.
      This makes all custom UEFI shell configuration obsolete.
      
      configs/releng/efiboot/loader/entries/uefi-shell-*.conf:
      Removing obsolete custom UEFI shell boot loader configuration.
      
      Closes #14
      Verified
      2d4b9f3e
    • David Runge's avatar
      Removing efitools · 68df5746
      David Runge authored
      configs/releng/build.sh:
      Removing the efitools based PreLoader.efi and HashTool.efi, as they are
      dead weight due to not allowing secure boot (FS#59487).
      Future secure boot functionality (most probably based on shim) is being
      discussed in FS#53864.
      
      Closes #17
      Verified
      68df5746
  8. May 31, 2020
    • David Runge's avatar
      Removing dist target · 5fbbb05a
      David Runge authored
      Makefile:
      Removing the dist target. It requires to increment a number on each
      release.
      This workflow can be entirely circumvented by signed commit tags and
      using those for packaging.
    • David Runge's avatar
      Replacing dhcpcd with systemd-networkd and systemd-resolved · 0d678706
      David Runge authored
      configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules:
      Removing the udev rule for starting dhcpcd@.service on interfaces of the
      form eth* and en*.
      
      configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network:
      Adding default DHCP configurations for en*, eth*, wlp* and wlan*
      interfaces.
      
      configs/releng/airootfs/etc/resolv.conf:
      Adding a symlink from /run/systemd/resolve/stub-resolv.conf to
      /etc/resolv.conf (in airootfs).
      
      configs/releng/airootfs/root/customize_airootfs.sh:
      Adding systemd-networkd and systemd-resolved to the list of services
      that are being enabled during airootfs customization.
      Verified
      0d678706
  9. May 30, 2020
    • David Runge's avatar
      Unsetting the root password · 769fbece
      David Runge authored
      Due to changes in the filesystem package [1] the current /etc/passwd
      does not allow login without an empty root password anymore.
      This becomes apparent, when switching to another TTY than the one
      autologin is activated for.
      
      By running passwd -d root we unset the password.
      In the future this should go to a custom /etc/passwd file.
      
      [1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/filesystem&id=0320c909f3867d47576083e853543bab1705185b
      Verified
      769fbece
    • David Runge's avatar
      Fixing default bootloader menu selection. · 79a9ed11
      David Runge authored
      configs/releng/efiboot/loader/loader.conf:
      The 'default' bootloader selection of systemd-boot is based on a glob
      pattern. The previous pattern was not sufficient to select anything,
      which is why it is now made explicit (pointing to archiso-x86_64.conf).
      Verified
      79a9ed11
    • David Runge's avatar
      Simplifying regex for script download · d50e57a2
      David Runge authored
      configs/releng/airootfs/root/.automated_script.sh:
      Using only one regex to match http://, https:// or ftp:// endpoints.
      Verified
      d50e57a2
    • David Runge's avatar
      Using edk2-shell for UEFI shell · 2ce375cd
      David Runge authored
      configs/releng/build.sh:
      Instead of downloading UDK2018 based edk2 UEFI shell, use the Shell
      binaries from the edk2-shell package.
      This effectively makes the use of EFI shell v1 obsolete.
      
      configs/releng/efiboot/loader/entries/uefi-shell-v*:
      Renaming UEFI shell entries to match the packaged edk2-shell based UEFI
      shell binaries.
      
      configs/releng/build.sh:
      Renaming the systemd-boot bootloader entries for UEFI shell (normal and
      full version) to reflect their file names, which are derived from the
      binary names in the edk2-shell package.
      Copying the edk2-shell based UEFI shell binaries for normal efiboot and
      .iso based "el-torito" efiboot mode.
      
      docs/README.build:
      Adding edk2-shell to the requirements in the documentation, as the
      package is now used to provide UEFI shell.
      Verified
      2ce375cd
    • David Runge's avatar
      Renaming refind-efi to refind · ec5f5378
      David Runge authored
      configs/releng/packages.x86_64:
      As the refind-efi package has been renamed to refind, the package
      required for the releng image needs to be renamed as well.
      Verified
      ec5f5378
    • David Runge's avatar
      Revert "Renaming refind package" · 60161013
      David Runge authored
      This reverts commit c1661240.
      Verified
      60161013
  10. Apr 23, 2020
Loading