summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* copy kernel and stage1 in order to avoid remapping /mnt/hd on the fly duringFrancois Pons2003-03-311-8/+14
| | | | | install for bootloader installation to complete correctly.
* fixed regex for kernel options retrieved for restore bootloader entry.Francois Pons2003-03-311-1/+1
|
* fixed another typo for adding restore entry (grub menu).Francois Pons2003-03-261-1/+1
|
* fixed wrong usage of any::hdInstallPath which is mapped as /tmp/image duringFrancois Pons2003-03-261-3/+3
| | | | | installation.
* fix typo on grub menu file read.Francois Pons2003-03-261-0/+17
|
* fix lilo-menu not working (bug #3048)Pascal Rigaux2003-03-111-14/+15
|
* use lilo-like code for selecting mapdrive or notPascal Rigaux2003-02-271-6/+9
| | | | | (it was buggy, always generating "map (0x81) (0x80)", even for hd2)
* - add "Force No APIC"Pascal Rigaux2003-02-201-8/+32
| | | | | | | - rename add_append() to set_append() (since it can be used to remove a key) - add remove_append_simple()
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-2/+2
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* in lilo.conf, "unsafe" is incompatible with "table=..." (fixes bug #1382)Pascal Rigaux2003-02-101-2/+3
|
* integrated chmouel fixes.Francois Pons2003-02-031-0/+6
|
* fix grub installed on {first_hd_device} instead of {boot} (bug #1199)Pascal Rigaux2003-02-021-1/+1
|
* add isFat_or_NTFS() and use it where possible instead of isFat() since WindowsPascal Rigaux2003-01-301-3/+3
| | | | | is now using ntfs, not only Windows NT
* fix call to sanitize_ver by giving it linux-$version instead of linux$ext.Francois Pons2003-01-221-1/+1
|
* English proofreading by Stew BenedictsPablo Saratxaga2003-01-211-1/+1
|
* (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
|