summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
Commit message (Collapse)AuthorAgeFilesLines
* - merge network settings in a $net hash (it modifies $o fields too):Olivier Blin2005-06-031-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o $netc becomes $net->{network} and $net->{resolv} o $intf becomes $net->{ifcfg} - move zeroconf config stuff in write_zeroconf - read_tmdns_conf -> read_zeroconf - read_all_conf -> read_net_conf - configureNetwork2 -> configure_network - configure_network: write ifcfg files for ppp interfaces too - don't install wireless-tools in configure_network, this package is in basesystem - most functions don't need the file path as an argument in network::network - drop network::tools::remove_initscript - don't export too much from network::network - don't export from network::tools - remove adsl_unsupported_eci step in drakconnect - drop passwd2 field in network::adsl - drop $net->{isdn_internal} - network::netconnect : main -> safe_main - use network::netconnect::real_main during install - don't read network config in network::netconnect::real_main - install_steps::upNetwork : resolv.conf is already symlinked by network::network::configure_network when appropriate - try to fix install_any::generate_automatic_stage1_params to use a real interface configuration - put authentication stuff in $net->{auth} - drop network::ethernet::write_ether_conf - drop network::adsl::get_wizard - use 'static' instead of 'manual' as ADSL method - drop first_modem and its workarounds in network::modem - drop deprecated "multiple_internet_cnx" step in drakconnect - don't save /etc/sysconfig/drakconnect anymore - drop MDK::Common::Globals stuff - drop getIP in net_applet (Pixel) - drop $netc->{DHCP} - configure_network(): write resolv.conf even if a dhcp interface is configured
* read in existing modprobe.conf on upgrade (bugzilla #13309)Pascal Rigaux2005-06-021-0/+2
|
* allow upgrading a chroot (using drakx-in-chroot)Pascal Rigaux2005-06-021-2/+2
|
* don't skip selectLanguage, selectKeyboard and miscellaneous by default in ↵Pascal Rigaux2005-05-301-1/+1
| | | | drakx-in-chroot
* remove dead codePascal Rigaux2005-05-301-4/+2
|
* make drakx-in-chroot workPascal Rigaux2005-05-301-1/+7
|
* - since set_security doesn't depend on the bootloader password, we can call ↵Pascal Rigaux2005-05-271-2/+0
| | | | | | | it where it should - ensure we don't drop entries from /etc/sysconfig/system
* replace unused $o->{localInstall} with $::local_install, partially used ↵Pascal Rigaux2005-05-261-4/+5
| | | | | | | instead of $::uml_install and used in drakx-in-chroot
* Add missing braceRafael Garcia-Suarez2005-05-061-0/+1
|
* remove obsolete code (most of these steps are anyway skipped in upgrade mode)Olivier Blin2005-05-031-4/+0
|
* do the edid probe before launching X server (the way it was already done for ↵Pascal Rigaux2005-04-081-1/+2
| | | | i810fb)
* leave bootsplash when X is up (and also in newt and auto_install)Pascal Rigaux2005-04-061-0/+2
|
* when re-ordering the steps to have doPartitionDisks just after ↵Pascal Rigaux2005-04-061-1/+3
| | | | selectInstallClass in case of upgrade, do it properly so that the "Partitioning lamp" behaves properly (bugzilla #15040)
* do "doPartitionDisks" and "formatPartitions" ASAP in upgrade so that ↵Pascal Rigaux2005-03-181-1/+4
| | | | miscellaneous is runned when /mnt is mounted (bugzilla #8678)
* Allow to specify "suppl" and "askmedia" in the kernel command-line as well ↵Rafael Garcia-Suarez2005-03-161-1/+3
| | | | as in the hdlists file
* - remove ddcxinfos, replaced by monitor-edid (which is in a separate package)Pascal Rigaux2005-02-281-2/+1
| | | | | | | | | | | | - add many resolutions (they are structured by aspect ratio for next move) - put the "Monitor preferred modeline" from EDID in xorg.conf - for this ModeLine must be exported from the monitor section - specifying a VendorName|ModelName in auto_inst is valid, don't overwrite it with edid probe - the strange /dev/zero needed (?) by ddcxinfos is no more needed - field {size} is now {diagonal_size}, and is no more "corrected" - add @CVT_ratios and @CVT_vfreqs (unused at the moment) - Getopt::Long is needed by monitor-parse-edid
* new kernel doesn't like usbdevfs any more, it wants usbfsPascal Rigaux2005-02-081-1/+1
|
* drakx_version() is now in install_anyPascal Rigaux2005-01-261-1/+1
|
* - move some install specific code out of ugtk2.pm into install_gtk.pmPascal Rigaux2005-01-061-1/+1
| | | | | - move some install specific code out of common.pm into install_any.pm
* move mdkinst.clp on hard drive ASAPPascal Rigaux2005-01-031-0/+2
| | | | | | => allows multi-cd installs even if the mdkinst.clp was not preloaded => allows to better memory handling during pkgs install (hopefully at least)
* add option no_bad_drives (to workaround bugzilla #12766)Pascal Rigaux2004-12-221-0/+1
|
* /proc/sys/kernel/modprobe wants something non empty, otherwise it doesn't ↵Pascal Rigaux2004-12-211-1/+1
| | | | change anything
* don't die when /proc/sys/kernel/modprobe doesn't exist (for BOOT kernels)Pascal Rigaux2004-12-201-1/+1
|
* help testingPascal Rigaux2004-12-161-1/+1
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-6/+6
|
* disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOTPascal Rigaux2004-12-031-0/+1
|
* - drop oem & recovery code (which was broken)Pascal Rigaux2004-11-291-18/+0
| | | | | - will be replaced with a root password + user accounts + network configuration a la drakfirsttime
* A bit of grammarRafael Garcia-Suarez2004-11-291-3/+3
|
* since we don't use ramdisk but clp, some code is deadPascal Rigaux2004-11-181-18/+0
| | | | | (remove usingRamdisk(), check_prog(), remove_unused()...)
* don't install updates when meta_class is firewallPascal Rigaux2004-10-051-1/+1
|
* - prosuite is now named powerpackplusPascal Rigaux2004-10-011-4/+6
| | | | | - simplify the code searching for the meta_class
* fix logging rpmsrate_flags_chosenPascal Rigaux2004-10-011-1/+2
|
* better loggingPascal Rigaux2004-09-271-1/+1
|
* don't set {meta_class} from file VERSION when it is already given on cmdlinePascal Rigaux2004-09-221-1/+1
|
* log the {meta_class}Pascal Rigaux2004-09-101-0/+1
|
* always load mouse modules at beginning of install (should fix X testOlivier Blin2004-09-061-5/+2
| | | | | not working with synaptics during install)
* stage1 terminfo is not available anymore, use our own terminfoPascal Rigaux2004-09-031-0/+1
|
* read modules configuration file from stage1 as modules_conf file, butOlivier Blin2004-08-271-1/+2
| | | | | get an object of the proper type by using modules::any_conf::vnew
* $::corporate is deadPascal Rigaux2004-08-171-3/+0
|
* get release_notes at beginning of ↵Pascal Rigaux2004-08-171-1/+1
| | | | install_steps_interactive::acceptLicense(), even when useless_thing_accepted
* replace freeDriver with freedriver (stage2 para are lower cased)Pascal Rigaux2004-08-161-1/+1
|
* modules::load doesn't accept options anymore, use ↵Pascal Rigaux2004-08-161-3/+2
| | | | modules::load_with_options() (bugzilla #10778)
* - don't use compssUsers anymore, use compssUsers.plPascal Rigaux2004-08-131-1/+1
| | | | | | | | - code to display compssUsers choices is now in compssUsers.pl - {compssUsers} is now a list instead of a hash, and so drop {compssUsersSorted} - rename {compssUsersChoice} to {rpmsrate_flags_chosen} (better name) - i18n_compssUsers is no more needed, add share/compssUsers.pl* to ALLPMS
* mount /proc, /sys and /proc/usb/usb in $prefix ASAP instead of doing it at ↵Pascal Rigaux2004-08-101-0/+4
| | | | various places
* 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