- 27 Feb, 2016 4 commits
-
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
For this ensure that all bss sections are merged. We need this to correctly prelink non-PE relocatable images.
-
Vladimir Serbinenko authored
Currently we pass around a lot of pointer. Instead put all relevant data into one structure.
-
Vladimir Serbinenko authored
util/grub-mkimagexx.c is included in a special way into mkimage.c. Interoperation between defines makes this very tricky. Instead just have a clean interface and compile util/grub-mkimage*.c separately from mkimage.c
-
- 09 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
Add helper grub_util_free_path_list and use it where appropriate. Found by: Coverity scan. CID: 73727
-
- 11 Oct, 2015 1 commit
-
-
Andrei Borzenkov authored
Fixes crash if argument is not specified. Also use `|' to separate choices in list of compression methods to align it with --core-compress.
-
- 04 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
canonicalize_file_name clashed with gnulib function. Additionally it was declared in 2 places: emu/misc.h and util/misc.h. Added grub_ prefix and removed second declaration.
-
- 24 Jan, 2014 1 commit
-
-
Vladimir Serbinenko authored
-
- 18 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Dec, 2013 2 commits
-
-
Vladimir Serbinenko authored
This allows grub_install_register_efi to request partition info directly.
-
Vladimir Serbinenko authored
-
- 10 Dec, 2013 1 commit
-
-
Jon McCune authored
Add --no-rs-codes flag to optionally disable reed-solomon codes in grub-install and grub-bios-setup for x86 BIOS targets.
-
- 07 Dec, 2013 2 commits
-
-
Vladimir Serbinenko authored
in all grub-install flavours.
-
Andrey Borzenkov authored
Compare function used in qsort gets arguments by reference, so strcmp cannot be used directly - it expects pointer to char, but gets pointer to pointer to char. Introduce new helper grub_qsort_strcmp and use it in grub-install. This helper is going to be used in a couple more places as well so add it to global file, not in grub-install.c.
-
- 04 Dec, 2013 1 commit
-
-
Colin Watson authored
Copying the themes directory in grub-shell isn't parallel-test-friendly and breaks on the second test when the source directory is read-only (as in "make distcheck"). Instead, add a hidden --themes-directory option to grub-mkrescue et al, and use it in grub-shell.
-
- 25 Nov, 2013 1 commit
-
-
Colin Watson authored
* include/grub/util/install.h (GRUB_INSTALL_OPTIONS): Add --locale-directory option. (enum grub_install_options): Add GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY. * util/grub-install-common.c (grub_install_help_filter): Handle GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY. (grub_install_parse): Likewise. (get_localedir): New function to check for a user-provided option before trying grub_util_get_localedir. (copy_locales): Use get_localedir rather than grub_util_get_localedir. Handle differing locale directory layouts. (grub_install_copy_files): Likewise.
-
- 22 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 17 Nov, 2013 2 commits
-
-
Leif Lindholm authored
-
Vladimir Serbinenko authored
the function of these files exceeds what can be sanely handled in shell in posix-comaptible way. Also writing it in C extends the functionality to non-UNIX-like OS and minimal environments.
-
- 19 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
* util/render-label.c: ... here.
-
Vladimir 'phcoder' Serbinenko authored
* util/render-label.c: ... here.
-
- 16 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* util/editenv.c (grub_util_create_envblk_file): ... to here.
-
- 15 Oct, 2013 4 commits
-
-
Vladimir 'phcoder' Serbinenko authored
* util/mkimage.c: ... here.
-
Vladimir 'phcoder' Serbinenko authored
grub-core/osdep/blocklist.c and add windows implementation since generic version doesn't work on NTFS on Windows due to aggressive unflushable cache.
-
Vladimir 'phcoder' Serbinenko authored
files.
-
Vladimir 'phcoder' Serbinenko authored
use nvlist_lookup_string and don't use nvlist_print.
-
- 13 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
fix in this fuction console and argument charset as well.
-
- 10 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
in OS-specific headers which may redefine generic names like "far".
-
- 09 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 23 Sep, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 22 Sep, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
files rather than one file with loads of #if's. * util/getroot.c: Likewise.
-
- 19 Sep, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 22 Aug, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
mingw32 as well based on grub_util_get_disk_size. * util/misc.c (grub_util_get_disk_size): Removed. all users switched to grub_util_get_fd_size. (sync): Removed. (fsync): Moved to ... * grub-core/kern/emu/misc.c (fsync): ... here.
-
- 05 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors): Add argument name. All users updated. Print filename in error. (read_device_map): Print filename in error. * util/getroot.c (grub_guess_root_devices): Print filename in error. (grub_util_get_os_disk): Likewise. (grub_util_biosdisk_get_grub_dev): Likewise. (grub_util_check_block_device): Likewise. (grub_util_check_char_device): Likewise. (grub_make_system_path_relative_to_its_root): Likewise. * util/grub-editenv.c (create_envblk_file): Likewise. (open_envblk_file): Likewise. (write_envblk): Likewise. * util/grub-fstest.c (cmd_cp): Likewise. (cmd_cat): Likewise. (cmd_cmp): Likewise. * util/grub-menulst2cfg.c (main): Likewise. * util/grub-mkfont.c (write_font_ascii_bitmap): Likewise. (write_font_width_spec): Likewise. (write_font_pf2): Likewise. * util/grub-mkimage.c (generate_image): New argument outname. All users updated. Remove unreacheable message. (options): Unify messages. (help_filter): Likewise. * util/grub-mklayout.c (usage): Removed (unused). (main): Print filename in error. * util/grub-mkrescue.in: Fix wrong quoting. * util/grub-setup.c (setup): Print filename in error. * util/ieee1275/ofpath.c (vendor_is_ATA): Likewise. (check_sas): Likewise. * util/misc.c (grub_util_get_fp_size): Removed. (grub_util_get_image_size): Print filename in error. (grub_util_read_at): Removed. (grub_util_read_image): Print filename in error. (grub_util_load_image): Likewise. (grub_util_write_image_at): New argument filename. All users updated. Print filename in error. (grub_util_write_image): New argument filename. All users updated. Print filename in error. * util/raid.c (grub_util_raid_getmembers): Print filename in error. * util/resolve.c (grub_util_resolve_dependencies): Likewise.
-
- 04 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/emu/hostdisk.h (grub_util_get_os_disk): New proto. * include/grub/util/deviceiter.h: Removed. * util/deviceiter.c: Likewise. * util/getroot.c (grub_util_get_os_disk): New function. * util/grub-install.in: Remove grub-mkdevicemap. Use -t disk as replacement for EFI. * util/grub-mkdevicemap.c: Removed. * util/grub-probe.c (probe): Handle PRINT_DISK. (argp_parser): Handle -t disk.
-
- 10 Oct, 2011 1 commit
-
-
Robert Millan authored
LVM support for FreeBSD and GNU/kFreeBSD. * util/lvm.c (grub_util_lvm_isvolume): Enable on FreeBSD and GNU/kFreeBSD. (LVM_DEV_MAPPER_STRING): Move from here ... * include/grub/util/lvm.h (LVM_DEV_MAPPER_STRING): ... to here. * util/getroot.c: Include `<grub/util/lvm.h>'. (grub_util_get_dev_abstraction): Enable grub_util_biosdisk_is_present() on FreeBSD and GNU/kFreeBSD. Check for LVM abstraction on FreeBSD and GNU/kFreeBSD. (grub_util_get_grub_dev): Replace "/dev/mapper/" with `LVM_DEV_MAPPER_STRING'. Enable LVM and mdRAID only on platforms that support it. * util/grub-setup.c (main): Check for LVM also on FreeBSD and GNU/kFreeBSD. * util/grub.d/10_kfreebsd.in: Load `geom_linux_lvm' kernel module when LVM abstraction is required for ${GRUB_DEVICE}.
-
- 29 Sep, 2011 1 commit
-
-
Mario Limonciello authored
* util/misc.c (sleep) [__MINGW32__]: Removed. * include/grub/util/misc.h (sleep) [__MINGW32__]: Likewise.
-
- 22 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 08 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-