summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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