| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | | |
loader used to set 'headless' unconditionally for s390 systems, so do
that here.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It appears that Lenovo systems aren't the only ones that have problems
booting from GPT labeled disks. This patch does the following:
* default to msdos labeled disks
* remove the GPT blacklist
* remove nogpt cmdline argument
* add gpt cmdline argument to force use of GPT disklabel
|
| | | |\
| | | | |
| | | | |
| | | | | |
into f17-branch
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
BootLoader.writeKS writes an incorrect value in the kickstart file.
Fix is written by dlehman and tested on PPC.
|
| | | |/ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An iso that had been dd'd to a USB stick needs to find the
packages so look at the root of the media (which dracut mounts
on /run/initramfs/live/) and bind mount that to /mnt/install/source
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There are two things the method was doing wrong:
1. not avoiding the names of lvs in the dialog's temporary vg
2. not using the full device name when checking numbered lv names
(lv device names are of the form "%s-%s" % (vgname, lvname))
There is another change here as well: if no distinguishing info is
passed in (eg: mountpoint, swap), default to numbered names from
the start. For the first three lvs you create, instead of lv, lv00,
lv01 you'll get lv00, lv01, lv02. Consistency.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If there is no treeinfo the stage2 variable may still be set,
check if treeinfo or stage2 are empty and fall back to
LiveOS/squashfs.img
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Patch for duped #808642.
Related: rhbz#735857
|
| | | |
| | | |
| | | |
| | | | |
Resolves: rhbz#735857
|
| | | |
| | | |
| | | |
| | | | |
Related: rhbz#500273
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead leave the iscsi_iface_name and netdev_name values out,
i.e. the option should be:
netroot=iscsi:[<username>:<password>[:<reverse>:<password>]@][<servername>]:[<protocol>]:[<port>][:[<iscsi_iface_name>]:[<netdev_name>]]:[<LUN>]:<targetname>
Related: rhbz#500273
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Additional fix of patchset for the bug. Fixes #805541 marked as
duplicate of the referred bug.
Related: rhbz#500273
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Originally this fix is related to #500273.
Related: rhbz#811426
|
| | | |
| | | |
| | | |
| | | | |
Resolves: rhbz#811426
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mactel-boot-setup needs to be run after install in order to ensure that
Mac-specific bootloader configuration occurs. Make sure this happens.
Bug 816288.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Any non-root device that appears in /etc/fstab and requires activation
(eg: lvm, md) must be active prior to instantiating an FS instance
for an existing filesystem on that device due to current/minimum size
calculations triggered by the FS constructor.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The users file should not be og+rx, and the data it's using should be
exported.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: David A. Marlin <dmarlin@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It appears that Lenovo systems aren't the only ones that have problems
booting from GPT labeled disks. This patch does the following:
* default to msdos labeled disks
* remove the GPT blacklist
* remove nogpt cmdline argument
* add gpt cmdline argument to force use of GPT disklabel
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* f17-branch:
Add 'cms' dracut module on s390
New version.
anaconda displays conflicting information when using vnc
run fetch-kickstart-net.sh after setup_net (#804846, #811851)
remove now-unused 'loadkeys' stub
fix 'text' or 'cmdline' in kickstart (#814108)
New version.
Fix a variable reference (#813923)
Complain about "serial" but don't assume ttyS0
Remove double quotes in nvram
add a dialog while running convertfs (#812144)
mount before resizing live image (#811706)
check for valid mountpoints (#748209)
|
| | | |
| | | |
| | | |
| | | | |
This does some magic s390 setup junk, whee.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://bugzilla.redhat.com/show_bug.cgi?id=814402
Try using the network name of the displayed IP address rather than the
hostname.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Commit 1e4a880 in dracut adds 'online/05-setup_net.sh' to ensure that
setup_net gets run before (most) online hook scripts, but we were
running fetch-kickstart-net.sh at a priority of 00.
Move it to priority 10 so setup_net happens first.
(Credit to Harald Hoyer <harald@redhat.com> for catching this.)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Lorax f17-branch commit 3859368 removes the 'loadkeys' stub from the
installer image; it's not used for anything else so we can delete it
here.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Anaconda was assuming that loader would handle the 'text', 'cmdline',
and 'graphical' kickstart commands, so it didn't bother looking at them.
So lazy! Use the anaconda.ksdata to override opts.display_mode.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
People use "serial" all over the place as some kind of magic voodoo
incantation for "I want text mode and stuff", so rewriting it to
"console=ttyS0" isn't really appropriate.
Let the user know that it's deprecated, and ignore it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://bugzilla.redhat.com/show_bug.cgi?id=811793
Double quotes are not needed for the nvram command since it is being
executed directly and not from bash. Also, remove any that were
placed there by previous executions of the code.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The convertfs script can take a non-trivial amount of time to
run. Let the user know what the system is doing while it is running.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In some circumstances the date on the live image could be in the future.
eg. if the system clock was set to last year. e2fsck doesn't like the
future so it would stop the install.
This fixes it by mount/umounting the root fs after it is copied and
before e2fsck and resize are run. The mount sets the m_time to the
current time, preventing e2fsck from losing its mind.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
_is_valid_format needs to also check the mountpoints to make sure
they are valid. Without this it will accept a previously formatted
EFI fs and let the install continue without having it mounted on
/boot/efi
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://bugzilla.redhat.com/show_bug.cgi?id=811793
Double quotes are not needed for the nvram command since it is being
executed directly and not from bash. Also, remove any that were
placed there by previous executions of the code.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The convertfs script can take a non-trivial amount of time to
run. Let the user know what the system is doing while it is running.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In some circumstances the date on the live image could be in the future.
eg. if the system clock was set to last year. e2fsck doesn't like the
future so it would stop the install.
This fixes it by mount/umounting the root fs after it is copied and
before e2fsck and resize are run. The mount sets the m_time to the
current time, preventing e2fsck from losing its mind.
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* f17-branch:
make dev_is_mounted more reliable
fix failure to run multiple udev-triggered jobs (#811008)
New version.
copy installer image to RAM during upgrades (#810391)
fix repo={hd,cdrom}:DEV:PATH (#810136)
read flags using filename globs
Fix repo={http,ftp,nfs} (#810005)
Fix "memcheck=0" (and other store_true boot args)
write new options to zipl.conf
New version.
Revert "Wait for device activation / "online" hook if rd.neednet is set"
Add missing os import to platform.py
New version.
Don't allow /usr as a separate partition (#804913)
use /sys/class/dmi instead of dmidecode
restore the GPT blacklist code
add virtio rsyslogd logging to anaconda
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If /dev/sda1 was mounted at /mnt, and it had the label FUNK, you might
reasonably expect this to return "/mnt":
dev_is_mounted /dev/disk/by-label/FUNK
Since /proc/mounts uses the kernel name for the devices, and the
symlinks in /dev are (basically) always linked to the kernel
device name, all we have to do is follow the symlinks to find the name
that should be in /proc/mounts.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
initqueue truncates job names down to the basename if they contain
slashes. So if you had two jobs for /dev/by-label/FLASH, they'd both end
up named "FLASH", and with --unique they'd collide and you'd end up with
just one job.
Drop --unique to avoid these sorts of collisions. Also drop the $dev
from the job name - it didn't really need to be there.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When installing from a hard drive, loader used to copy install.img to
tmpfs and unmount the partition afterward. We're avoiding that (to save
RAM) and it works fine in most cases.
However: for preupgrade, stage2 is stored in /boot. When anaconda tries
to mount /boot for upgrading, it finds that it's already mounted, pops
up a "Fatal error" dialog, and exits.
So, a hack: if "preupgrade" or "upgrade" or "inst.upgrade" is in the
boot args, and we're getting the installer image from a disk, copy the
install image into tmpfs and unmount the disk before proceeding.
|
| | | |
| | | |
| | | |
| | | | |
Work around buggy splitsep, like commit 844c0c1 / bug #810005.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
read flags from all the conf files in /run/initramfs/etc/cmdline.d/
And add support for filename globs to the read() method
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It turns out that dracut-lib's "splitsep" doesn't work as documented.
This line:
splitsep ":" "anaconda-net:http://nyan.cat/" prefix repo
yields "repo=http", with the rest of the URL discarded. Boo!
Split up the string ourselves for now. We'll change this back once
splitsep is fixed.
|