OSDN Git Service

fixed bootloader chroot
authorkokkiemouse <kokkiemouse@gmail.com>
Fri, 2 Oct 2020 12:03:39 +0000 (21:03 +0900)
committerkokkiemouse <kokkiemouse@gmail.com>
Fri, 2 Oct 2020 12:03:39 +0000 (21:03 +0900)
Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
channels/serene/airootfs/root/customize_airootfs_serene.sh

index 03767dd..c331d73 100755 (executable)
@@ -34,5 +34,5 @@ ln -s /usr/share/backgrounds/serene-wallpaper-1.png /usr/share/backgrounds/image
 
 echo -e "sed -i \"s/^autologin/#autologin/g\" /etc/lightdm/lightdm.conf" >> /usr/share/calamares/final-process
 sed -i "s/install_secureboot(efi_directory)/install_grub(efi_directory, fw_type)/g" /usr/lib64/calamares/modules/bootloader/main.py
-sed -i "s/check_target_env_call(\\[libcalamares.job.configuration\\[\"grubInstall\"\\],/subprocess.call(\\[libcalamares.job.configuration\\[\"grubInstall\"\\],/g" /usr/lib64/calamares/modules/bootloader/main.py
+sed -i "s/check_target_env_call(\\[libcalamares.job.configuration\\[\"grubInstall\"\\],/subprocess.call(\\[\"chroot\",install_path,libcalamares.job.configuration\\[\"grubInstall\"\\],/g" /usr/lib64/calamares/modules/bootloader/main.py
 sed -i "s/- grubcfg/# - grubcfg/g" /usr/share/calamares/settings.conf
\ No newline at end of file