summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * dracut: use /run/install/source for repodirWill Woods2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loader used to put the install source at /mnt/install/source; we're moving to /run but it simplifies things to keep the directory name the same. This lets us just symlink /mnt/install to /run/install and things should work like they used to.
| | | * read args from 80kickstart.confBrian C. Lane2012-03-191-1/+2
| | | |
| | | * New version.Brian C. Lane2012-03-163-962/+262
| | | |
| | | * anaconda.service Wants=NetworkManager.serviceWill Woods2012-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we brought up any interfaces in stage1, we need NetworkManager to take them over before anaconda starts. We *could* do this conditionally and delay NM startup until needed, but this is the simplest fix for now.
| | | * make sure we save the network setup for any network device we usedWill Woods2012-03-163-11/+17
| | | | | | | | | | | | | | | | | | | | anaconda expects any device brought up in stage1 to still be active, so let's make sure we pass along the required info for NetworkManager.
| | | * make sure parse-kickstart's ifcfg files get copied to the systemWill Woods2012-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that /tmp/net.ifaces exists; this file triggers the dracut 'ifcfg' module and makes it copy all the files in /tmp/ifcfg to /run/initramfs/state/etc/sysconfig/network-scripts. Then fedora-import-state.service picks those files up and off we go! (We could write them to state/etc/... ourselves, but we want dracut to be able to overwrite the files in /tmp/ifcfg if it needs to)
| | | * fedora-import-state.service is in initscripts nowWill Woods2012-03-163-30/+1
| | | | | | | | | | | | | | | | | | | | initscripts-9.35-1 contains fedora-import-state.service, so we can drop this from here.
| | | * Add flag to disable available-memory check (for debugging etc.)Will Woods2012-03-161-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you set --no-memcheck or inst.memcheck=0, check_memory will just current/required RAM amounts (along with a prominent message that the check was disabled) and continue. This will help us test on low-memory machines.
| | | * fix logic for setting set rd.{luks,dm,md,lvm}=0Will Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | | Had a '&&' where I needed '||'. Oops. Thanks to bcl for catching it.
| | | * fix run_kickstart for the non-repo caseWill Woods2012-03-161-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you're booting from a CD but using a kickstart for other stuff, we still need to set up / retrigger block stuff *even though you don't have a repo defined by the kickstart*. The problem was two things: first, we were leaving $root set to "anaconda-kickstart", so parse-anaconda-repo.sh didn't change anything. Second, when root was set to "anaconda-auto-cd" because there wasn't a inst.repo arg, we never triggered the disk magic. So we never found the CD.
| | | * run_kickstart: go back to targeted cmdline parsingWill Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | So yeah, re-parsing the whole commandline just makes us emit error messages and doesn't write out the ifcfg lines we wanted, so let's not do that.
| | | * parse-kickstart: write ifcfg files for all net devsWill Woods2012-03-161-8/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (note that the one for the ksdevice will get overwritten by dracut, but that's OK) update comments to reflect current limitations etc. oh, and AFAICT loader just uses DHCP for BOOTP, so handle BOOTP like DHCP if we see that. (which we won't.)
| | | * add the traditional anaconda dhcpclassWill Woods2012-03-161-0/+4
| | | | | | | | | | | | | | | | I guess some people might want this?
| | | * cleanups and fixes for ksdevice/bootdev handlingWill Woods2012-03-165-30/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, cleanup: don't bother with /tmp/ks.info, export "$ksdevice". Next: we need to specify which net interface is the bootdev if we've got more than one. So: - if we get a specific ksdevice from the cmdline, set "bootdev=$ksdevice" - otherwise (ksdevice=link etc.) set $ksdevice when a device comes up.. - ..and set "bootdev=$ksdevice" from parse-kickstart if needed.
| | | * drop unused when_netdev_online functionWill Woods2012-03-161-7/+0
| | | |
| | | * make run_kickstart re-parse the whole commandlineWill Woods2012-03-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Re-running the cmdline hook will cause the 'network' module to write out the network config files, which should make the 'ifcfg' module write ifcfg-eth* files, which should fix the kickstart 'network' command.
| | | * set rd.{luks,dm,md,lvm}=0 unless the user says otherwiseWill Woods2012-03-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently anaconda will crash if we don't set rd.luks=0. The others anaconda can *mostly* handle but historically they would have been set to 0, so it's more reliable if we do it that way. Someday soon we'll make sure anaconda can handle already-active devices and we'll remove this block of code. Really.
| | | * handle inst.* cmdline args correctlyBrian C. Lane2012-03-161-10/+9
| | | | | | | | | | | | | | | | | | | | The options are stored without "inst." so when parsing boot arguments we need to first strip the "inst." if present.
| | | * fixup for syntax error in inst.ks/--kickstart patchWill Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | | Was missing a comma. Whoops.
| | | * set ANACONDA=1 udev property in the right placeWill Woods2012-03-164-4/+8
| | | | | | | | | | | | | | | | | | | | udev properties need to be set when udev is running. As it turns out, that's basically what the pre-trigger hook exists for.
| | | * fix inst.ks handling in anacondaWill Woods2012-03-162-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If inst.ks is on the commandline, the dracut module fetches and preprocesses the kickstart, then saves it to /run/install/ks.cfg. So if we see a 'ks' option on the boot commandline, anaconda's option parser should assume that the ksfile is /run/install/ks.cfg. On the other hand, the '--kickstart' option can still be used on the commandline to set ksfile to a different filename.
| | | * fixups: run ks early, don't repeat netrootWill Woods2012-03-162-1/+3
| | | | | | | | | | | | | | | | | | | | - we should run the kickstart before anything else - don't run netroot again if it's already finished
| | | * fixup: "online" hook renamed "initqueue/online" upstreamWill Woods2012-03-161-2/+2
| | | |
| | | * Quiet bash error message if (optional) treeinfo is missingWill Woods2012-03-161-1/+1
| | | |
| | | * a couple small cleanups/fixes for fedora-import-state.serviceWill Woods2012-03-162-2/+7
| | | |
| | | * anaconda-shell service tweaksWill Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | following getty@.service, make sure we run the shell after plymouth quits, etc.
| | | * add fedora-import-state.service (fix NFS root: #799989)Will Woods2012-03-164-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dracut writes out an ifcfg-ethX file and a dhclient lease file for the interface used to mount the runtime. We need to pass that along to NetworkManager so it won't bring down the interface we're using for our root device. This service copies the contents of the /run/initramfs/state directory into its intended place, as would normally be done in fedora-readonly for NFS readonly-root systems.
| | | * anaconda-netroot.sh: make sure dracut writes out the ifcfg filesWill Woods2012-03-162-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to hand over the ifcfg file and dhclient lease to NetworkManager to keep it from trashing our network interface when we're using NFS root. To get the files written by the ifcfg module, we need to make sure a few things are set up properly.
| | | * Use "online" hook to handle anaconda network root devicesWill Woods2012-03-167-53/+57
| | | | | | | | | | | | | | | | | | | | replace anaconda{nfs,url}root with anaconda-netroot.sh fix up the arg parsing accordingly
| | | * Fetch network kickstarts from the "online" hookWill Woods2012-03-167-13/+20
| | | | | | | | | | | | | | | | Also, make the ks parsing stuff write needed info to /tmp/ks.info.
| | | * set wait_for_dev /dev/root in parse-anaconda-repo.shWill Woods2012-03-163-7/+10
| | | | | | | | | | | | | | | | also, make sure we set it when we have a kickstart.
| | | * fix find_runtime() and parse_kickstart()Will Woods2012-03-161-2/+3
| | | |
| | | * kickstart parsing fixups: keep running if parse failsWill Woods2012-03-163-6/+6
| | | |
| | | * handle more KickstartErrorsWill Woods2012-03-161-2/+2
| | | |
| | | * anaconda-lib: make sure we only run when_*_online jobs onceWill Woods2012-03-161-2/+2
| | | |
| | | * add missing newline to /tmp/ks.infoWill Woods2012-03-161-1/+1
| | | |
| | | * don't source dracut-lib.sh twice (it causes crashes)Will Woods2012-03-164-4/+4
| | | |
| | | * kickstart: only wait for kickstart if we're actually fetching itWill Woods2012-03-161-6/+5
| | | |
| | | * fetch-kickstart-*: actually do run_kickstartWill Woods2012-03-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | run_kickstart used to be in parse_kickstart, but it got moved out (because ks=file:// happens during the cmdline phase, it doesn't need to run, just parse)
| | | * python-deps: cleanups/commentsWill Woods2012-03-161-8/+15
| | | |
| | | * replace pythondeps.sh with python-deps (python script)Will Woods2012-03-164-34/+51
| | | | | | | | | | | | | | | | | | | | | | | | python is better at figuring out python deps this way. big thanks to bcl for showing me python's "modulefinder" module.
| | | * move parse-kickstart.py back to parse-kickstartWill Woods2012-03-164-15/+57
| | | | | | | | | | | | | | | | | | | | rpmbuild wants to build .pyc/.pyo files for it, and we don't need/want that.
| | | * Makefile.am: use dist_dracut_SCRIPTS to make scripts executableWill Woods2012-03-161-16/+16
| | | |
| | | * fix bad path for parse-kickstart.pyWill Woods2012-03-161-1/+1
| | | |
| | | * refactor network handling (support ibft and ksdevice)Will Woods2012-03-169-64/+88
| | | |
| | | * update Makefile.amWill Woods2012-03-161-3/+6
| | | |
| | | * add fetch-kickstart-disk and fetch-kickstart-netWill Woods2012-03-163-18/+34
| | | | | | | | | | | | | | | | and modify module-setup.sh accordingly
| | | * make cd autoprobe catchall rule actually run for each deviceWill Woods2012-03-161-1/+1
| | | |
| | | * fix inst.repo=cdromWill Woods2012-03-161-1/+1
| | | |
| | | * move deprecation warnings into parse-anaconda-options.shWill Woods2012-03-163-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | we only want to display these warnings once. but we might re-run parse-anaconda-repo after reading the kickstart. move 'em all into parse-anaconda-options, which only gets run once.