Skip to content
Snippets Groups Projects
  1. Jan 31, 2021
  2. Jan 26, 2021
    • nl6720's avatar
      configs/releng: move the mirror uncommenting sed command from... · 4f4047a3
      nl6720 authored
      configs/releng: move the mirror uncommenting sed command from customize_airootfs.sh to a pacman hook
      
      After pacman-mirrorlist is installed, /etc/pacman.d/hooks/uncomment-mirrors.hook will run a sed command which uncomments all Server lines in /etc/pacman.d/mirrorlist.
      This brings us another step closer to the complete removal of customize_airootfs.sh.
      
      Related to archlinux/archiso#21 .
      Unverified
      4f4047a3
  3. Jan 23, 2021
  4. Dec 26, 2020
  5. Dec 01, 2020
  6. Nov 30, 2020
    • David Runge's avatar
      Fix issues with file ownerships/modes · c10004df
      David Runge authored
      archiso/mkarchiso:
      Make sure to always compare absolute paths in `_make_custom_airootfs()` (as `realpath` is used).
      Remove `echo` calls that prevent the setting of actual file ownerships and modes.
      
      configs/releng/profiledef.sh:
      Set file mode of /root/.automated_script.sh to 755.
      
      Fixes #82
    • nl6720's avatar
      Keep all SYSLINUX files in /syslinux · 863247d0
      nl6720 authored
      This gets rid of the duplicate ldlinux.c32 and the useless isolinux.cfg which only points to syslinux.cfg.
      
      Implements archlinux/archiso#46 .
      Unverified
      863247d0
    • nl6720's avatar
      Allow specifying ownership and mode of custom airootfs files and directories · 42d9e4f9
      nl6720 authored
      profiledef.sh can now contain an associative array called file_permissions which can be used to set custom ownership and mode of custom airootfs files. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and access mode.
      For example:
      
          file_permissions=(
            ["/etc/shadow"]="0:0:400"
          )
      
      This means that mkarchiso now copies airootfs files (and directores) without permissions and anything that should be owned by a user other than root and/or if the mode should be something other than 644 for files and 755 for directories must to be listed in ${file_permission[@]} in profiledef.sh.
      
      Fixes archlinux/archiso#61 .
      Unverified
      42d9e4f9
  7. Nov 03, 2020
  8. Nov 01, 2020
  9. Oct 31, 2020
  10. Oct 29, 2020
  11. Sep 27, 2020
  12. Aug 25, 2020
    • David Runge's avatar
      Pass profile directory as parameter to mkarchiso · d90184a7
      David Runge authored
      **archiso/mkarchiso**:
      
      Change all override option parameters (i.e. `-A`, `-C`, `-D`, `-L`, `-P` and `-g`) to not directly override the global
      variable they are tied to, but instead using an `override_` prefixed variable.
      
      Add `_set_overrides()` to use `override_` prefixed variables (if set) to override those without a prefix.
      
      Remove `-B` (a profile directory) from the list of parameters. The profile directory is now provided as separate
      non-option parameter.
      
      Add a call to `_read_profile()`, `_set_overrides()` and `command_build_profile()` to the fallthrough option of the
      switch-case checking `command_name` - a non-option parameter to mkarchiso. This effectively provides the possibility to
      set the profile directory using a non-option parameter, while still maintaining compatibility to legacy named arguments
      used in the configs' `build.sh` scripts.
      
      Extend the warning in regards to legacy `build.sh` based commands to mkarchiso by providing an EOL with archiso v49.
      
      Change the help output to reflect the changes and further elaborate on the legacy commands used by `build.sh` scripts.
      
      Change help output to be ordered alphabetically.
      
      Add help output for `-r` and `-g` options.
      
      Call `_set_overrides()` for legacy commands that accept one or more of the overriden options (i.e. `command_init`,
      `command_install`, `command_prepare` and `command_iso`).
      
      Various style fixes.
      
      **configs/{baseline,releng}/build.sh**:
      
      Change call to mkarchiso to use the profile's directory as a named argument instead of an option-argument.
      
      **README.rst**:
      
      Fix documentation on how to call mkarchiso with a profile directory.
      
      Fix wording and ordering of option arguments for run_archiso documentation.
      
      Fixes #52
  13. Aug 18, 2020
  14. Aug 17, 2020
  15. Aug 11, 2020
  16. Jul 30, 2020
  17. 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
  18. 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
Loading