summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* drop support for very old kernel flavorsThierry Vignaud2016-10-161-8/+2
| | | | | those are no more generated for more than 10 years... also make kernel server default if installed
* simplifyThierry Vignaud2016-10-161-1/+1
|
* fix .old backup for grub2's grub.cfgThierry Vignaud2016-07-251-3/+2
| | | | | | | | rationale: write_*() takes (bootloader, all_hd, ext) as parameters (when called from installkernel -> bootloader-config and then only when migrating to uuids as we don't care for 2 first for grub2, just ignore the 3rd too
* grub2: fix not being able to edit default cmdlineThierry Vignaud2016-07-171-4/+3
| | | | | | | | | | | | | Keep default append value (aka /etc/default/grub's GRUB_CMDLINE_LINUX_DEFAULT into {default_append} variable) Always use the value passed as now write_grub2_sysconfig() is only called after having offered to display the default cmdline value On first run (during installer) or when migrating from grub-legacy or lilo, we get the first entry's parameters Thus resolving mga#18952
* drakboot.conf is dead since before mga5Thierry Vignaud2016-07-171-6/+2
|
* allow installing grub2 on XFS /Thierry Vignaud2016-07-041-4/+0
| | | | tested under both UEFI & legacy BIOS
* ensure we only offer lilo/grub choice on upgradesThierry Vignaud2016-07-041-1/+2
|
* explain why only grub2 is offered on UEFIThierry Vignaud2016-07-041-0/+1
|
* simplify after previous commitThierry Vignaud2016-06-241-2/+2
|
* do not alter /etc/default/grub on kernel updatesThierry Vignaud2016-06-241-3/+2
| | | | only when running drakboot (mga#18783)
* (write_grub2_default_entry) split itThierry Vignaud2016-06-241-10/+17
| | | | needed for next commit
* (write_grub2_sysconfig) split itThierry Vignaud2016-06-241-2/+8
| | | | needed for next commit
* remeber if we didn't want to overwrite ESP/MBRThierry Vignaud2016-06-241-0/+1
| | | | it wasn't done previously...
* add a "Do not touch ESP or MBR" option (mga#18770)Thierry Vignaud2016-06-241-3/+5
|
* filter GPT disks w/o a BIOS boot part (mga#18770)Thierry Vignaud2016-06-241-2/+6
| | | | | | else grub2-install failed with:r "this GPT Partition label contains no BIOS Boot Partition: embedding won't be possible."
* fix kernel names in logsThierry Vignaud2016-06-231-1/+1
|
* do not overwite ESP if not installing on itThierry Vignaud2016-06-221-0/+1
| | | | temporary hack for mga#15583
* fix setting default entry when in a submenuThierry Vignaud2016-06-221-3/+15
| | | | | | | default entry must be selected by its full path (mga#18560) eg: "submenu1>submenu2>title": See http://www.gnu.org/software/grub/manual/html_node/default.html#default
* better state machineThierry Vignaud2016-06-221-3/+5
| | | | needed for next commit
* do not crash if file does not existThierry Vignaud2016-06-221-1/+1
|
* grub2: simplify using user.cfg (mga#15930)Thierry Vignaud2016-06-211-14/+3
|
* grub2: enable to protect with a passwordThierry Vignaud2016-06-211-0/+64
| | | | thus restricting altering the config on boot (mga#15930)
* fix the grub2 post-install check (mga#18739)Thierry Vignaud2016-06-201-2/+2
|
* perl_checker: fix backup extensionThierry Vignaud2016-06-201-1/+1
|
* ensure we've the right grub2 flavor (mga#18739)Thierry Vignaud2016-06-201-2/+3
|
* simplify generic caseThierry Vignaud2016-06-201-1/+1
|
* split out grub2 case for next commitThierry Vignaud2016-06-201-2/+3
|
* refactor for next commit (& explain)Thierry Vignaud2016-06-201-3/+4
|
* grub2: only overwrite install.sh when installingThierry Vignaud2016-06-061-1/+1
| | | | | And only when actually installing boot loader, not when updating grub2 menu list (mga#17455)
* fix reading back last grub2 entryThierry Vignaud2016-06-061-0/+2
|
* stop offering grub legacy & lilo on new installsThierry Vignaud2016-06-061-2/+2
| | | | | | | | rationale: - lilo is no more supported upstream and has been replaced by grub legacy a long time ago - grub-legacy does not support ext4 fses formatted with e2fsprogs-1.43 (mga#18583)
* explainThierry Vignaud2016-06-061-3/+3
|
* grub2: set GRUB_DEFAULT + GRUB_SAVEDEFAULTThierry Vignaud2016-06-061-0/+2
| | | | | else grub2-set-default won't work (mga#9627, mga#16059) but do not overwrite it if user has changed its value
* only overwrite GRUB_CMDLINE_LINUX_DEFAULT on first install (mga#18112)Thierry Vignaud2016-06-061-1/+5
|
* introduce get_grub2_install_sh()Thierry Vignaud2016-06-061-2/+6
| | | | (needed for next commit)
* documentThierry Vignaud2016-06-051-0/+31
|
* kill last remaining mips bitsThierry Vignaud2016-05-031-13/+0
|
* drop support for MIPSThierry Vignaud2016-04-241-20/+2
|
* do not run keytab-lilo.pl for grub*Thierry Vignaud2016-02-101-1/+1
| | | | thus fixing a warning: "program not found: keytab-lilo.pl"
* add support for grub2-text too (mga#9431)Thierry Vignaud2016-02-101-4/+6
|
* prepare for next commitThierry Vignaud2016-02-101-2/+6
|
* use a variable (needed for next commit)Thierry Vignaud2016-02-101-1/+2
|
* log found kernels (mga#16128)Thierry Vignaud2016-01-021-0/+1
|
* do not wrongly detect grub2 on UEFIThierry Vignaud2015-05-201-0/+1
| | | | | | when there's actually no bootloader installed rationale: grub2 is detected if both grub.cfg & install.sh exist
* backup grub2 files before configuringThierry Vignaud2015-05-091-0/+8
|
* enhanced commentThierry Vignaud2015-05-091-1/+1
|
* (get_grub2_first_entry) split it outThierry Vignaud2015-05-091-1/+8
|
* (get_grub2_append) split itThierry Vignaud2015-05-091-5/+9
| | | | | | out of write_grub2() needed for next commit
* always log update-grub2 output (mga158557)Thierry Vignaud2015-05-061-0/+1
|
* perl_checker cleanupThierry Vignaud2015-05-061-4/+2
|