2008-05-28 Robert Millan <rmh@aybabtu.com>

* 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).
This commit is contained in:
robertmh 2008-05-28 19:55:10 +00:00
parent 23023641b8
commit 12e65f3ab6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-05-28 Robert Millan <rmh@aybabtu.com>
* 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 <rmh@aybabtu.com>
* util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC

View File

@ -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