1. 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 aports#10750
  2. 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.
  3. 16 Jan, 2020 2 commits
  4. 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.
  5. 19 Dec, 2019 1 commit
  6. 18 Dec, 2019 2 commits
  7. 06 Dec, 2019 1 commit
  8. 25 Nov, 2019 1 commit
    • Henrik Riomar's avatar
      add feature rpirtc · 89f9c4fb
      Henrik Riomar authored and Natanael Copa's avatar Natanael Copa committed
      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
      we must have rtc drivers available already initramfs.
  9. 09 Oct, 2019 1 commit
  10. 23 Aug, 2019 1 commit
  11. 23 Jul, 2019 1 commit
  12. 07 Jun, 2019 4 commits
  13. 29 May, 2019 1 commit
  14. 08 Apr, 2019 1 commit
  15. 05 Apr, 2019 3 commits
  16. 13 Mar, 2019 1 commit
  17. 08 Feb, 2019 2 commits
  18. 06 Feb, 2019 1 commit
    • Timo Teräs's avatar
      init: fix fbsplash · d7ee92e1
      Timo Teräs authored
      The configuration option was renamed when parts of our patch
      were upstreamed to busybox.
  19. 25 Jan, 2019 3 commits
    • Natanael Copa's avatar
      init: fix root=ZFS... from grub · 61bb69ba
      Natanael Copa authored
      grub will set root=ZFS=... when root is zfs but will not add rootfstype,
      so make a special case for zfs
    • Natanael Copa's avatar
      nlplug-findfs: detect zfs pool · 76530be3
      Natanael Copa authored
      if search device is prefixed with ZFS= then we search for a label with
      the zpool name in the zfs path. For example, if search device is
      "ZFS=tank/alpine/root" then we search for device that is type
      "zfs_member" and label "tank".
      This makes it work better with grub which creates a boot cmdline with
    • Natanael Copa's avatar
      features: add crc32 modules to f2fs · fd347152
      Natanael Copa authored
  20. 23 Jan, 2019 1 commit
  21. 21 Jan, 2019 1 commit
  22. 03 Jan, 2019 4 commits
  23. 08 Nov, 2018 5 commits