OSDN Git Service

fixed number and calamares bootloader
authorkokkiemouse <kokkiemouse@gmail.com>
Fri, 2 Oct 2020 11:32:56 +0000 (20:32 +0900)
committerkokkiemouse <kokkiemouse@gmail.com>
Fri, 2 Oct 2020 11:32:56 +0000 (20:32 +0900)
Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
channels/serene/airootfs/root/customize_airootfs_serene.sh

index 57e2763..03767dd 100755 (executable)
@@ -33,4 +33,6 @@ unlink /usr/share/backgrounds/images/default.png
 ln -s /usr/share/backgrounds/serene-wallpaper-1.png /usr/share/backgrounds/images/default.png
 
 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
\ No newline at end of file
+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/- grubcfg/# - grubcfg/g" /usr/share/calamares/settings.conf
\ No newline at end of file