summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * s390 systems are always headlessWill Woods2012-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | loader used to set 'headless' unconditionally for s390 systems, so do that here.
| | | * 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' of git+ssh://git.fedorahosted.org/git/anaconda ↵Brian C. Lane2012-04-261-1/+1
| | | |\ | | | | | | | | | | | | | | | into f17-branch
| | | | * Wrong kickstart bootloader writtenMark Hamzy2012-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | BootLoader.writeKS writes an incorrect value in the kickstart file. Fix is written by dlehman and tested on PPC.
| | | * | New version.Brian C. Lane2012-04-263-60/+64
| | | |/
| | | * Check /run/initramfs/live/ for packages (#806166)Brian C. Lane2012-04-251-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Fix suggestDeviceName to correctly avoid in-use lv names. (#812528)David Lehman2012-05-071-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Notify the kernel/udev after creating swap space. (#818352)David Lehman2012-05-071-0/+1
| | | |
| | * | check treeinfo retrieval for stage2 (#790348)Brian C. Lane2012-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Unpack also auto_vlan item of fcoe.nic.Radek Vykydal2012-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Patch for duped #808642. Related: rhbz#735857
| | * | Add auto_vlan option for fcoe devices in UI (#735857)Radek Vykydal2012-05-046-16/+36
| | | | | | | | | | | | | | | | Resolves: rhbz#735857
| | * | 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.