| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The produced GRUB image now has a more generalized name for
applicability to disparate platform builds (e.g. EFI vs. bootable
floppy image).
|
|
|
|
|
| |
'keymap' isn't included as a target yet due to it needing further
work done to it.
|
|
|
|
|
|
|
|
| |
The previous build function definition only allowed for a
one-size-fits-all build process for any given target. The function
was rewritten to allow for different build processes based on the
target passed to it (e.g. building GRUB keylayouts is very different
from building GRUB images).
|
|
|
|
|
| |
Without this module the GRUB can't find devices--as in, 'ls' literally
lists nothing, not even the device GRUB booted from.
|
|
|
|
|
|
|
|
| |
Since the majority of GRUB modules will be placed into CBFS instead of
the GRUB image itself, the modules-install and modules-preload files
no longer have any use as-is. However, they serve as a useful
reference to which modules should be retained for later
processing (thus the addition to the new install file).
|
|
|
|
|
|
|
|
|
|
|
|
| |
This file should only contain the minimum of modules necessary to
create a working, bootable image able to source other modules and
files from CBFS and/or a separate device.
(module dependencies are installed automatically)
By including as few modules as possible into the GRUB image, selective
addition/removal of modules to/from CBFS is now possible. In
addition, modules can be reloaded without issue (modules included in
the GRUB image can't be reloaded).
|
|
|
|
|
|
| |
A GRUB image will be produced on a target-specific basis so the
target will need its own copy of the modules to include in either the
GRUB image itself or CBFS.
|
|
|
|
|
| |
It's fairly obvious that the files refer to _GRUB_ modules considering
the files are located in the GRUB project's configuration directory.
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of each new file is as follows:
* arch -- CPU architecture to target when building images
* config -- embedded GRUB configuration
* format -- GRUB output format
* platform -- the platform GRUB should build images for
* prefix -- where GRUB should search for modules by default
* size -- the size of the floppy image to produce, in KiB
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The command 'loadfont' was removed because the environment variable
'gfxterm_font' is inspected by GRUB and automatically sets the font to
its value if 'gfxterm' is in the list of active output terminals.
|
|
|
|
|
|
|
|
|
|
|
| |
In order to mitigate issues concerning end-users making their system
unbootable by misconfiguring grub.cfg, an environment file is provided
with the intent being to direct users to edit that file instead of
grub.cfg. Thus, consequences of misconfiguration are lessened.
Of course, users looking to make more extensive changes than setting
environment variables used by either GRUB (internally) or in grub.cfg
will still need to edit their grub.cfg.
|
|
|
|
|
|
| |
Having the keymaps compiled into the GRUB executable is convenient but
may end up taking up too much room for systems with constrained flash
space (e.g. those limited to 2048kB).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Moving the font out of grub.elf, as with MemTest86+, makes generating
GRUB payloads easier. As a side benefit, replacing the font displayed
in the GRUB menu is now less of a hassle.
|
|
|
|
|
|
| |
This makes generating grub.elf more straightforward by not having to
make separate ELF files for txtmode and vesafb just because of
MemTest86+.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Files AUTHORS and COPYING were copied to new install directories in
projects/grub/install in order to keep those notices as close to
the relevant files as possible (as was before).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Will help facilitate sane code when handling: archive formats,
checksum file extensions, signature formats.
|
|
|
|
|
| |
This is mainly useful for being able to run these scripts on BSDs.
And for users who use a Bash not installed to /bin.
|
|
|
|
|
| |
This reverts part of pull request #217 which called the 'env'
binary for each printf invocation.
|
|
|
|
|
|
|
|
|
| |
All printf calls should now be properly formatted; prior, the
format specifier string was erroneously used for both the format
specifiers and the string to be printed. 'env' is now used to
locate the printf binary so as to avoid potentially using a shell
builtin. Lastly, all calls to 'echo' within the new build system
have been replaced with printf for consistency/portability purposes.
|
| |
|
| |
|
|
|
|
| |
https://notabug.org/libreboot/libreboot/issues/193
|
|
|
|
|
|
|
|
|
| |
Modified the function git_project_patch_recursive (in libs/git) to
enable patching with diff files, which uses the new function
diff_patch_file located in libs/common. A generic action script for
bucts is in projects/bucts/. Install/revision/target files are in
projects/bucts/configs/. bucts' merge into the new build system should
be nearly, if not already, complete.
|
| |
|
| |
|