Skip to content

Commit 15b5ee9

Browse files
authored
Merge pull request #3234 from basecamp/hotfix-limine-conf-location
Hotfix limine.conf order sourcing causing boot errors
2 parents 7f9ee95 + f6aa973 commit 15b5ee9

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

install/login/limine-snapper.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ term_background_bright: 24283b
7878
7979
EOF
8080

81+
# Remove the original config file if it's not /boot/limine.conf
82+
if [[ "$limine_config" != "/boot/limine.conf" ]] && [[ -f "$limine_config" ]]; then
83+
sudo rm "$limine_config"
84+
fi
85+
8186

8287
# Match Snapper configs if not installing from the ISO
8388
if [[ -z ${OMARCHY_CHROOT_INSTALL:-} ]]; then

migrations/1762446739.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
echo "Remove alternative limine.conf files"
2+
3+
if omarchy-cmd-present limine; then
4+
if [ ! -f /boot/limine.conf ]; then
5+
echo "Error: /boot/limine.conf does not exist. Do not reboot without resolving this issue!"
6+
exit 1
7+
fi
8+
9+
sudo rm -f /boot/EFI/limine/limine.conf
10+
sudo rm -f /boot/EFI/BOOT/limine.conf
11+
sudo rm -f /boot/limine/limine.conf
12+
fi

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.5
1+
3.1.6

0 commit comments

Comments
 (0)