summaryrefslogtreecommitdiffstats
path: root/getbucts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-26 06:03:56 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-01-26 06:03:56 (EST)
commitac9f94aab6e3082977ac7e752c834fcd52178ab2 (patch)
tree9c707751d98fa0d8d2d17abf8c956d7b281e8c53 /getbucts
parent1e830e02a014a6ac790e97954d1aa65674c28112 (diff)
downloadlibreboot-ac9f94aab6e3082977ac7e752c834fcd52178ab2.zip
libreboot-ac9f94aab6e3082977ac7e752c834fcd52178ab2.tar.gz
libreboot-ac9f94aab6e3082977ac7e752c834fcd52178ab2.tar.bz2
grub.cfg: hardcode the list of partitions to search
For libreboot_grub.cfg or ISOLINUX parsing, the old grub.cfg was using regexp to automatically search all partitions. For example, it was using (ahci0,*). This, and the ls, is extremely slow on some machines. Partition/file access is itself fast, but producing the list can be slow. Therefore, use hardcoded entries like ahci0,1-4 (up to 4) or usb0,1-4 instead of *. This is less flexible, but much faster and it should still work for most people.
Diffstat (limited to 'getbucts')
0 files changed, 0 insertions, 0 deletions