diff --git a/ChangeLog b/ChangeLog index 2f6b3f697..6bc6533c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-28 Robert Millan + + * util/update-grub.in: Allow chmod call to fail, since /boot/grub/ + might need to be fatfs to support some firmware implementations + (e.g. OFW or EFI). + 2008-05-28 Robert Millan * util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC diff --git a/util/update-grub.in b/util/update-grub.in index cb38610f3..e698e435d 100644 --- a/util/update-grub.in +++ b/util/update-grub.in @@ -161,7 +161,10 @@ export GRUB_DEVICE GRUB_FS GRUB_DRIVE GRUB_DRIVE_BOOT GRUB_DRIVE_BOOT_GRUB GRUB_ export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_TERMINAL GRUB_SERIAL_COMMAND exec > ${grub_cfg}.new -chmod 444 ${grub_cfg}.new + +# Allow this to fail, since /boot/grub/ might need to be fatfs to support some +# firmware implementations (e.g. OFW or EFI). +chmod 444 ${grub_cfg}.new || true echo "Updating ${grub_cfg} ..." >&2