summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* don't bootloader::suggest_floppyPascal Rigaux2004-07-191-15/+0
|
* don't unset prompt when timeout is undefined (and don't care when timeout is 0)Pascal Rigaux2004-07-191-2/+2
|
* save the previous bootloader config file (bugzilla #10072)Pascal Rigaux2004-07-181-6/+20
|
* make_boot_splash is no good since the same initrd is used with or without vga=,Pascal Rigaux2004-07-151-9/+0
| | | | | so call add_boot_splash directly
* alt_xxx instead of old_xxx for bootloader labels (as suggested by Svetoslav ↵Pascal Rigaux2004-07-151-1/+1
| | | | Slavtchev on cooker)
* (sort_hds_according_to_bios): when installing on floppy, $boot_hd is ↵Pascal Rigaux2004-07-121-3/+3
| | | | undefined, but that's ok (bugzilla #10260)
* remove unneeded spaces in append=" foo"Pascal Rigaux2004-07-061-0/+1
|
* write_lilo handles "optional"Pascal Rigaux2004-07-061-0/+1
|
* rename varPascal Rigaux2004-07-061-17/+17
|
* cleanupPascal Rigaux2004-07-061-2/+1
|
* cleanupPascal Rigaux2004-07-061-12/+13
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-1/+1
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* drop "other" entries in grub conf when the device is unknownPascal Rigaux2004-07-051-3/+8
|
* - handle missing root=/dev/xxx kernel commandline parameterPascal Rigaux2004-07-051-6/+7
| | | | | - handle grub splashimage option
* oops, revert debugging codePascal Rigaux2004-07-051-1/+1
|
* fix typoPascal Rigaux2004-07-031-1/+1
|
* fix typoPascal Rigaux2004-07-011-1/+1
|
* - mkinitrd() calls make-boot-splash after building the initrdPascal Rigaux2004-06-291-47/+121
| | | | | | | | | | | | | (since /sbin/mkinitrd doesn't do it anymore) - change mkinitrd() parameters - change add_kernel() parameters and add option b_no_initrd (it is available in installkernel though i suspect it is unused) - after reading config file, get {perImageAppend} and {default_vga} (it was only done for lilo and {perImageAppend}) - keep the current kernel for linux-nonfb too (it was only done for failsafe) - add create_link_source(), action(), when_config_changed_{lilo,grub,yaboot} - create write_yaboot()
* after install, when modifying kernel parameters in all entries, skip the ↵Pascal Rigaux2004-06-281-1/+3
| | | | | | | "failsafe" entry (bugzilla #10143)
* when adding a new kernel, have a nicer new name for conflicting entryPascal Rigaux2004-06-251-3/+8
|
* when modifying a symlink, ensure we also use the long name for the old ↵Pascal Rigaux2004-06-251-15/+38
| | | | symlink in the existing entries
* fix 2 typosPascal Rigaux2004-06-251-1/+1
|
* drop obsolete functionPascal Rigaux2004-06-251-8/+0
|
* drop obsolete lnx4win_file()Pascal Rigaux2004-06-251-5/+0
|
* major cleanup and rewritePascal Rigaux2004-06-251-359/+419
| | | | | | | | | | | | | | | | | | | | - some functions have been renamed - some functions have changed prototype - no more bootloader::vga_modes, we use Xconfig::resolution_and_depth::bios_vga_modes() - no more detectloader, it is now detect_main_method(), but notice that bootloader::read() + bootloader::write() abstract all this! - update_for_renumbered_partitions() is surely broken :) - sort_hds_according_to_bios() and mixed_kind_of_disks() uses new function hd2bios_kind() - new data structure "kernel_str" - lilo doesn't need so much help as it used to be, so don't put as much "disk=/dev/sda bios=0x80" as before some goals: - don't rely on device names (this allows not to care too much about devfs vs udev vs ...) - kernels can be named something else than /boot/vmlinuz*, please use the various functions to construct the initrd file name, the symlink name...
* add check_enough_space() and use itPascal Rigaux2004-06-221-3/+7
|
* - fix typoPascal Rigaux2004-06-221-107/+6
| | | | | - remove silo code (sparc)
* (write_grub_config) do not write partial config file (thus garbaging previousThierry Vignaud2004-06-011-16/+15
| | | | | config) if an error occured
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-2/+2
|