mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
de80424f70
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> |
||
---|---|---|
.. | ||
204-module_strip.patch | ||
207-disable-modorder.patch | ||
210-darwin_scripts_include.patch | ||
211-host_tools_portability.patch | ||
212-byteshift_portability.patch | ||
214-spidev_h_portability.patch | ||
220-gc_sections.patch | ||
221-module_exports.patch | ||
230-openwrt_lzma_options.patch | ||
250-netfilter_depends.patch | ||
251-sound_kconfig.patch | ||
259-regmap_dynamic.patch | ||
260-crypto_test_dependencies.patch | ||
280-rfkill-stubs.patch | ||
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch | ||
301-mips_image_cmdline_hack.patch | ||
321-powerpc_crtsavres_prereq.patch | ||
400-mt29f_spinand-fix-memleak.patch | ||
401-inherit-parent-partition-access-mode.patch | ||
531-debloat_lzma.patch | ||
640-bridge-only-accept-EAP-locally.patch | ||
645-netfilter-connmark-introduce-savedscp.patch | ||
647-netfilter-flow-acct.patch | ||
650-netfilter-add-xt_OFFLOAD-target.patch | ||
651-wireless_mesh_header.patch | ||
660-fq_codel_defaults.patch | ||
661-use_fq_codel_by_default.patch | ||
662-remove_pfifo_fast.patch | ||
700-swconfig_switch_drivers.patch | ||
702-phy_add_aneg_done_function.patch | ||
721-phy_packets.patch | ||
773-bgmac-add-srab-switch.patch | ||
901-debloat_sock_diag.patch | ||
902-debloat_proc.patch | ||
904-debloat_dma_buf.patch | ||
910-kobject_uevent.patch | ||
911-kobject_add_broadcast_uevent.patch | ||
921-always-create-console-node-in-initramfs.patch | ||
930-crashlog.patch |