1. 26 Aug, 2022 1 commit
    • alice's avatar
      mkinitfs.in: copy modules.builtin.modinfo · 76028dc9
      alice authored and Natanael Copa's avatar Natanael Copa committed
      seems to now be needed, and silences a warning:
      depmod: WARNING: could not open modules.builtin.modinfo at
      $tmpdir/lib/modules/$kernel: No such file or directory
      76028dc9
  2. 06 Jul, 2022 1 commit
  3. 04 Jul, 2022 2 commits
  4. 16 May, 2022 1 commit
    • Dermot Bradley's avatar
      mkinitfs.in: ensure when run in chroot that correct kernel version is used · 82002baf
      Dermot Bradley authored and Natanael Copa's avatar Natanael Copa committed
      modinfo is called without the "-k version" argument and so when
      running mkinitfs inside a chroot where the version of the kernel
      package being installed differs from the version of the host
      machine's kernel then modinfo is called (to check firmware
      requirements) using the wrong kernel version.
      
      Add the "-k" argument to ensure the correct kernel version is used.
      
      NOTE: Busybox's modinfo does not support the "-k" option. Currently
      Alpine is using modinfo from the kmod package, however obviously in
      the future Busybox's version is to be used this this will break. It
      appears the only solution in that scenario would be to add "-k"
      support to Busybox's version.
      82002baf
  5. 14 Apr, 2022 3 commits
  6. 18 Mar, 2022 3 commits
  7. 05 Feb, 2022 1 commit
  8. 22 Nov, 2021 1 commit
  9. 18 Nov, 2021 5 commits
  10. 14 Nov, 2021 1 commit
    • Dermot Bradley's avatar
      mkinitfs: handle compressed kernel modules · a5f05c98
      Dermot Bradley authored
      When determining which firmware needs to be includes in the initramfs
      mkinitfs searches for kernel modules using the filename *.ko and so
      does not cater for compressed modules (and therefore does not include
      their required firmware in the initramfs).
      
      Change the search pattern to deal with both uncompressed and
      compressed modules.
      a5f05c98
  11. 10 Nov, 2021 1 commit
  12. 09 Nov, 2021 7 commits
  13. 05 Nov, 2021 2 commits
    • Natanael Copa's avatar
      Add support for compressed kernel modules · 4f33e938
      Natanael Copa authored
      compressed kernel modules may have a .ko.zstd suffix. Add support for
      this in mkinitfs
      
      also include /sbin/modprobe in the base
      4f33e938
    • omni's avatar
      make overlaytmpfs configurable with overlaytmpfsflags · 1bffc0c7
      omni authored and Natanael Copa's avatar Natanael Copa committed
      - default mode=0755 for overlaytmpfs, setting with overlaytmpfsflags
        overrides
      - enable rootflags & rootfstype options for underlying rootfs
      - force read-only mount of "lowerdir" (root-ro) and read-write mode of
        "upperdir" (root-rw) to mitigate user foot gunnery
      1bffc0c7
  14. 03 Nov, 2021 2 commits
  15. 17 Sep, 2021 1 commit
  16. 09 Sep, 2021 1 commit
  17. 06 Aug, 2021 4 commits
  18. 07 Jun, 2021 2 commits
  19. 13 Jan, 2021 1 commit