update-grub shell library
Hi,
I'd like to add a shell library that can be used as a helper for update-grub modules.
Currently, update-grub exports variables like GRUB_DRIVE_BOOT and GRUB_DRIVE_BOOT_GRUB, which are a bit of a kludge. I'd like to rewrite these into a shell function that converts system paths to grub paths, but then it can't just be exported into environment.
Can we add something like $(libdir)/grub/update-grub to put such kind of helper code in?
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 10 lines · Robert Millan
I'd like to add a shell library that can be used as a helper for update-grub modules.
Currently, update-grub exports variables like
GRUB_DRIVE_BOOTandGRUB_DRIVE_BOOT_GRUB, which are a bit of a kludge. I'd like to rewrite these into a shell function that converts system paths to grub paths, but then it can't just be exported into environment.Can we add something like $(libdir)/grub/update-grub to put such kind of helper code in?
I see no problem with this.
Okuji