500-fs_cdrom_dependencies.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From af7b91bcecce0eae24e90acd35d96ecee73e1407 Mon Sep 17 00:00:00 2001
  2. From: OpenWrt community <[email protected]>
  3. Date: Wed, 13 Jul 2022 12:21:15 +0200
  4. Subject: [PATCH] fs: add cdrom dependency
  5. ---
  6. fs/hfs/Kconfig | 1 +
  7. fs/hfsplus/Kconfig | 1 +
  8. fs/isofs/Kconfig | 1 +
  9. fs/udf/Kconfig | 1 +
  10. 4 files changed, 4 insertions(+)
  11. diff --git a/fs/hfs/Kconfig b/fs/hfs/Kconfig
  12. index 129926b5142d..e0d2c647aa07 100644
  13. --- a/fs/hfs/Kconfig
  14. +++ b/fs/hfs/Kconfig
  15. @@ -2,6 +2,7 @@
  16. config HFS_FS
  17. tristate "Apple Macintosh file system support"
  18. depends on BLOCK
  19. + select CDROM
  20. select NLS
  21. help
  22. If you say Y here, you will be able to mount Macintosh-formatted
  23. diff --git a/fs/hfsplus/Kconfig b/fs/hfsplus/Kconfig
  24. index 7d4229aecec0..648d91d1881f 100644
  25. --- a/fs/hfsplus/Kconfig
  26. +++ b/fs/hfsplus/Kconfig
  27. @@ -2,6 +2,7 @@
  28. config HFSPLUS_FS
  29. tristate "Apple Extended HFS file system support"
  30. depends on BLOCK
  31. + select CDROM
  32. select NLS
  33. select NLS_UTF8
  34. help
  35. diff --git a/fs/isofs/Kconfig b/fs/isofs/Kconfig
  36. index 08ffd37b9bb8..f74680379207 100644
  37. --- a/fs/isofs/Kconfig
  38. +++ b/fs/isofs/Kconfig
  39. @@ -1,6 +1,7 @@
  40. # SPDX-License-Identifier: GPL-2.0-only
  41. config ISO9660_FS
  42. tristate "ISO 9660 CDROM file system support"
  43. + select CDROM
  44. help
  45. This is the standard file system used on CD-ROMs. It was previously
  46. known as "High Sierra File System" and is called "hsfs" on other
  47. diff --git a/fs/udf/Kconfig b/fs/udf/Kconfig
  48. index 26e1a49f3ba7..3f85a084d2b5 100644
  49. --- a/fs/udf/Kconfig
  50. +++ b/fs/udf/Kconfig
  51. @@ -1,6 +1,7 @@
  52. # SPDX-License-Identifier: GPL-2.0-only
  53. config UDF_FS
  54. tristate "UDF file system support"
  55. + select CDROM
  56. select CRC_ITU_T
  57. select NLS
  58. help
  59. --