You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target
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>
4 years ago
..
imagebuilder target/imagebuilder: use multi-thread support for xz compression 5 years ago
linux kernel: mtd: Make subpartitions inherit parent's access mode 4 years ago
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 5 years ago
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 4 years ago
Config.in build: add a config option for enabling a testing version of the target kernel 5 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago