summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* (suggest_onmbr): log the choicePascal Rigaux2003-01-151-0/+1
|
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-2/+2
| | | | "every", "partition"
* (method_choices): returns the choices of bootloaders (lilo, grub, yaboot...) ↵Pascal Rigaux2003-01-071-132/+154
| | | | | | | | | | | | | + cleanup (suggest_onmbr): "lilo" and "grub" are now "unsafe" "on_mbr" choices - renaming of $lilo with $bootloader - $bootloader->{methods} is replaced by the much simpler $bootloader->{method}, the special handling of grub (which need to also generate lilo.conf) is nicely handled in bootloader::install() - cleanup error handling: it was using the ugly (though safe) /tmp/.error temporary file, better use an exception
* when reading existing config, remove double quotes around the default labelPascal Rigaux2003-01-061-0/+1
|
* drop loadlin handlingPascal Rigaux2002-12-131-96/+0
|
* perl_checker --generate-pot is a bit picky about the localisation of "#-PO:" ↵Pascal Rigaux2002-12-101-4/+4
| | | | comments
* parameter passing using $_ is badPascal Rigaux2002-12-051-4/+5
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-7/+5
|
* use if_() where possible (as reported by perl_checker)Pascal Rigaux2002-12-041-2/+2
|
* use output()Pascal Rigaux2002-12-021-4/+3
|
* - compare labels case insensitively (thanks to D.Faure)Pascal Rigaux2002-11-281-4/+10
| | | | | | - when reading existing config, remove double quotes around the label (thanks to D.Faure) - add double quotes around the label instead of removing spaces (need checking installkernel compatibility)
* perl_checker adaptationsPascal Rigaux2002-11-281-1/+1
|
* perl_checker adaptationsPascal Rigaux2002-11-271-1/+1
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-4/+4
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-1/+1
|
* - have "local *FILEHANDLE" before each "open FILEHANDLE, ..."Pascal Rigaux2002-11-061-4/+4
| | | | | - use some "cat_" and "output" where possible
* cleanup get_of_dev (aka ofpath)Pascal Rigaux2002-11-061-15/+6
|
* replace complex "unless"s with "if"sPascal Rigaux2002-11-061-2/+2
|
* remove unneeded parentheses on the right side of infix if/foreach/unlessPascal Rigaux2002-11-061-3/+3
|
* please perl_checker:Pascal Rigaux2002-11-061-1/+1
| | | | | | | - local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-10/+10
| | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
* use each_index instead of map_index when the return value is not usedPascal Rigaux2002-11-051-1/+1
|
* Reflect changes in yaboot package.Stew Benedict2002-10-291-4/+4
|
* (read): cleanup duplicate labels (in case file is corrupted)Pascal Rigaux2002-09-061-5/+13
| | | | | | (get_label): compare labels using 15 first characters (to be compliant with lilo) (add_entry): fix removing duplicate entries
* (read): fixPascal Rigaux2002-09-061-1/+1
|
* better NT & Fat bootloader entry adding or notPascal Rigaux2002-09-051-1/+3
|
* do not add an nt label if there is no magicPascal Rigaux2002-09-051-2/+3
|
* use name mangling for labels (taken from installkernel)Pascal Rigaux2002-09-051-1/+41
|
* (same_entries): compare kernel options sorted (this is an approximation ofPascal Rigaux2002-09-041-4/+10
| | | | | | | reality since order can matter, but...). An example is "quiet devfs=mount hdc=ide-scsi" vs "devfs=mount hdc=ide-scsi quiet" (thanks to Gabriel Phoenix)
* :xPascal Rigaux2002-08-271-4/+0
|
* correctly handle empty and commented lines in lilo.confPascal Rigaux2002-08-261-1/+2
|
* since lba32 is the default in lilo.confPascal Rigaux2002-08-181-1/+2
| | | | | | - write "geometric" when lba32 is not set - don't write lba32 (useless)
* (add_entry): new entry will now keep its label, the conflicting one will be ↵Pascal Rigaux2002-08-161-8/+11
| | | | renamed "old_xxx" (and not the opposite)
* fix "You can't install the bootloader on a xfs partition" happening in weird ↵Pascal Rigaux2002-08-141-1/+1
| | | | cases (thanks to Alan Hughes)
* fix typoPascal Rigaux2002-08-121-1/+1
|
* - compare_entries is now called same_entriesPascal Rigaux2002-08-111-25/+37
| | | | | | | - same_entries try hard to return true even if the files not the same but symlinks to the same file - rework add_entry (it handles weird case which used to give old_linux and old2_linux even if they are the same) - ensure the old failsafe entry doesn't give any old_failsafe
* (mkinitrd): when an initrd is already there, it means an initrd is neededPascal Rigaux2002-08-091-1/+1
| | | | | not the contrary (thanks to Damon Lynch for his test)
* (get_kernels_and_labels): only take kernels for which we have the ↵Pascal Rigaux2002-08-061-0/+1
| | | | corresponding /lib/modules/VERSION (otherwise mkinitrd will fail)
* s/__END__/1;Thierry Vignaud2002-08-051-1/+1
|
* kill "wonderful perl"Thierry Vignaud2002-08-051-4/+1
|
* (duplicate_kernel_entry): addedPascal Rigaux2002-08-011-0/+10
|
* get rid of some $prefix parameter passing (using $::prefix where needed instead)Pascal Rigaux2002-08-011-103/+99
|
* bootloader::suggest uses a hash for its optionsPascal Rigaux2002-08-011-4/+4
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-1/+1
|
* try to allow /boot on vfat (it used to work)Pascal Rigaux2002-07-291-1/+1
|
* - fix dying when mkinitrd doesn't create an initrdPascal Rigaux2002-07-261-10/+15
| | | | | - cleanup
* let the bootloader::mkinitrd error be seen by the GUIPascal Rigaux2002-07-251-5/+2
|
* g Move 2: partition table: hierarchyThierry Vignaud2002-07-231-4/+4
|
* now use kept c::rpmvercmp instead of removed pkgs::versionCompare.Francois Pons2002-07-151-1/+1
|
* adapt to new modules.pmPascal Rigaux2002-07-041-1/+1
|