Skip to content
Snippets Groups Projects
  1. Jul 29, 2020
    • nl6720's avatar
      Build initramfs images only once · ff0c13f9
      nl6720 authored
      Place custom mkinitcpio.conf in airootfs.
      Use a custom mkinitcpio preset to specify generated image file path.
      Unverified
      ff0c13f9
    • nl6720's avatar
      Remove unnecessary files from releng's airootfs · a5886ad7
      nl6720 authored
      configs/releng/airootfs/etc/fstab:
      /etc/fstab shipped by the filesystem package has only comments. There is no reason to replace it with an empty file.
      
      configs/releng/airootfs/etc/systemd/system/default.target:
      There is no harm in booting to graphical.target. releng does not enable (or even install) any service that has {Required,Wanted}By=graphical.target.
      Unverified
      a5886ad7
    • David Runge's avatar
      Add license and basic documentation · e264b446
      David Runge authored
      LICENSE:
      Add GPL-3.0 license.
      
      {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}:
      Add SPDX license identifier.
      
      Makefile:
      Add SPDX license identifier.
      Install the `run_archiso.sh` script as global executable `run_archiso`.
      Use -D and -t flags to install to install files more generically (without a previous call to install the directory).
      
      README.rst:
      Add README outlining the project's scope, how to build images from the profiles and how to test.
      
      AUTHORS.rst:
      Add list of all direct contributors to the repository.
      
      CONTRIBUTING.rst:
      Add basic contribution guidelines, explaining the linter and the license in use.
      
      Closes #7
      Closes #3
      Verified
      e264b446
  2. Jul 28, 2020
    • David Runge's avatar
      Copy files more generically · 47e11125
      David Runge authored
      configs/*:
      Copy all files that do not need a rename generically (not specifying a destination file name).
      Do not rename vmlinuz-linux to vmlinuz or vmlinuz.efi (as this serves no purpose and makes the scripts more
      complicated).
      Do not rename microcode (i.e. {amd,intel}-ucode.img) when copying them and change all boot loader configuration files
      that assume a renamed microcode image.
      Add note and link to Arch Linux wiki to state why memtest.bin is renamed to memtest.
      Copy license files for {amd,intel}-ucode and memtest more generically by placing them into subdirectories with the same
      name as the package (to circumenvent overwriting one other).
      
      Closes #33
      Verified
      47e11125
    • nl6720's avatar
      Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.sh · ba6b44f8
      nl6720 authored
      Additionally copy the files to all custom user homes, not just root's.
      Unverified
      ba6b44f8
    • nl6720's avatar
    • nl6720's avatar
      Deprecate customize_airootfs.sh · 78fe6560
      nl6720 authored
      Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
      Unverified
      78fe6560
    • nl6720's avatar
      Install all packages in one go and don't copy pacman.conf to airootfs · df93289b
      nl6720 authored
      configs/{baseline,releng}/build.sh:
      Copy custom files to airootfs before installing packages.
      Instead of calling `mkarchiso init`, list all required packages in packages.x86_64 and install them all at once with `mkarchiso install`. The mkdir command which `mkarchiso init` performs is now done by make_custom_airootfs.
      
      configs/releng/build.sh:
      Don't copy configs/releng/pacman.conf to airootfs, it is only meant to provide a unmodified pacman.conf durring pacstrap. In airootfs, an unmodified /etc/pacman.conf will be installed with the pacman package.
      Unverified
      df93289b
  3. Jul 20, 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. 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
Loading