Skip to content

Commit

Permalink
🚧 utils: make sure that refind will mount as rw
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 24, 2024
1 parent 6b3862f commit 335d519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit 335d519

Please sign in to comment.