From 31cef2d9ee05face13be85e8911944930d34ea3d Mon Sep 17 00:00:00 2001 From: itsmanjeet Date: Thu, 5 Sep 2024 15:16:42 +0200 Subject: [PATCH] components/initial-setup: fixed installation grub.cfg --- elements/components/initial-setup.yml | 2 +- files/initial-setup/installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elements/components/initial-setup.yml b/elements/components/initial-setup.yml index 0d269412..c5bc6036 100644 --- a/elements/components/initial-setup.yml +++ b/elements/components/initial-setup.yml @@ -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 ] diff --git a/files/initial-setup/installer.sh b/files/initial-setup/installer.sh index 20231f0b..247deb2a 100644 --- a/files/initial-setup/installer.sh +++ b/files/initial-setup/installer.sh @@ -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