1. 13 Jan, 2021 3 commits
  2. 22 Dec, 2020 17 commits
  3. 12 Dec, 2020 1 commit
  4. 05 Oct, 2020 1 commit
  5. 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
      156b697a
  6. 01 Sep, 2020 1 commit
  7. 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:
      zfcp=0.0.1905:0x50050763070845e3:0x4082400400000000,0.0.1945:0x50050763071845e3:0x4082400400000000
      
      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.
      9f33719a
  8. 11 Aug, 2020 1 commit
  9. 17 Jul, 2020 1 commit
  10. 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"
          done
      
          lib/modules/5.4.12-0-rpi2/kernel/drivers/usb/storage/ums-datafab.ko
          15320 blocks
          lib/modules/5.4.12-0-rpi4/kernel/drivers/usb/storage/ums-datafab.ko
          15552 blocks
      
      ref aports#10750
      e2ba19e8
  11. 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)
      4fd412c9
  12. 31 Jan, 2020 1 commit
  13. 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.
      59204d36
  14. 16 Jan, 2020 3 commits
  15. 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.
      f52f1425
  16. 19 Dec, 2019 1 commit
  17. 18 Dec, 2019 2 commits
  18. 06 Dec, 2019 1 commit
  19. 25 Nov, 2019 1 commit
    • Henrik Riomar's avatar
      add feature rpirtc · 89f9c4fb
      Henrik Riomar authored
      Add new feature rpi rtc allowing a hw rtc to be used.
      
      The init script in Alpine Linux since v3.9 looks for /dev/rtc, if
      not found it will switch to swclock.
      
      To make this check work on a Rasberry PI with a mounted rtc and
      the following in usercfg.txt
       dtoverlay=i2c-rtc,ds3231
      we must have rtc drivers available already initramfs.
      89f9c4fb