Skip to content

Commit

Permalink
components/initial-setup: fixed installation grub.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
itsManjeet committed Sep 5, 2024
1 parent d789bb1 commit 31cef2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elements/components/initial-setup.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: initial-setup
version: 2.0.10
version: 2.0.11
about: System Initial Setup
merge: [ ostree-branch.yml, elements/include/rlxos.inc ]

Expand Down
2 changes: 1 addition & 1 deletion files/initial-setup/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ if [ -d /sysroot/ostree/repo ] ; then

# TODO: fix this hack
(cd ${SYSROOT}/boot/loader; sudo /lib/ostree/ostree-grub-generator . grub.cfg)
sed -i 's#/boot/boot/#/boot/#g' ${SYSROOT}/boot/loader/grub.cfg
sudo sed -i 's#/boot/boot/#/boot/#g' ${SYSROOT}/boot/loader/grub.cfg

sudo install -D -m 0644 /dev/stdin ${SYSROOT}/boot/grub/grub.cfg << "EOF"
configfile /boot/loader/grub.cfg
Expand Down

0 comments on commit 31cef2d

Please sign in to comment.