0003-install-block-include-NVDIMM-modules.patch 733 B

12345678910111213141516171819202122232425262728293031
  1. From 1805f971ceae93d1799b705f3fd964c6d1090260 Mon Sep 17 00:00:00 2001
  2. From: nl6720 <nl6720@gmail.com>
  3. Date: Thu, 16 Jul 2020 12:07:08 +0300
  4. Subject: [PATCH 3/3] install/block: include NVDIMM modules
  5. This allows for booting from an ISO that was copied to a pmem device, such as '/dev/pmem0'.
  6. See also https://github.com/u-root/webboot/ .
  7. Co-authored-by: Daniel Maslowski <info@orangecms.org>
  8. ---
  9. install/block | 3 +++
  10. 1 file changed, 3 insertions(+)
  11. diff --git a/install/block b/install/block
  12. index 11c4665..2942371 100644
  13. --- a/install/block
  14. +++ b/install/block
  15. @@ -23,6 +23,9 @@ build() {
  16. # virtio
  17. add_checked_modules 'virtio'
  18. +
  19. + # nvdimm
  20. + add_checked_modules '/drivers/nvdimm/'
  21. }
  22. help() {
  23. --
  24. 2.12.2