summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move device size calculation and setting into DeviceFactory.David Lehman2012-08-201-29/+39
|
* Stop pretending btrfs subvols can have a size.David Lehman2012-08-202-29/+1
|
* Fix a typo in StorageDevice._setSize.David Lehman2012-08-201-1/+1
|
* dracut: add info about special variables to READMEWill Woods2012-08-201-7/+45
| | | | | | | Some info about the variables that dracut exports and uses. This helps clarify the $netroot situation in anaconda-lib.sh a bit. Bonus: add some links to Further Reading.
* dracut: fix invalid use of 'eth0'Will Woods2012-08-202-3/+3
| | | | You can't use 'eth0' with ifname=<name>:<MAC>. Use 'ksdev0' instead.
* dracut: drop upgrade-specific hackWill Woods2012-08-201-7/+1
| | | | We don't handle upgrades in anaconda anymore, so this isn't necessary.
* dracut: set "$netif" correctly in initqueue/online scriptsWill Woods2012-08-202-0/+6
| | | | | Dracut now passes $netif as the first argument to the script rather than setting it in the scripts environment. So we need to do netif=$1.
* dracut: fix old-style static ip=xxx gw=yyy...Will Woods2012-08-201-14/+0
| | | | | | | | | | | | If we parse "ip=... gw=..." and emit a new "ip=..." line, we end up with multiple conflicting ip= args for that device. This makes dracut panic with: "Sorry, 'ip=$p' does not make sense for multiple interface configurations" Luckily dracut handles old-style anaconda ip=... arguments now, so we can just drop this block of code and fix the problem. Yay!
* dracut: import anaconda-lib.sh in pre-udev hookWill Woods2012-08-202-2/+6
| | | | | | | | | | | | Since each hook is (basically) a separate shell, we need to import anaconda-lib.sh at least once per hook. Since anaconda-modprobe.sh runs before the other scripts, this covers the whole hook. Still, it's a good idea to leave the imports in place so future maintainers know what functions come from where; clean up the existing import in repo-genrules.sh to actually provide this info.
* dracut: fix set_neednet so network comes up (#849672)Will Woods2012-08-201-4/+8
| | | | | | 'rd.neednet' is no longer used by dracut. Instead it checks for the presence of /tmp/net.ifaces or $netroot. So, if we need network (and $netroot isn't set), make sure /tmp/net.ifaces exists.
* dracut: drop save_netinfoWill Woods2012-08-201-18/+0
| | | | | | | | | save_netinfo moved into upstream dracut's net-lib.sh, so we don't need our own version here. The only place we currently use save_netinfo is in the initqueue/online hook, which will always have sourced net-lib.sh first, so we don't need to worry about changing anything else.
* move anaconda-modprobe to pre-udev hook, silence modprobe errorsWill Woods2012-08-202-2/+2
| | | | | | a) cmdline happens before we start messing with devices, so we don't really need to do modprobe here, b) we don't care if the user doesn't have a floppy drive, that's OK
* parse-kickstart: fix crash with PXE + ks=file: (#844478)Will Woods2012-08-201-0/+7
| | | | | | | | Current dracut crashes (intentionally!) if you use 'ip=' arguments with 'BOOTIF='. Until that's fixed upstream, add a temporary workaround that skips writing 'ip=' arguments if 'BOOTIF' is present.
* parse-kickstart: clarify/refactor Network handlingWill Woods2012-08-201-12/+26
| | | | | Should be no actual behavior changes here, mostly just adding a bunch of comments and clarifying the flow a bit.
* Actually create default ifcfg files (#849012)Radek Vykydal2012-08-201-0/+2
| | | | | | | | | This is fix for F18 alpha. For better fix * The Network() will be replaced with something like init_networking, (perhaps with bringing up dhcp in thread). I have pending patches that need some rework: https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-July/000290.html * default ifcfg files might be created in dracut
* Don't fail on write of nonexisting IfcfgFile(SimpleConfigFile) (#849012, ↵Radek Vykydal2012-08-201-2/+5
| | | | | | | #849095) Due to commit 16a7c6e7af3df4816323a007f785155d307869bf, SimpleConfigFile.write of nonexisting files is failling.
* If dracut left the DVD mounted, don't try to remount it (#849152).Chris Lumens2012-08-201-7/+15
| | | | | Trying to remount was causing an exception which meant the DVD got thrown out as a possible installation source, so we were trying to use the network.
* Add support for most device editing functions.David Lehman2012-08-171-2/+127
| | | | | | | | | | | | | Changing label, fstype, size all mostly work. Changing device type between lvm and partition should mostly work. RAID options are completely untested, as is changing to a device type of RAID. Changing to and from a device type of BTRFS should probably work, but there's a SIGABRT from btrfs at filesystem/volume create time that will prevent you from actually using it.
* Various fixes, cleanups, and added logging for the custom spoke.David Lehman2012-08-171-20/+60
| | | | | | | | | | Fix size spinner values for new devices. Make sure the remove button is sensitive except on the "Create.." page. At the moment, selecting a page automatically selects one of the devices in that root, which means it's impossible to delete entire roots with the remove button.
* Work around some signal handling issues in the custom spoke.David Lehman2012-08-172-6/+14
| | | | | | | | For now, only connect the MountpointSelectors to button-press-event. Also, don't run the handlers for them during _do_refresh because, for some reason, they get triggered a whole bunch during setup of the left-hand side.
* Make choosing an auto-selected page after refresh slightly less fallible.David Lehman2012-08-172-12/+24
| | | | | | | Build a list, in decreasing order of preference, of pages that make sense to initially have selected. If a page was selected at the time of the refresh, it should probably be still selected afterwards. If that page is no longer present, no problem. Move on to the next one in the list.
* Raise an exception if a new device ends up with size 0.David Lehman2012-08-171-0/+7
| | | | It means the train is off the track.
* Split out logic to determine container based on factory and/or device.David Lehman2012-08-171-11/+15
|
* Allow adding disks to a container's disk set.David Lehman2012-08-172-21/+43
|
* Allow passing a device into newDevice for adjustment.David Lehman2012-08-171-5/+41
| | | | | This allows adjustment of a defined device instead of always having to create one from scratch.
* Add PartitionFactory class so partitions don't need a separate code path.David Lehman2012-08-172-53/+73
|
* Add a convenience method for scheduling resize actions.David Lehman2012-08-171-0/+18
|
* Return early from doKickstartStorage if there are no disks selected.David Lehman2012-08-171-0/+2
|
* Remove isomd5sum-static from build requiresVratislav Podzimek2012-08-172-6/+0
| | | | | This was only needed in loader's media checking code we no longer have.
* Don't rely on having some network devices availableVratislav Podzimek2012-08-171-1/+3
| | | | | | | If there are no network devices available, itr returned from the devices_store.get_iter_first() is None and unchecked use raises an exception. This can happen e.g. when running 'make runhub' on a system with NetworkManager.service not running.
* Enlightbox mainExceptionWindowVratislav Podzimek2012-08-171-1/+9
|
* Put mainExceptionWindow in a WindowGroupVratislav Podzimek2012-08-171-1/+7
| | | | | Without WindowGroup, python-meh's window is insensitive if it appears above a spoke.
* Bump required yum version to get the environment code.Bill Nottingham2012-08-171-1/+1
|
* Add a flag so we don't get spurious 'change' events from the treeview while ↵Bill Nottingham2012-08-171-0/+5
| | | | we're setting up the UI.
* Wire in the new environment logic through the UI.Bill Nottingham2012-08-172-56/+50
| | | | | | - s/desktop/environment/ - use the list of options for the environment, plus any user visible groups, to populate the add-on list once an environment is selected
* Add a local method for exposing group visibility from the comps file.Bill Nottingham2012-08-171-0/+12
|
* Add methods to yumpayload for handling environments.Bill Nottingham2012-08-172-0/+107
|
* Add some nicer wording to the column heads in the software selection UI.Bill Nottingham2012-08-171-2/+2
|
* Rename 'description' to 'groupDescription'.Bill Nottingham2012-08-172-2/+2
| | | | Other things may have descriptions later.
* dracut: add READMEWill Woods2012-08-171-0/+90
| | | | | Add a README containing some notes that should cover a lot of the common questions people ask about how this thing works.
* New version.Chris Lumens2012-08-163-7/+15
|
* Remove linuxrc.s390David Cantrell2012-08-162-3085/+1
| | | | | | The mainframe no longer needs an overly complicated shell script to bring up the complicated installation environment. It boots the way other architectures do, except on punch cards and lab coats.
* Source in url-lib.sh if we don't have it (#847831)Jesse Keating2012-08-161-0/+1
| | | | | | We're going to be playing whack-a-mole here for a bit. Because each stage of dracut is now a new shell we don't have access to things sourced in previous stages.
* parse-kickstart: add proc_cmdline (fix init_logger())Will Woods2012-08-161-0/+16
| | | | | | | | commit c1da5cd was originally part of an attempt to fix something else, but the other patch (which introduced proc_cmdline) was rejected on review. This adds proc_cmdline so init_logger() won't traceback.
* Remove the data/bootdisk directory tree.Chris Lumens2012-08-1626-662/+2
| | | | This is all handled by lorax now, and having it in two places is confusing.
* Remove duplicate boot disk setting code (#848841).Chris Lumens2012-08-161-6/+0
| | | | | See 87b825c5ac14dfa16985f3115bec66c7ade68be1 for the GUI commit that does the same.
* Force authconfig to be installed on the target system (#848803).Chris Lumens2012-08-161-1/+6
|
* New version.Chris Lumens2012-08-153-64/+320
|
* Mark/unmark some strings for translation, as appropriate.Chris Lumens2012-08-153-5/+5
|
* Save the distro label into the right variable for retranslation.Chris Lumens2012-08-151-1/+1
|