summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* fix syntax errorPascal Rigaux2005-01-161-1/+1
|
* mapdrive should not bother same_entries()Pascal Rigaux2005-01-161-3/+1
|
* in read_grub(), setting {table} cause write_grub to create a {mapdrive} even ↵Pascal Rigaux2005-01-151-4/+4
| | | | when we didn't have one (bugzilla #12307)
* write in lilo.conf the global root= (bugzilla #12312)Pascal Rigaux2005-01-121-1/+1
|
* ia64 uses the lilo method (even if it has some important differences)Pascal Rigaux2004-12-171-0/+1
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-10/+10
|
* perl_checker compliancePascal Rigaux2004-11-291-1/+1
|
* - drop oem & recovery code (which was broken)Pascal Rigaux2004-11-291-27/+0
| | | | | - will be replaced with a root password + user accounts + network configuration a la drakfirsttime
* don't use typeOfMBR to check the method on floppy which may not be insertedPascal Rigaux2004-11-231-1/+4
| | | | | (part of bugzilla #12213)
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
|
* rename get_of_dev() -> dev2yaboot()Pascal Rigaux2004-11-161-4/+4
|
* don't write boot OF in /tmp/of_boot_dev, better use dev2yaboot() insteadPascal Rigaux2004-11-161-4/+0
|
* - create yaboot2file() and use itPascal Rigaux2004-11-161-76/+88
| | | | | | | | - update read_lilo() for yaboot - update write_yaboot() - remove {useboot} - set {boot} to /dev/sda1 in suggest() instead of handling it in write_yaboot()
* - handle setting memsize mem= kernel parameter in a special functionPascal Rigaux2004-10-271-16/+22
| | | | | | - rely on pack_append() to remove dups (using $uniq_dict_appends) in set_append_with_key() (drawback: it doesn't keep the order anymore)
* split {get,set}_append() into {get,set}_append_with_key() and ↵Pascal Rigaux2004-10-271-40/+47
| | | | {get,set}_append_simple()
* many kernel parameters alike "console=tty0 console=ttyS0,57600" can takePascal Rigaux2004-10-271-1/+6
| | | | | | different values, so we now take the safe side and only remove dups for parameters we know the last parameter is used (bugzilla #12055)
* detectloader must handle specially raid-extra-boot=mbr-only (bugzilla #12089)Pascal Rigaux2004-10-261-6/+21
|
* run grub chrootedGwenolé Beauchesne2004-10-261-3/+1
|
* in grub menu.lst, keep previous "serial ..." and "terminal ..." lines ↵Pascal Rigaux2004-10-111-2/+6
| | | | (bugzilla #12054)
* on a recent kernel, we remove any existing devfs= kernel option to enable udevPascal Rigaux2004-10-081-1/+10
|
* fix regexp decompose_vmlinuz_name (broke with kernel vmlinuz-2.6.8.1-12.1mdk)Pascal Rigaux2004-10-061-1/+1
|
* no need to require pkgs (and it makes bootloader-config some break when ↵Pascal Rigaux2004-09-151-1/+0
| | | | removing entries)
* handle raid-extra-boot (bugzilla #11350)Pascal Rigaux2004-09-091-1/+1
|
* remove unused variablePascal Rigaux2004-09-091-1/+1
|
* - handle lilo "static-bios-codes" optionPascal Rigaux2004-09-091-2/+3
| | | | | | - call lilo with a forced stdin (so that it doesn't read from tty) - enable calling lilo with a special stdin value
* help emacs modePascal Rigaux2004-09-091-1/+1
|
* fix regexp to work with "linux-2.6.8.1-10mdk"Pascal Rigaux2004-09-091-1/+1
|
* instead of expanding symlinks in any case, only do it when renaming "linux"Pascal Rigaux2004-09-091-19/+26
| | | | | | | into the kernel version based label (eg: "2681-10") that way "linux" like entries won't be modified, the way the "linux" is already handled
* create get_kernels_and_labels_before_kernel_remove() used by bootloader-configPascal Rigaux2004-09-071-2/+11
|
* add __regexp suffix to matching_desc() and matching_driver()Thierry Vignaud2004-08-271-1/+1
|
* - fix short label with extension. eg: have "linux-smp" instead of "linuxsmp"Pascal Rigaux2004-08-171-1/+1
| | | | | - this fixes choosing the default specialised kernel
* help debugging detectloaderPascal Rigaux2004-08-161-0/+1
|
* add and use bootloader::set_append_netprofile() and ↵Olivier Blin2004-08-131-0/+13
| | | | bootloader::get_append_netprofile()
* - bootloader::remove_append_dict() is not useful, bootloader::set_append() ↵Pascal Rigaux2004-08-131-7/+0
| | | | | | | | can do the same - don't modify anything before "Ok" is clicked - set_append with $netprofile eq '' will remove parameter PROFILE=xxx, which is what we want
* remove old linuxconf profile codeOlivier Blin2004-08-131-19/+0
|
* add remove_append_dictOlivier Blin2004-08-131-0/+7
|
* (mkinitrd) log failled commandThierry Vignaud2004-08-111-1/+1
|
* mount /proc, /sys and /proc/usb/usb in $prefix ASAP instead of doing it at ↵Pascal Rigaux2004-08-101-1/+0
| | | | various places
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-081-1/+1
| | | | | | | | | - create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection
* update yaboot code (based on Christiaan Welvaart patch)Pascal Rigaux2004-08-051-8/+18
|
* /usr/sbin/ofpath seems to need /mnt/sys mounted, and the device must exist ↵Pascal Rigaux2004-08-051-0/+4
| | | | (Christiaan Welvaart)
* fix typos (Christiaan Welvaart)Pascal Rigaux2004-08-051-2/+2
|
* pass around $all_hds instead of $hdsPascal Rigaux2004-08-051-32/+32
|
* create bootloader::allowed_boot_parts() and use it,Pascal Rigaux2004-08-051-0/+12
| | | | | it allows installing on md0 if using lilo and md0 is raid1
* - same_entries() doesn't look anymore at kernel optionsPascal Rigaux2004-08-041-4/+7
| | | | | | | (it tends to create stupid alt_xxx entries) - fix creation of labels alt2_alt_xxx (will now be alt2_xxx) - don't create bad "linux-nonfb" for kernel-win4lin
* try to keep the order of kernel options (to help same_entries())Pascal Rigaux2004-08-041-4/+14
|
* handle win4lin kernelsPascal Rigaux2004-08-041-6/+8
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-6/+10
| | | | | | | | | | | | | | | | | | | | {pt_type} is always a number, {fs_type} is always a string - introduce set_isFormatted() (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated) - don't use 0x483 for ext3 anymore (same for reiserfs...), the type_name gives both a pt_type and a fs_type - many accessors from partition_table removed (type2fs(), fs2pt_type()) - remove isThisFs() (not useful anymore since we can use directly {fs_type}) - remove isFat() (inline the function) - other isXXX() from partition_table are moved to fs::type - part2name() is now fs::type::part2type_name - name2pt_type() is now fs::type::type_name2subpart() - partition_table::important_types() is now fs::type::type_names() - fsedit::typeOfPart() is now fs::type::fs_type_from_magic() - no need to truncate type_name since they are shorter
* remove debugging codePascal Rigaux2004-07-201-2/+0
|