summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Add ip= dracut parameter for iscsi nodes using default iface (#500273)Radek Vykydal2012-05-041-5/+3
| | | | | | | | | | | | | | | | Related: rhbz#500273
| | * | Do not pass :default:default iscsi nic specification to dracut (#500273)Radek Vykydal2012-05-041-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Disable NM for iface used by root on iscsi (#500273)Radek Vykydal2012-05-041-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Additional fix of patchset for the bug. Fixes #805541 marked as duplicate of the referred bug. Related: rhbz#500273
| | * | Don't write iscsi targets set up via ibft in generated ks (#811426)Radek Vykydal2012-05-041-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | Originally this fix is related to #500273. Related: rhbz#811426
| | * | Fix parsing of iscsi iface udev info for offload devices (#811426)Radek Vykydal2012-05-041-3/+10
| | | | | | | | | | | | | | | | Resolves: rhbz#811426
| | * | Configure Mac bootloaderMatthew Garrett2012-05-012-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Activate devices as needed when parsing /etc/fstab. (#813120)David Lehman2012-05-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | We support resizing ntfs even though it is not supported. (#756319)David Lehman2012-05-011-2/+3
| | | |
| | * | Fix the permissions on one of the files we write out. (#817171)Peter Jones2012-04-301-1/+2
| | | | | | | | | | | | | | | | | | | | The users file should not be og+rx, and the data it's using should be exported.
| | * | Add initial support for ARM based systems.d.marlin2012-04-272-0/+16
| | | | | | | | | | | | | | | | Signed-off-by: David A. Marlin <dmarlin@redhat.com>
| | * | default to msdos disk labels (#816701)Brian C. Lane2012-04-262-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Merge branch 'f17-branch'Will Woods2012-04-247-404/+64
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| | | * Add 'cms' dracut module on s390Will Woods2012-04-231-0/+3
| | | | | | | | | | | | | | | | This does some magic s390 setup junk, whee.
| | | * New version.Brian C. Lane2012-04-233-30/+36
| | | |
| | | * anaconda displays conflicting information when using vncMark Hamzy2012-04-231-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=814402 Try using the network name of the displayed IP address rather than the hostname.
| | | * run fetch-kickstart-net.sh after setup_net (#804846, #811851)Will Woods2012-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
| | | * remove now-unused 'loadkeys' stubWill Woods2012-04-201-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * fix 'text' or 'cmdline' in kickstart (#814108)Will Woods2012-04-201-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * New version.Brian C. Lane2012-04-183-22/+43
| | | |
| | | * Fix a variable reference (#813923)Jesse Keating2012-04-181-1/+1
| | | |
| | | * Complain about "serial" but don't assume ttyS0Will Woods2012-04-171-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Remove double quotes in nvramMark Hamzy2012-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * add a dialog while running convertfs (#812144)Brian C. Lane2012-04-131-4/+12
| | | | | | | | | | | | | | | | | | | | 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.
| | | * mount before resizing live image (#811706)Brian C. Lane2012-04-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * check for valid mountpoints (#748209)Brian C. Lane2012-04-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | _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
| | * | New version.Brian C. Lane2012-04-183-1133/+708
| | | |
| | * | Fix a variable reference (#813923)Jesse Keating2012-04-181-1/+1
| | | |
| | * | Remove double quotes in nvramMark Hamzy2012-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | add a dialog while running convertfs (#812144)Brian C. Lane2012-04-131-4/+12
| | | | | | | | | | | | | | | | | | | | 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.
| | * | mount before resizing live image (#811706)Brian C. Lane2012-04-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Merge branch 'f17-branch'Will Woods2012-04-138-14/+68
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | | * New version.Brian C. Lane2012-04-093-3/+7
| | | |
| | | * make dev_is_mounted more reliableWill Woods2012-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * fix failure to run multiple udev-triggered jobs (#811008)Will Woods2012-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * New version.Brian C. Lane2012-04-063-19/+27
| | | |
| | | * copy installer image to RAM during upgrades (#810391)Will Woods2012-04-052-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * fix repo={hd,cdrom}:DEV:PATH (#810136)Will Woods2012-04-051-1/+2
| | | | | | | | | | | | | | | | Work around buggy splitsep, like commit 844c0c1 / bug #810005.
| | | * read flags using filename globsBrian C. Lane2012-04-051-1/+7
| | | | | | | | | | | | | | | | | | | | read flags from all the conf files in /run/initramfs/etc/cmdline.d/ And add support for filename globs to the read() method
| | | * Fix repo={http,ftp,nfs} (#810005)Will Woods2012-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Fix "memcheck=0" (and other store_true boot args)Will Woods2012-04-042-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optparse.Option will ignore the value for options that have the action "store_true" or "store_false". This is fine if the boolean values match, but wrong otherwise (e.g. memcheck=yes sets memcheck=True, but so does memcheck=0). So: if we have a store_true option with a value that's False, skip the normal behavior and just set the value to False. As for store_false.. all our existing "store_false" options start with "no", which means that negating them yields a double-negative (e.g. nomemcheck=yes). We've decided that's just too confusing to accept. so nomemcheck=yes should still set memcheck=False. So we don't need to do anything special for "store_false".
| | | * write new options to zipl.confDan Horák2012-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | zipl now provides functionality originally provides by our patch and zipl.conf needs 2 variables set so the behaviour is the same. (cherry picked from commit 67b1dab5f588d3a92f327a9ecbdcde65d4da1960)
| | | * New version.Brian C. Lane2012-04-033-13/+18
| | | |
| | | * Revert "Wait for device activation / "online" hook if rd.neednet is set"Brian C. Lane2012-04-031-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 104c442a33098670065c2dd398db991f035babed. With this patch the network never comes up. Reverting it at least allows updates=http and ks=http to work.
| | | * Add missing os import to platform.pyBrian C. Lane2012-04-031-0/+1
| | | |
| | | * New version.Brian C. Lane2012-04-033-34/+52
| | | |
| | | * Don't allow /usr as a separate partition (#804913)Chris Lumens2012-04-031-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Brian C. Lane <bcl@redhat.com>
| | | * use /sys/class/dmi instead of dmidecodeBrian C. Lane2012-04-032-9/+2
| | | | | | | | | | | | | | | | | | | | removes dmidecode binary requirement from specfile and changes isMactel to read the information directly.
| | | * restore the GPT blacklist codeBrian C. Lane2012-04-032-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It ends up that setting the pmbr on GPT labeled disks only fixes some of the systems that have trouble booting from GPT. We still need to blacklist Lenovo systems from using GPT on BIOS systems. This also changes from using dmidecode to using /sys/class/dmi/ files.
| | | * add virtio rsyslogd logging to anacondaBrian C. Lane2012-04-032-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before noloader this was handled by loader. It detects a specific virtio path (org.fedoraproject.anaconda.log.0) and restarts rsyslogd to pass logs to the host via virtio. If the path doesn't exist this has no effect. This also switches to using systemctl to restart rsyslogd since HUP no longer works as of v5.
| | * | check for valid mountpoints (#748209)Brian C. Lane2012-04-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | _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