summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* (cmp_kernel_versions) move it from any.pm to common.pm; thus preventing lazy ↵Thierry Vignaud2012-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | loading of syscall.ph through any->detect_devices>modules>list_modules>MDK::Common>MDK::Common::System>syscall.ph This can end in crashing mgaaplet when performing live update (mga#3042) because of lazy loading of syscall (by which time perl may as well have been updated including syscall.ph which leave eg perl/5.12.x for perl/5.14.x) This also saves quite some memory for: - net_applet (5Mb aka 11%), - mgapplet (7Mb aka 14%) (as well as maybe for drakxnet but that's more transient): 21736 root 20 0 240m 44m 10m S 0 1.1 0:00.63 net_applet 21501 root 20 0 236m 39m 11m S 0 1.0 0:01.09 net_applet 23116 root 20 0 297m 50m 12m S 0 1.3 0:00.58 mgaapplet 23259 root 20 0 290m 43m 12m S 0 1.1 0:00.40 mgaapplet
* kill dead comments & code (support for kernel-2.[24].x, devfs is dead since ↵Thierry Vignaud2011-12-191-12/+2
| | | | 2.5.x kernels, ...)
* do not hardcode systemd default through kernel command line, it should be ↵Olivier Blin2011-12-141-6/+0
| | | | easily overridable by just picking the proper init package
* (add_kernel) default to systemd (through "init=/bin/systemd")Thierry Vignaud2011-09-191-0/+6
|
* (write_grub) cleanup: do not opencode path againThierry Vignaud2011-09-081-1/+1
|
* This fixes the detection of kernel vesion for usage in bootloader entries.Thierry Vignaud2011-08-011-1/+1
| | | | | | | | | | | | | | | | It wasn't entirely correct in mga1, and it got worse since we started adding mgaver to rpmtag. Before installing a kernel-desktop-3.0.0-1.mga2 the entry would end up as: title 2 3.0.0-desktop-1.mga With the fix below it creates the proper entry: title desktop 3.0.0-1.mga2 Signed-off-by: Thomas Backlund <tmb@mageia.org>
* move bootloader::cmp_kernel_versions() from bootloader to any for drakx-net ↵Thierry Vignaud2011-07-271-14/+2
| | | | (#1266)
* - use 'cannot' instead of 'can not'Ahmad Samir2011-04-021-2/+2
| | | | | - use 'LDAP' instead of 'Ldap'
* - import stage1/drakxtools arm supportArnaud Patard2011-03-181-4/+23
|
* - import stage1/drakxtools mips supportArnaud Patard2011-03-181-5/+39
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* [drakboot] add per-boot-entry lock with password checkboxChristophe Fergeau2010-04-121-0/+1
|
* Use same protection defaults for lilo and grubChristophe Fergeau2010-04-121-4/+12
| | | | | Use RESTRICTED security by default for lilo when a password is set instead of MANDATORY to behave the same way as grub.
* fix generation of grub md5 password on 64 bit installsChristophe Fergeau2010-02-101-1/+3
| | | | | | | we can't directly run grub-md5-crypt in 64 bit installs since it will run grub which is a 32 bit binary, and the install root fs doesn't have 32 bit user-land support. chroot into the target system if ::prefix is set to have proper 32 bit support if needed.
* rework detection of already crypted grub passwordsChristophe Fergeau2010-02-101-10/+9
|
* fix grub-md5-crypt call when running from a chrootChristophe Fergeau2010-02-101-1/+1
| | | | This should fix encrypted grub passwords in installer (bug #57461)
* drakboot: fix crypted password detectionPascal Terjan2010-02-101-1/+1
|
* (write_grub) ensure /boot/grub/menu.lst permissions are 0600 since itThierry Vignaud2010-02-041-1/+1
| | | | can contains a password
* (setupBootloader__general, read_grub_menu_lst, write_grub) default toThierry Vignaud2010-02-041-8/+3
| | | | always crypt grub passwords
* fix disabled diagnostics pragmaThierry Vignaud2010-02-041-1/+1
|
* (read_grub_menu_lst,write_grub) fix support for crypted grub passwordsThierry Vignaud2010-02-041-4/+10
| | | | due to fscking combinediff that forgot one file
* (setupBootloader__general, crypt_grub_password, is_already_crypted,Thierry Vignaud2010-02-031-1/+36
| | | | read_grub_menu_lst, write_grub) add support for crypted grub passwords
* (read_grub_menu_lst) perl_checker cleanupThierry Vignaud2010-02-031-1/+1
|
* (write_grub::format) factorize codeThierry Vignaud2010-02-031-2/+4
|
* (write_grub) allow timeout to be '0'Thierry Vignaud2010-02-031-1/+2
|
* (setupBootloader__general) make restrict's 'validate' callback more readableThierry Vignaud2010-02-031-1/+1
|
* remove mnb from bootloader entry name like we do for mdvPascal Terjan2010-01-261-1/+1
|
* fix bootloader entry name for rc kernelsPascal Terjan2010-01-261-1/+1
|
* do not pass deprecated --ifneeded option anymore to mkinitrdOlivier Blin2009-11-301-1/+1
|
* do not add removable drives as "Windows" entry in bootloaderOlivier Blin2009-11-251-0/+1
|
* do not try to add failsafe entry if not kernel is addedOlivier Blin2009-10-301-1/+2
|
* add vga= option for kernels that are not the preferred one as wellOlivier Blin2009-10-301-1/+1
|
* remove previous linux-nonfb entries (like done for failsafe), not to add ↵Olivier Blin2009-10-301-3/+3
| | | | them twice or more
* do not add again kernels that are already in bootloader config fileOlivier Blin2009-10-301-0/+3
|
* make sure we use long name when adding second kernel with same extension ↵Olivier Blin2009-10-301-2/+3
| | | | than preferred one
* do not link /boot/vmlinuz to xen while allowing a unversioned /boot/vmlinuz-xenPascal Terjan2009-10-141-0/+3
|
* use initrd-2.6.30.2-xen-5mdv.img instead of initrd-xen-2.6.30.2-xen-5mdv.imgPascal Terjan2009-10-131-2/+2
|
* Use Hal list of recovery partitions (#51532)Pascal Terjan2009-06-091-3/+3
|
* (read_grub_menu_lst) fix crash introduced in latest commit...Thierry Vignaud2009-04-161-1/+1
|
* windows boot partition is the active one (#49483)Pascal Terjan2009-04-151-7/+1
|
* keep grub entries which refer to unknown devices verbatim instead of ↵Pascal Terjan2009-04-151-4/+11
| | | | crashing (#48728)
* bootloader: add large-memory option to liloPascal Terjan2009-04-081-1/+2
|
* (install) enable having /boot as ext4Thierry Vignaud2009-02-161-1/+1
|
* fix a crash when boot device is not removablePascal Terjan2009-02-121-1/+1
|
* Use fs::get::part2hd instead of reinventing itPascal Terjan2009-02-101-1/+1
|
* When installing to a removable device, put boot sector there, else put it ↵Pascal Terjan2009-02-091-2/+10
| | | | into first non removable drive (#47106)
* - add commentsPascal Rigaux2009-01-151-3/+11
| | | | | - fix #45515
* add commentsPascal Rigaux2009-01-151-2/+10
|
* add commentPascal Rigaux2009-01-141-0/+2
|
* add commentPascal Rigaux2009-01-141-0/+1
|