mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 utils: make sure that refind will mount as rw
This commit is contained in:
parent
6b3862f451
commit
335d519f8a
@ -1088,7 +1088,7 @@ void install_refind() noexcept {
|
||||
}
|
||||
|
||||
// Mount as rw
|
||||
// sed -i 's/ro\ /rw\ \ /g' /mnt/boot/refind_linux.conf
|
||||
gucc::utils::exec("sed -i 's/ro /rw /g' /mnt/boot/refind_linux.conf");
|
||||
|
||||
// Set appropriate rootflags if installed on btrfs subvolume
|
||||
if (gucc::utils::exec_checked("mount | awk '$3 == \"/mnt\" {print $0}' | grep btrfs | grep -qv subvolid=5")) {
|
||||
|
Loading…
Reference in New Issue
Block a user