| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixes a couple of issues found when reading a manually generated file:
- allow for extra white space between label and append options
- don't simplify the label when writing - rEFInd allows any text
string here
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thus preventing a failure when installing updates (due to udisks-daemon
not running) if a package was available in the install media.
Note that this will also cause the live system local repo to be
removed when finish-install is run after installing the live system
to disk. This is harmless - anything in the local repo should also
be available in the online media - and indeed, leads to a cleaner
system.
(committed by Martin Whitaker <mageia@martin-whitaker.me.uk>)
|
|
|
|
|
| |
A parsing bug in bootloader::read_grub2() stopped the main menuentry
being added to $bootloader{entries}.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
elevator=deadline is supposed to give better performance on flash
storage, and used by default on most Raspberry Pi distributions.
Ideally, this should not be set here for specific boards, but
automatically for all architectures depending on the storage type.
Archlinux appears to use a /etc/tmpfiles.d/set_IO_scheduler.conf file for this.
|
|
|
|
|
|
|
|
|
|
| |
console=ttyS0,115200 will work on Raspberry Pi 3.
Raspberry Pi 2 does not boot without console=tty1 on cmdline.
To have console output on both serial port and HDMI display,
8250.nr_uarts=1 is needed.
On Raspberry Pi 2, though, it is required to edit /boot/extlinux/extlinux.conf
to use ttyAMA0 instead of ttyS0 in the console parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read and write an extlinux.conf file in /boot/extlinux, it will be
automatically found by U-boot if located on an active partition.
Keep the "uboot" backend name, since we may do some U-Boot
installation steps later on.
Also, the extlinux.conf code could be used to support other
bootloaders from the syslinux family.
fixup extlinux
|
|
|
|
| |
Also save it as fdtdir
|
|
|
|
| |
It is needed for root devices with LABEL or UUID.
|
|
|
|
| |
Those are listed in /proc/bus/input/devices (mga#9986)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Thus ensuring we get the correct device numbers after writing a
partition table (mga#22032).
|
|
|
|
|
| |
This enables bootloader::read_grub2 to recognise the initrd16 keyword,
which is used by default on x86 machines.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The video mode needs to be extracted from and written back to the
GRUB_CMDLINE_LINUX_DEFAULT parameter in /etc/defaults/grub2.
This fix creates a new "default_vga" key in the $bootloader hash to
hold the current selection. Using the existing "vga" key would cause
the default video mode to be added to any bootloader entries that
don't have a specific "vga" value, e.g. the "failsafe" entry.
The $bootloader "vga" value doesn't appear to be set anywhere else,
so may in fact be obsolete.
|
|
|
|
|
| |
This allows changes to the append options to propagate to the grub2
configuration file, thus fixing mga#21263 and mga#21250.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
we were wrongly assuming we entered a new entry when reading eg:
"${xen_rm_opts}"
(which is why most people never see that error and why I wasn't able to
reproduce it, one would need Xen or similar to be installed)
Then drakboot would crash with:
drakboot crashed ("undefined value for mandatory argument 'text' encountered at ugtk3.pm"
Theorically, it could happen with DrakX too when updating a system with Xen.
|
|
|
|
| |
thus we got more data
|
| |
|
| |
|
|
|
|
|
| |
Fixes a corner case bug where GRUB_DEFAULT and GRUB_SAVEDEFAULT would be
overwritten if previously set to a value that evaluates as false.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depending on machine speed/slowness, signals will not be fired in the
order expected and Repaint() will be called before global variable
$cairo is set by draw().
This can be reproduced by making $timer to happens much faster than
every 120ms so that it happens before the first call to draw()
This workaround fix the bug introduced in commit 1a30f422b41250e338d2c1d209aec1b64204c8e0
But it would probably be saner to get rid of the $cairo global variable
and to create a Cairo context in every Repaint() caller instead...
|
| |
|
| |
|