summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
Commit message (Collapse)AuthorAgeFilesLines
* (update_splash) Only expand initrd symlinks for kernels with vga=nnn argumentsColin Guthrie2012-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | When working out which initrds to regenerate, it is likely that the same initrd symlink is used by multiple bootloader entries (i.e. typically the initrd.img symlinked initrd is used by both the current and the failsafe entry). If the earlier entry does have vga= but the latter entry does not, then the latter entry will end up being the value used when checking the vga= argument when deciding if the initrd needs to be regenerated. Thus we only expand the symlink if the vga= value is set which means that any initrd that needs to be regenerated definitely will be regenerated. This will hopefully solve the problem seen on mga2 when and updated theme package had to be pushed but the initrds didn't seem to be updated.
* (mkinitrd) More logging on why initrd generation is skippedColin Guthrie2012-09-011-4/+13
|
* (mkinitrd) Fix prefix checking in foreign partition check (mga#6966)Colin Guthrie2012-09-011-1/+1
|
* (mkinitrd) do not crash if a foreign partition is not mounted (mga#6966)Thierry Vignaud2012-08-071-1/+3
|
* (mkinitrd) do not crash if trying to build initrd from unknownThierry Vignaud2012-08-071-1/+2
| | | | partitions (mga#4290)
* (mkinitrd) style change (needed for next commits)Thierry Vignaud2012-08-071-1/+2
|
* (install,check_mntpoint) forbid having /boot as btrfs (mga#5627)Thierry Vignaud2012-04-281-1/+1
|
* fix splash quiet optionAnne Nicolas2012-04-101-1/+1
|
* add boot splash to initrd only once (pterjan)Thierry Vignaud2012-04-051-1/+9
|
* perl_checker cleanupThierry Vignaud2012-03-191-1/+1
|
* (read_pmon2000,read_uboot,read_cromwell) add a FIXME note since thoseThierry Vignaud2012-03-191-0/+4
| | | | are fake stubs
* (read_pmon2000,read_uboot,read_cromwell) simplifyThierry Vignaud2012-03-191-9/+3
|
* - use "splash" on the kernel command line vs. "splash=silent" as per upstreamColin Guthrie2012-03-191-1/+2
| | | | | | | code (e.g. plymouth, systemd and others) - support the "quiet" kernel command line argument to hide kernel text
* (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 Magiea. 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
|