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/templates/3.1/6_ac_install_patch/sys-boot/os-prober/no_readonly.patch

20 lines
445 B

# Calculate format=diff
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 () {