Skip to content
Snippets Groups Projects
  1. 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
      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.
      ba6b44f8
    • nl6720's avatar
      b922e8bc
    • nl6720's avatar
      Deprecate customize_airootfs.sh · 78fe6560
      nl6720 authored
      Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
      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.
      df93289b
    • nl6720's avatar
      Fix baseline profile · c54a41fb
      nl6720 authored
      Install linux and mkinitcpio packages.
      Remove root user's password.
      
      Fixes https://bugs.archlinux.org/task/64236 .
      c54a41fb
  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
      ```
      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
      d835419b
  8. Jul 01, 2020
  9. Jun 30, 2020
    • 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.
    • 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
Loading