diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index 89d0750b09..329586d74d 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
@@ -199,11 +199,11 @@ if [ -f /run/media/$1/EFI/BOOT/grub.cfg ]; then | |||
199 | fi | 199 | fi |
200 | 200 | ||
201 | if [ -d /run/media/$1/loader ]; then | 201 | if [ -d /run/media/$1/loader ]; then |
202 | GUMMIBOOT_CFGS="/tgt_root/loader/entries/*.conf" | 202 | GUMMIBOOT_CFGS="/boot/loader/entries/*.conf" |
203 | # copy config files for gummiboot | 203 | # copy config files for gummiboot |
204 | cp -dr /run/media/$1/loader /tgt_root | 204 | cp -dr /run/media/$1/loader /boot |
205 | # delete the install entry | 205 | # delete the install entry |
206 | rm -f /tgt_root/loader/entries/install.conf | 206 | rm -f /boot/loader/entries/install.conf |
207 | # delete the initrd lines | 207 | # delete the initrd lines |
208 | sed -i "/initrd /d" $GUMMIBOOT_CFGS | 208 | sed -i "/initrd /d" $GUMMIBOOT_CFGS |
209 | # delete any LABEL= strings | 209 | # delete any LABEL= strings |