1. 07 Jun, 2021 1 commit
  2. 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
  3. 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.
  4. 11 Aug, 2020 1 commit
  5. 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)
  6. 16 Jan, 2020 2 commits
  7. 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.
  8. 19 Dec, 2019 1 commit
  9. 06 Dec, 2019 1 commit
  10. 09 Oct, 2019 1 commit
  11. 07 Jun, 2019 2 commits
  12. 13 Mar, 2019 1 commit
  13. 08 Feb, 2019 1 commit
  14. 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.
  15. 25 Jan, 2019 1 commit
  16. 03 Jan, 2019 1 commit
  17. 08 Nov, 2018 5 commits
  18. 21 Aug, 2018 3 commits
  19. 28 Jun, 2018 1 commit
  20. 13 Jun, 2018 1 commit
  21. 12 Jun, 2018 4 commits
    • lemmarathon's avatar
      Add support for keyfiles · fdc28f07
      lemmarathon authored and Natanael Copa's avatar Natanael Copa committed
      The "cryptkey" boot parameter enables keyfile decryption. By default,
      init will look for a keyfile named "/crypto_keyfile.bin". Another file
      may be specified like so: "cryptkey=/path/to/keyfile.bin". If keyfile
      decryption fails, init will fall back to passphrase mode.
    • Mick Tarsel's avatar
      Use first network interface that is up · 7e7fed4f
      Mick Tarsel authored and Natanael Copa's avatar Natanael Copa committed
      Previous code would return eth0 every time and pay no attention
      if interface was up. This patch gets the state from operstate file
      in sysfs to use the interface that is actually up in case there
      are multiple interfaces present. If no interface is up, just use
      last interface.
    • Natanael Copa's avatar
      init: dont install wget · e1b6dfa4
      Natanael Copa authored
      ssl_client provides the https support for busybox wget
    • Natanael Copa's avatar
      init: remove ssh_pass and make sure to start sshd · c6d2818c
      Natanael Copa authored
      ssh_pass is not recommended and causes some issues in firstboot. We
      remove support for it to keep things simple.
      also make sure that sshd is started if ssh_key is set
  22. 24 May, 2018 1 commit
    • Tuan M. Hoang's avatar
      initramfs-init: add support for ssh installer · 64be7028
      Tuan M. Hoang authored and Carlo Landmeter's avatar Carlo Landmeter committed
      This commit allows starting 'firstboot' service (see aports/openrc),
      which will setup installation through SSH if specified in kernel
      Real wget is used instead since busybox's wget is broken without
      openssl binary #8917. Credits to clandmeter.
      - Allow adding DNS server in configure_ip()
      - Prefix kernel parameters with KOPT_
  23. 14 May, 2018 1 commit
  24. 20 Feb, 2018 1 commit
  25. 18 Feb, 2018 1 commit
  26. 19 Jan, 2018 1 commit
    • Manuel Mendez's avatar
      handle more than 2 blacklisted modules in cmdline · 153150ff
      Manuel Mendez authored
      ❯ docker run --rm -ti alpine
      / # KOPT_blacklist=igb,ixgbe,tg3
      / # for i in ${KOPT_blacklist/,/ }; do echo "blacklist $i"; done
      blacklist igb
      blacklist ixgbe,tg3
      / # for i in ${KOPT_blacklist//,/ }; do echo "blacklist $i"; done
      blacklist igb
      blacklist ixgbe
      blacklist tg3
  27. 09 Jan, 2018 1 commit
    • Henrik Riomar's avatar
      skip hooks on diskless install · 0bd97e8a
      Henrik Riomar authored and Timo Teräs's avatar Timo Teräs committed
      We can not run hooks before musl and busybox is installed.
      Use the new flag --initramfs-diskless-boot in order to skip hooks.
      This flag also implies --initdb and the relevant --force flags for
      initramfs diskless boot.
  28. 22 Sep, 2017 1 commit
  29. 03 Aug, 2017 1 commit