1. 06 Aug, 2021 2 commits
  2. 07 Jun, 2021 2 commits
  3. 13 Jan, 2021 3 commits
  4. 22 Dec, 2020 17 commits
  5. 12 Dec, 2020 1 commit
  6. 05 Oct, 2020 1 commit
  7. 29 Sep, 2020 1 commit
    • Ben Hoskings's avatar
      Fix typo in prepare_zfs_root(). · 156b697a
      Ben Hoskings authored
      This typo causes $_root_pool to be an empty string, which causes the
      subsequent `zpool list` to output encryption status for every pool
      rather than just one, breaking the comparison.
      On systems with a zfs root and more than one pool present, this
      manifests as an error message on boot just before openrc is invoked:
          sh: enabled: unknown operand
  8. 01 Sep, 2020 1 commit
  9. 21 Aug, 2020 1 commit
    • Tuan Hoang's avatar
      mkinitfs: add zFCP SCSI device as root disk on s390x · 9f33719a
      Tuan Hoang authored
      Similar to DASD and QETH devices.
      Example of kernel argument for 2 device paths:
      Each device path is separated by a comma (,). Adapter bus ID and WWPNs and
      LUNs are separated by a colon (:).
      Since Alpine has the advantage of using root=UUID= for root disk, device
      order and device naming don't matter.
  10. 11 Aug, 2020 1 commit
  11. 17 Jul, 2020 1 commit
  12. 25 Feb, 2020 1 commit
    • Brad Fritz's avatar
      features: fix addition of af_packet kernel module for dhcp · e2ba19e8
      Brad Fritz authored
      Follow-up to 5a6f829e so `mkinitfs -F dhcp` works as expected.
      Without this change, `ip=dhcp` will not work on Raspberry Pi images:
          $ sha256sum alpine-rpi-3.11.3-armv7.tar.gz
          438648629838b02b2eead75ede2137dd480e1ae748b632b312a0b7b13924e6c2  alpine-rpi-3.11.3-armv7.tar.gz
          $ for P in rpi2 rpi4; do
              tar -O -xzf alpine-rpi-3.11.3-armv7.tar.gz ./boot/initramfs-$P | gunzip | cpio -t | grep "af.*ko"
          15320 blocks
          15552 blocks
      ref https://gitlab.alpinelinux.org/alpine/aports/issues/10750
  13. 23 Feb, 2020 1 commit
    • Rasmus Thomsen's avatar
      initramfs-init: fix importing the root pool · 4fd412c9
      Rasmus Thomsen authored
      We accidentally used $_root_vol instead of $_root_pol for force importing.
      Also import (but without -f) if we don't force import as this is required
      on some setups. Add -d /dev as this is required for zpool to find the
      pool if you have defined some subvolume as partition (e.g. for VMs)
  14. 31 Jan, 2020 1 commit
  15. 25 Jan, 2020 1 commit
    • Sören Tempel's avatar
      mkinitfs: add optional support for pigz · 59204d36
      Sören Tempel authored
      pigz(1) is a parallel gzip implementation. As such, it significantly
      faster than gzip(1). This patch uses pigz(1) instead of gzip(1),
      if it is installed, otherwise it just falls back to gzip(1). This is
      similar to the current pigz support in abuild.
      Without this patch:
      	$ time mkinitfs
      	==> initramfs: creating /boot/initramfs-lts
      	real	0m 38.19s
      	user	0m 35.47s
      	sys	0m 0.49s
      With this patch applied and pigz installed:
      	==> initramfs: creating /boot/initramfs-lts
      	real	0m 13.24s
      	user	0m 38.30s
      	sys	0m 0.56s
      This change was discussed on IRC with _ikke_ and mps.
  16. 16 Jan, 2020 3 commits
  17. 15 Jan, 2020 1 commit
    • Sören Tempel's avatar
      init: create cryptsetup locking directory · f52f1425
      Sören Tempel authored
      The LUKS2 cryptsetup format uses a locking mechanism, see the "LUKS2
      header locking" section in cryptsetup(8) for further information on this
      mechanism. The mechanism requires a locking directory, if it is not
      present it will be created automatically. Unfortunately, cryptsetup
      emits a warning when creating it.
      To silence this warning message make init create the directory.
  18. 19 Dec, 2019 1 commit