summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
Commit message (Collapse)AuthorAgeFilesLines
* installer: avoid resetting keyboard layout at end of formatting step (mga#23877)Martin Whitaker2018-12-111-1/+1
|
* Catch sys_kernel_debug failure for local installPascal Terjan2018-01-201-1/+1
| | | | | | | | Some systems (for example some virtual machines) don't have any USB devices and the mounting fails as usbcore is not loaded. This is the case for every other call of it and just means USB devices don't get detected.
* installer: force update of /dev/disk/by-uuid after partitioning (mga#22059)Martin Whitaker2018-01-091-0/+7
| | | | | | | | Because stage2 does not include the udev 60-blocks.rule, udev does not automatically update the soft links in /dev/disk/by-uuid after we write the partition table and format the partitions. We need these links to be updated before we create the initrd. It would be cleaner to fix this with a udev rule, but for now, use brute force.
* prevent autovivification (mga#20551)Thierry Vignaud2017-03-241-20/+21
| | | | | | | | | | | | commit 560f9ca983d743cc42701c24546ac8c2080a13fe introduced a regression in that a lot of variables got autovivificated This results in a bug for some of them, at least for 'compssListLevel' The solution is to store options values in a hash (which actually simplifies here): http://perldoc.perl.org/Getopt/Long.html#Storing-options-values-in-a-hash Thanks Martin Whitaker for the suggestion
* ignore case for optionsThierry Vignaud2017-03-241-1/+1
| | | | | | commit 560f9ca983d743cc42701c24546ac8c2080a13fe introduced this small regression, which is important to fix for next commit, else s/compsslistlevel/compssListLevel/ won't work as intended
* use SHA-512 instead of blowfishFrédéric Buclin2017-02-251-1/+1
| | | | | | as the default password encryption (mga#20342) thus completing commit c0529b4c5858300c0bd9c94fd35540e1f105dfd6
* (system_info) split itThierry Vignaud2016-06-231-2/+1
|
* just ignore kernel optionsThierry Vignaud2016-04-041-5/+1
| | | | do not try to blacklist them, there's too many...
* log which virtualization technology is detectedThierry Vignaud2016-03-271-0/+1
|
* load psmouse (it is now modular)Thierry Vignaud2016-03-211-0/+3
|
* load evdev (thus fixing a crash)Thierry Vignaud2016-03-211-0/+3
|
* silent a warning bout BOOT_IMAGE optionThierry Vignaud2016-01-211-1/+2
|
* fix warnings about unknown kernel optionsThierry Vignaud2016-01-091-0/+3
| | | | | | | (when parsing drakx options) we don't use "pass_through" Getopt option so that we do get warnings about wrongly named options
* fix parsing stage1's automatic option (mga#17441)Thierry Vignaud2016-01-091-1/+1
| | | | regression introduced in commit 560f9ca983d743cc42701c24546ac8c2080a13fe
* fix ignoring options from isolinuxThierry Vignaud2016-01-091-1/+1
| | | | regression introduced in commit 560f9ca983d743cc42701c24546ac8c2080a13fe
* realignThierry Vignaud2015-12-251-36/+36
|
* Getopt::Long enables us to further simplifyThierry Vignaud2015-12-251-4/+2
| | | | let's regroup options
* simplify by switching to Getopt::LongThierry Vignaud2015-12-251-58/+43
| | | | | thus allowing "--flang=fr" instead of just "--flang fr" with drakx-in-chroot, similar to when using stage1 (modulo "--" prefix)
* add 'deploops' option for debugging (mga#15350)Thierry Vignaud2015-03-171-0/+1
|
* log step errorsThierry Vignaud2015-03-051-0/+1
|
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* document stage2 entry pointThierry.Vignaud2014-05-281-11/+130
|
* typo fixThierry Vignaud2014-05-201-1/+1
|
* fix detecting if basesystem is installed (mga#10722)Thierry Vignaud2014-01-191-1/+2
| | | | | | thus fixing "basesystem package not selected" real cause might be some package flags not having been updated
* fix retrieving network info from stage2 after dracut migration (mga#11504)Thierry Vignaud2013-12-061-1/+1
| | | | dracut is now creating /tmp/ifcfg & /tmp/ifcfg-leases directories...
* install/rescue: Adapt to a dracut based stage1.Colin Guthrie2013-10-291-11/+2
| | | | | | | | | | | The main change here is not remounting a fresh /run. Dracut does this for us and we actually need to keep this one as the initial udev database (when udev is started by dracut) is stored here and thus mounting an empty fs could see us lose some metadata. We no longer touch the /bin, /sbin or /lib[64] symlinks as these are already relative symlinks into /usr and simply bind mounting /usr is enough.
* finish-install: Do not check for /usr/sbin/urpmi.updateColin Guthrie2013-10-131-1/+1
| | | | | | | | | This file is now 'hidden' in /usr/libexec and only used via it's wrapper script in mgaonline. This was originally changed from /usr/bin/urpmi back in 2001 by Pixel, but the current path for urpmi is /usr/sbin/urpmi, which seems to be as reliable as urpmi.update was before.
* do not disable module autoloading (mga#9428)Thierry Vignaud2013-03-201-1/+0
|
* (real_main) time steps in logsThierry Vignaud2012-12-141-0/+2
|
* enable to skip keyboard step with keyboard optionThierry Vignaud2012-12-061-0/+1
|
* (start_udev) fix detecting if udev is already runningThierry Vignaud2012-10-221-1/+1
| | | | | Spot by Colin, broken since commit r4817 June 5 2012: "(start_udev) do not start udev twice in debug mode"
* (main,hasCPUMicrocode) load 'microcode' asynchronouslyThierry Vignaud2012-10-051-0/+2
| | | | thus preventing big wait when not supported (mga#7671)
* save the untranslated license earlyThierry Vignaud2012-09-181-1/+2
|
* (start_udev) better commentsThierry Vignaud2012-09-121-1/+2
|
* (main) /sys is already mounted by stage1Thierry Vignaud2012-09-031-1/+0
|
* mount /dev/{pts,shm} earlier, in stage1 rather than in stage2Thierry Vignaud2012-09-031-4/+0
| | | | (based on pok's idead @mdv but fixed)
* mount /dev as devtmpfs earlier, in stage1 rather than in stage2Thierry Vignaud2012-09-031-1/+0
| | | | (based on pok's idead @mdv but fixed)
* adapt to usbfs death (2/4): if needed, mount /sys/kernel/debug/usbThierry Vignaud2012-08-301-1/+1
| | | | instead of /proc/bus/usb
* adapt to latest systemd/udevdThierry Vignaud2012-07-241-1/+1
|
* (main) do not try to mount /sys twice if udev was started by a script in ↵Thierry Vignaud2012-06-051-1/+1
| | | | debug mode
* (start_udev) do not start udev twice in debug modeThierry Vignaud2012-06-051-0/+2
|
* document optionsThierry Vignaud2012-05-231-11/+24
|
* (parse_args,empty_packages) enable to go fast with 'tune-rpm'...Thierry Vignaud2012-05-231-0/+1
| | | | | for testing (it looks like urpm::set_tune_rpm() is more effective than what does install::pkgs::install() & _remove_raw()
* (parse_args,empty_packages) add support for 'justdb' optionThierry Vignaud2012-05-231-0/+1
| | | | | | | | | | | (for fast testing; warning: no coverage for %post scripts errors or missing requires, non explicit file conflicts, ...) (installPackages) don't try to run ldconfig in 'justdb' mode (configureNetwork) don't try to set firewall, file tests will fail (afterInstallPackages) don't check for file
* always load fs::mountThierry Vignaud2012-05-231-1/+1
| | | | | rationale: its nearly always needed anyway and it'll be always needed afer next commit
* no need to create /dev/zero and the like, udev already did itThierry Vignaud2012-05-231-2/+1
| | | | | quite a lot more remain as we either lack prope udev rules or rely on older style entries or are needed in drakx-in-chroot mode
* (init_modules_conf) explainThierry Vignaud2012-05-231-0/+1
|
* (init_modules_conf) split it out of main()Thierry Vignaud2012-05-231-5/+9
|
* (main) we no more use a theme that depends on META_CLASS valueThierry Vignaud2012-05-231-1/+0
|
* (main) no need to create /dev/ttyThierry Vignaud2012-05-231-2/+0
|