summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLeah Rowe <vimuser@noreply.codeberg.org>2023-12-18 01:48:40 +0000
committerLeah Rowe <vimuser@noreply.codeberg.org>2023-12-18 01:48:40 +0000
commit0a8ef113a99b94eeabb3ea61e81494b0cc2f6e04 (patch)
treee55730f4b917262204586cdf54c3c94334c5509c /config
parent39a3de574a7ae6d6165a660cd7efd9ac6a31a922 (diff)
parentababbc09f0f22080aae162a5ee035c18652f5019 (diff)
Merge pull request 'Update config/grub/config/grub.cfg' (#167) from semigel/lbmk:semigel-btrfs-subvol-patch-1 into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/167
Diffstat (limited to 'config')
-rw-r--r--config/grub/config/grub.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/grub/config/grub.cfg b/config/grub/config/grub.cfg
index 8a124062..9439778a 100644
--- a/config/grub/config/grub.cfg
+++ b/config/grub/config/grub.cfg
@@ -46,7 +46,9 @@ fi
function try_user_config {
set root="${1}"
- for dir in boot grub grub2 boot/grub boot/grub2; do
+
+ # The @/... entries are for cases where the BTRFS filesystem is being used
+ for dir in boot grub grub2 boot/grub boot/grub2 @/boot @/grub @/grub2 @/boot/grub @/boot/grub2; do
for name in '' osboot_ autoboot_ libreboot_ coreboot_; do
if [ -f /"${dir}"/"${name}"grub.cfg ]; then
unset superusers