You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/patches/sys-boot/os-prober-1-no_readonly.patch

19 lines
421 B

diff --git common.sh common.sh
index 30e245e..c295a15 100644
--- common.sh
+++ common.sh
@@ -147,12 +147,7 @@ unescape_mount () {
}
ro_partition () {
- if type blockdev >/dev/null 2>&1 && \
- [ "$(blockdev --getro "$1")" = 0 ] && \
- blockdev --setro "$1"; then
- cleanup_ro_partitions="${cleanup_ro_partitions:+$cleanup_ro_partitions }$1"
- trap cleanup EXIT HUP INT QUIT TERM
- fi
+ :
}
find_label () {