summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* let video mode list be availlable when working with cvs files and not strippedThierry Vignaud2003-07-141-1/+1
| | | | | files from drakxtool
* fix /etc/lilo.conf generation when reading grub config by setting valid boot=Thierry Vignaud2003-07-141-0/+5
| | | | | parameter
* (grub2dev)Thierry Vignaud2003-06-241-2/+1
| | | | | | - remove dead code - enhance comment
* (read_grub) increase readibilityThierry Vignaud2003-06-241-2/+1
|
* try to fix #3695 : read grub config file when current bootloader is grubThierry Vignaud2003-06-241-0/+65
| | | | | | | | | | | | | - make read() a wrapper above read_grub() and read_lilo() (the later being quite identical to older read()) - introduce 3 new functions: * grub2dev() in order to guess linux device from grub one * ungrubify() in order to replace grub devices in file paths by proper linux mount points * read_grub() in order to parse /boot/grub/menu.lst and create proper bootloader data structure for setup
* fix pixel vs strict pragamThierry Vignaud2003-06-241-1/+1
|
* make log message arch independantThierry Vignaud2003-06-241-1/+1
|
* for whatever reason, the second part of detect_bootloader()Thierry Vignaud2003-05-201-1/+1
| | | | | consolidation didn't make up into the cvs
* fix #3560 (drakboot not updating bootloader label): the only confusingThierry Vignaud2003-05-191-0/+4
| | | | | | | | | | | bug is that when one come back to drakboot main window after having altered the bootloader, the main window still list the old bootloader as the current bootloader. let update this label. btw consolidate bootloader detection in bootloader::detect_bootloader()
* further fix #2826 (lilo failling to handle entry with spaces): replaceThierry Vignaud2003-05-191-0/+1
| | | | | | spaces by underscores in labels (image names are not likely to contain spaces) to prevent the error
* when configuring to install grub bootloader, we first install lilo, then grub.Thierry Vignaud2003-05-191-1/+1
| | | | | | | | | | the logic is that we only reread /etc/lilo.conf[1], so we need to write /etc/lilo.conf. but when installing grub, we really do not need to run lilo, we only have to write its config file. [1] because grub/menu.lst lacks some data and because we do neither want to parse both config files nor to resolve conflicts between configuration
* let further consolidate make_label_lilo_compatible()Thierry Vignaud2003-05-191-2/+2
|
* perl_checker fixesThierry Vignaud2003-05-141-17/+11
|
* new perl_checker compliancePascal Rigaux2003-04-171-9/+9
|
* 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!