summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
Commit message (Collapse)AuthorAgeFilesLines
* correctly call errorInStep()Pascal Rigaux2004-08-091-4/+3
|
* - 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
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | {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
* adapt to new directories layout:Pascal Rigaux2004-07-261-4/+4
| | | | | | | | | | | - Mandrake/mdkinst -> install/stage2/live - Mandrake/base/mdkinst_stage2.bz2 -> install/stage2/mdkinst_stage2.bz2 - Mandrake/base/rpmsrate -> media/media_info/rpmsrate - Mandrake/RPMS -> media/main - images -> install/images - isolinux -> install/isolinux - Mandrake/share/advertising -> install/extra/advertising
* - %modules::conf is no more a global, so many functions need passing ↵Pascal Rigaux2004-07-211-10/+11
| | | | | | | | | | | | | | | $modules_conf - $modules_conf is a class choosing modules.conf or modprobe.conf (esp. useful after install) (but not working yet!) - modules::load() doesn't use $modules_conf, use modules::load_and_configure() - modules::load() doesn't allow options, use either modules::load_raw() or modules::load_and_configure() - some functions used to want an array ref for modules options and some a string, now every functions use a string - many functions (like modules::get_alias()) are now methods on $modules_conf - some functions in mouse.pm needed a $in where a $do_pkgs is enough - some perl_checker compliance - small fixes
* fix mounting /sys (why did i switch to using syscall_ 'mount' directly? and ↵Pascal Rigaux2004-07-091-2/+1
| | | | with missing parameters!)
* - create X_options_from_o() and use itPascal Rigaux2004-07-081-0/+1
| | | | | - add freeDriver boot option
* modules::mergein_conf() doesn't need to be given /etc/modules.confPascal Rigaux2004-07-071-1/+1
| | | | | => prepare for reading either modprobe.conf or modules.conf based on the running kernel version
* stage1 used to write files /tmp/network, /tmp/ifcfg-eth0, /etc/modules.confPascal Rigaux2004-07-011-1/+3
| | | | | | | but those files are in /stage1 after pivot rooting, so: - write modules.conf in /tmp instead of /etc - cp those files from /stage1/tmp to /tmp before umounting /stage1
* remove deprecated rhimage symlinkPascal Rigaux2004-06-251-1/+0
|
* rename --test in --testing for install2 (more coherent with standalone tools)Pascal Rigaux2004-06-221-1/+1
|
* merge globetrotter support from MDK-10-branchThierry Vignaud2004-06-181-0/+1
|
* switch to xorgPascal Rigaux2004-06-081-1/+1
|
* "expert" flag in stage2 is bad and deprecated, removing it!Pascal Rigaux2004-05-261-1/+0
|
* in manualFstab coming from auto_install.cfg, allow device /dev/XXX instead ↵Pascal Rigaux2004-05-131-0/+5
| | | | of simply XXX
* instead of keeping stage1 (mostly as temporary space but with a fixed size, ↵Pascal Rigaux2004-05-131-1/+8
| | | | | | | and for the background init), exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
* perl_checker compliancePascal Rigaux2004-05-111-1/+1
|
* blank.img has been removed, so remove special code handling itPascal Rigaux2004-05-031-2/+1
|
* mount /sys before move::init() since move::init() needs itPascal Rigaux2004-04-081-1/+3
|
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-3/+2
|
* tentatively fix lilo with lvm on /Pascal Rigaux2004-03-111-0/+5
|
* mount /sys in case it is useful (and it is for get_usb_storage_info_26())Pascal Rigaux2004-03-031-0/+1
|
* add distro_type variable to select correct updates mirror typeFlorent Villard2004-02-271-0/+2
|
* HACK: set LD_ASSUME_KERNEL so that rpm doesn't try to use tls (which we don'tPascal Rigaux2004-02-181-0/+1
| | | | | | have at install) otherwise it causes *weird* problems in __db*. When LD_ASSUME_KERNEL is set, no __db* are used, and so no such pbs.
* in boolean context, "any" is better than "find"Pascal Rigaux2004-02-131-1/+1
|
* - have usb-storage as a scsi_hostadapter by defaultPascal Rigaux2004-02-131-0/+10
| | | | | - remove it if unneeded for normal boot (cf comment in the code)
* i810fb on 2.6 needs intel-agp module, doesn't like hwcur and xcon parametersGuillaume Cottenceau2004-02-121-1/+2
|
* replace unless with ifPascal Rigaux2004-02-121-2/+2
|
* perl_checker fixPascal Rigaux2004-02-031-1/+1
|
* fix reading stage1 network configurationPascal Rigaux2004-02-021-1/+1
|
* fix fixThierry Vignaud2004-01-141-1/+1
|
* fix logic test order in order to prevent useless error message in --testing modeThierry Vignaud2004-01-141-1/+1
|
* used the ip from stage1 instead of using IPADDR which is not given for dhcpPascal Rigaux2004-01-121-2/+3
| | | | | for auto_install file (as asked by Michael Riss)
* no need to log the error twice, errorInStep will take care of itPascal Rigaux2004-01-081-1/+0
|
* display the errorPascal Rigaux2004-01-081-0/+1
|
* logging when __DIE__ing is dangerous:Pascal Rigaux2004-01-071-1/+0
| | | | | | | - in diskdrake, logging the error via c::syslog caused $@ to be undefined, causing the error to be dropped! (esp "you need to reboot") - during install, no known error, but it's better to remove it anyway (bye bye the "warning: ..." in ddebug.log, sniff)
* obsolete livedrake, live_install, live_updatePascal Rigaux2004-01-061-5/+3
|
* get rid of g_auto_install (unused & not working)Pascal Rigaux2004-01-061-10/+4
|
* remove mkbootdisk supportPascal Rigaux2004-01-061-2/+0
|
* write_conf() doesn't need $prefix anymorePascal Rigaux2004-01-051-3/+3
|
* fix old-style call of lang::set, don't call it in moveGuillaume Cottenceau2003-11-211-1/+1
|
* shut upGuillaume Cottenceau2003-11-181-1/+0
|
* fix bogus use of old netwok module instead of network::network (missed whenThierry Vignaud2003-11-141-1/+1
| | | | | cleaning up this)
* test the presence of kernel modules .cz'ed or notPascal Rigaux2003-11-141-2/+3
|
* testing for cz file in move mode is a bad ideaGuillaume Cottenceau2003-11-131-1/+1
|
* fix bogus use of old netwok module instead of network::networkThierry Vignaud2003-11-121-5/+5
|
* vivification is dangerousGuillaume Cottenceau2003-11-061-1/+4
|
* don't getFile VERSION in move or testingPascal Rigaux2003-10-311-6/+8
|
* - rename exitMove to startMovePascal Rigaux2003-10-151-4/+0
| | | | | | - remove the blinks before kde start by relaying the last X connection (using gmessage for now, will use "xtest --wait" later)