summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * handle 'cdrom' methodstr (#817084)Brian C. Lane2012-05-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When dracut finds 'cdrom' in a kickstart it sets inst.repo=cdrom yuminstall.py needs to treat this as a special case meaning that it should use the first cdrom found, either the one mounted as the install media, or by scanning attached devices.
| | | * Simplify what we dump in device.map for grub2-2.0-0.24.beta4.fc17 .Peter Jones2012-05-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As of beta4, we shouldn't need to generate a device map for mdraid and such: <phcoder> a) You create entries only for IMSM, dmraid and real disks
| | | * be more clear about kickstart keyboard errors (#789725)Brian C. Lane2012-05-081-1/+5
| | | | | | | | | | | | | | | | | | | | When an invalid keyboard type is passed in a kickstart display an error message that makes it clear that the value is incorrect.
| | | * Merge branch 'f17-branch' of git+ssh://git.fedorahosted.org/git/anaconda ↵Brian C. Lane2012-05-072-2/+9
| | | |\ | | | | | | | | | | | | | | | into f17-branch
| | | | * 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. (cherry picked from commit f9df90561901f5b0f99d801e99daf78bd98cd233)
| | | | * Notify the kernel/udev after creating swap space. (#818352)David Lehman2012-05-071-0/+1
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit a5c4397ff0b354a1c2243bccddd35627c7b3d9b4)
| | | * | New version.Brian C. Lane2012-05-043-60/+96
| | | | |
| | | * | lower minimum memory requirements by 256M (#708966)Brian C. Lane2012-05-041-5/+6
| | | |/ | | | | | | | | | | | | | | | | | | | | Now that we are running from the media instead of RAM we can lower our minimum requirements a bit. Tested with a DVD desktop install in 512M and it worked fine.
| | | * liveinst/gnome: Add a welcome screen for use by the Desktop spinKalev Lember2012-05-047-1/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported from https://github.com/cosimoc/fedora-welcome This is for Fedora 17 only. It will be moved into its own package for Fedora 18.
| | * | Get crashkernel arguments from the crashkernel code dynamically (#814813)Peter Jones2012-05-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of us knowing about crashkernel stuff in our code, let the crashkernel guys own that policy. rhcrashkernel-param comes from the following url, though I'm told they're updating it not to end in .sh there: http://pkgs.fedoraproject.org/gitweb/?p=kexec-tools.git;a=commitdiff;h=ca94c80a91400e9ce95bb56023ca4391d5b41d85
| | * | Clean up parents' child count before raising exn from Device ctor. (#569469)David Lehman2012-05-151-0/+8
| | | |
| | * | Reuse existing HFS+ EFI partitions in autopart. (#821187)David Lehman2012-05-151-1/+3
| | | |
| | * | Disable md /boot and /boot/efi on EFI. (#816823)David Lehman2012-05-142-4/+7
| | | |
| | * | Rectify /etc/default/grub with what's in the package.Peter Jones2012-05-111-1/+2
| | | | | | | | | | | | | | | | | | | | This is step one of two - step two is removing the file from the package.
| | * | Write out a font instead of "True". (#799401)Chris Lumens2012-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is really just placeholder code, since I think this is going to go away or at least completely change when newui hits. Still should something hold that up, this'll be fixed.
| | * | script.py error message needs gettextBrian C. Lane2012-05-101-0/+3
| | | |
| | * | We have a grub2 theme now, so say to use it.Peter Jones2012-05-091-0/+1
| | | |
| | * | makeupdates: ignore most of data directoryBrian C. Lane2012-05-091-1/+5
| | | | | | | | | | | | | | | | Only a few specific items in data need to be updated.
| | * | handle 'cdrom' methodstr (#817084)Brian C. Lane2012-05-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When dracut finds 'cdrom' in a kickstart it sets inst.repo=cdrom yuminstall.py needs to treat this as a special case meaning that it should use the first cdrom found, either the one mounted as the install media, or by scanning attached devices.
| | * | Simplify what we dump in device.map for grub2-2.0-0.24.beta4.fc17 .Peter Jones2012-05-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As of beta4, we shouldn't need to generate a device map for mdraid and such: <phcoder> a) You create entries only for IMSM, dmraid and real disks
| | * | be more clear about kickstart keyboard errors (#789725)Brian C. Lane2012-05-081-1/+5
| | | | | | | | | | | | | | | | | | | | When an invalid keyboard type is passed in a kickstart display an error message that makes it clear that the value is incorrect.
| | * | lower minimum memory requirements by 256M (#708966)Brian C. Lane2012-05-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Now that we are running from the media instead of RAM we can lower our minimum requirements a bit. Tested with a DVD desktop install in 512M and it worked fine.
| | * | Merge branch 'f17-branch'Will Woods2012-05-0714-121/+263
| | |\|
| | | * Fix anaconda not finding CD when booting without root=live:<CD>Will Woods2012-05-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically the same deal as commit 45363385 - look at /run/install/repo (where the CD will be mounted) when looking for media. Obviously, scanForMedia should handle already-mounted media instead, but that's something for F18.
| | | * Fix anaconda not finding CD for kickstart with 'cdrom' (#817084)Will Woods2012-05-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If our methodstr is 'cdrom' then anaconda expects the CD to be mounted at /mnt/install/source. /mnt/install is a symlink to /run/install, so making /run/install/source a symlink to the actual mountpoint makes anaconda able to find the CDROM.
| | | * dracut parse-kickstart: don't write empty "nameserver="Will Woods2012-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This can actually cause some problems because "getarg nameserver" will return "1" for the argument "nameserver=", which means you end up with DNS1=1 in your ifcfg, which is obviously wrong.
| | | * dracut: fix "repo=cdrom" (also kickstart with "cdrom")Will Woods2012-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The replacement hack for splitsep wasn't detecting the case where the repo is just "cdrom" - no ":PATH" at the end - and trying to remove the "cdrom:" from the front of "cdrom", which doesn't work. In that case, we'll end up with $rest = $repo, so check for that, and set rest="".
| | | * dracut: fix kickstarting with 'network --device=MAC'Will Woods2012-05-041-5/+28
| | | | | | | | | | | | | | | | | | | | parse-kickstart needs to check the device to see if it's a MAC and do the right thing when it is.
| | | * check treeinfo retrieval for stage2 (#790348)Brian C. Lane2012-05-021-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
| | | * New version.Brian C. Lane2012-05-013-57/+72
| | | |
| | | * dracut: add anaconda_auto_updates() (product.img/updates.img) (#800107)Will Woods2012-05-011-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So, loader used to look for updates.img/product.img/RHUpdates under whatever path it was given for the stage2 image. We need product.img for variant installers (like the RHEL installer) so we need to look for these things. Add the anaconda_auto_updates() function to look for these things and put them in the appropriate places. Also add unpack_updates_img() as a helper for cleanly unpacking updates images.
| | | * dracut: support updates=hd:... (#807982)Will Woods2012-05-016-5/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we've removed all UI from initramfs, plain 'updates' no longer works if you want to load an updates image from disk. This adds support for fetching updates images, much the same way as we do with kickstarts. Note that I'd really like to merge all the *-genrules.sh / fetch-*-disk junk, but time is short..
| | | * dracut: add copytree, rename dev_is_mounted->find_mountWill Woods2012-05-012-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | copytree() is a function for copying/merging directory trees - useful for stuff like updates images. dev_is_mounted is confusingly similar to dracut-lib's 'ismounted', so it's been renamed for clarity.
| | | * dracut: fix typo (stray '\n' in anaconda.rules)Will Woods2012-05-011-1/+1
| | | |
| | | * 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. (cherry picked from commit a8464f82866a19f33443082d9a0710036cc0a6db)
| | | * We support resizing ntfs even though it is not supported. (#756319)David Lehman2012-05-011-2/+3
| | | | | | | | | | | | | | | | (cherry picked from commit 41f9a52d2ce0ab58535f6245859c165358030999)
| | | * 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.
| | | * Fix twisty logic around forcing text mode (#811868)Will Woods2012-04-271-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing logic forces text-mode if /usr/bin/Xorg is missing. Except it doesn't check if you're using VNC first, which caused problems on certain POWER systems where we're not including Xorg anymore. We could just add 'and not flags.usevnc' to the if statement but it's already really, *really* hard to understand what's going on there. So: this patch cleans up the logic in a way that should be equivalent, *and* fixes the bug. A couple notes, if you're checking my work: - The flags.livecdInstall check was to avoid starting X during liveinst (assuming it'd already be running on a live system), so the intent there was: flags.livecdInstall == flags.preexisting_x11 - The 'isS390' check in the first block was added in commit 4d42471, way back in 2004: "enable GUI/VNC installs on mainframe again, there's no Xorg binary". So the intent there was: isS390 == (flags.preexisting_x11 or flags.usevnc) Knowing that, you can replace the conditions and do a little juggling and come up with what I have here. Or something like it.
| | | * 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