openwrt/target/linux/generic/hack-4.19
Bruno Pena de80424f70 kernel: mtd: Make subpartitions inherit parent's access mode
Currently it's not possible to effectively mark a "firmware" partition
as read-only. The sub-partitions "kernel", "rootfs" and "rootfs_data"
are always created as read-write (ignoring the parent access mode).

This patch enforces the access mode of sub-partitions to match the
parent partition, which is useful for recovery images that are meant
to be fully read-only to avoid accidental damage from end-user.

An example of such implementation (read-only firmware image) is the
recovery image used on the Zsun-SD100 [1].

Please note the related patch for fstools [2] to enable this read-only
concept.

[1] https://github.com/brunompena/zsun-resources
[2] http://lists.infradead.org/pipermail/openwrt-devel/2020-January/021043.html

Signed-off-by: Bruno Pena <brunompena@gmail.com>
[removed already obsolete 4.9 kernel patch]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-01-20 20:57:21 +01:00
..
204-module_strip.patch kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
207-disable-modorder.patch kernel: bump 4.19 to 4.19.84 2019-11-19 14:59:03 +01:00
210-darwin_scripts_include.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
212-byteshift_portability.patch
214-spidev_h_portability.patch
220-gc_sections.patch kernel: bump 4.19 to 4.19.65 2019-08-09 18:30:33 +02:00
221-module_exports.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
230-openwrt_lzma_options.patch kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
250-netfilter_depends.patch kernel: bump 4.19 to 4.19.42 2019-05-13 19:17:41 +02:00
251-sound_kconfig.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
259-regmap_dynamic.patch kernel: bump 4.19 to 4.19.62 2019-07-31 16:51:46 +02:00
260-crypto_test_dependencies.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
280-rfkill-stubs.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
290-nvmem-make-CONFIG_NVMEM-tristate-again.patch kernel: Make CONFIG_NVMEM tristate 2018-12-15 14:28:50 +01:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: bump 4.19 to 4.19.16 2019-01-17 03:04:13 +02:00
301-mips_image_cmdline_hack.patch kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
321-powerpc_crtsavres_prereq.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
401-inherit-parent-partition-access-mode.patch kernel: mtd: Make subpartitions inherit parent's access mode 2020-01-20 20:57:21 +01:00
531-debloat_lzma.patch
550-loop-Report-EOPNOTSUPP-properly.patch kernel: bump 4.19 to 4.19.93 2020-01-05 00:43:36 +01:00
551-loop-Better-discard-support-for-block-devices.patch kernel: bump 4.19 to 4.19.93 2020-01-05 00:43:36 +01:00
640-bridge-only-accept-EAP-locally.patch kernel: add disable_eap_hack sysfs attribute 2019-08-28 16:10:45 +02:00
645-netfilter-connmark-introduce-savedscp.patch kernel: netfilter add connmark savedscp support 2019-07-25 10:20:59 +01:00
647-netfilter-flow-acct.patch kernel: bump 4.19 to 4.19.62 2019-07-31 16:51:46 +02:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: fix issues with output routing in flow offload 2019-09-25 20:11:20 +02:00
651-wireless_mesh_header.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
660-fq_codel_defaults.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
661-use_fq_codel_by_default.patch kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
662-remove_pfifo_fast.patch kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
700-swconfig_switch_drivers.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
702-phy_add_aneg_done_function.patch kernel: bump 4.19 to 4.19.62 2019-07-31 16:51:46 +02:00
721-phy_packets.patch kernel: bump 4.19 to 4.19.95 2020-01-20 13:41:49 +01:00
773-bgmac-add-srab-switch.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
901-debloat_sock_diag.patch kernel: bump 4.19 to 4.19.78 2019-10-08 15:51:06 +02:00
902-debloat_proc.patch kernel: bump 4.19 to 4.19.93 2020-01-05 00:43:36 +01:00
904-debloat_dma_buf.patch kernel: bump 4.19 to 4.19.62 2019-07-31 16:51:46 +02:00
910-kobject_uevent.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
911-kobject_add_broadcast_uevent.patch kernel: bump 4.19 to 4.19.47 2019-06-03 17:00:29 +02:00
921-always-create-console-node-in-initramfs.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
930-crashlog.patch kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00