mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
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:
1 parent
23023641b8
commit
12e65f3ab6
2 files changed
+10
-1
No files matched your search
@@ -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>
|
2008-05-28 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC
|
* util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC
|
||||||
|
|||||||
+4
-1
@@ -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
|
export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_TERMINAL GRUB_SERIAL_COMMAND
|
||||||
|
|
||||||
exec > ${grub_cfg}.new
|
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
|
echo "Updating ${grub_cfg} ..." >&2
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user