summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-2441/+0
| | | | IT IS ACCOMPLISHED.
* Don't load forcefully load pcspkr. The kernel doesn't (#750830).Chris Lumens2011-11-021-1/+1
|
* Support prefix length in ipv6= cmdline option (#679108)Radek Vykydal2011-11-011-12/+12
| | | | | | e.g. ipv6=2001:aaaa::1/48 Related: rhbz#679108
* And stop attempting to load our own fonts, since we no longer ship them.Chris Lumens2011-10-311-1/+0
|
* Handle strange lang boot argument values.Ales Kozumplik2011-10-101-1/+1
| | | | | | | | | | First, internally translate '.utf8' to '.UTF-8' so it matches the lang-table. Second, if a language missing from the lang-table is used with lang=, fallback on en_US. Resolves: rhbz#731356
* LANG_DEFAULT lives in lang.c.Ales Kozumplik2011-10-101-2/+1
| | | | Related: rhbz#731356
* Return after writing log message, not before.Radek Vykydal2011-09-211-1/+1
|
* Do not reactivate network device needlessly on s390 (#739846)Radek Vykydal2011-09-211-0/+4
| | | | | | | | | | | | | | | | On s390, the device is activated when NM is started due to ifcfg file generated by linuxrc.390. There is no need to reactivate it with the same parameters (it would even lead to fail). This condition (2nd part) from kickstartNetworkUp was causing (or perhaps to put it better - not preventing) the ractivation in case of already having been connected: if ((is_nm_connected() == TRUE) && (loaderData->netDev != NULL) && (loaderData->netDev_set == 1)) return 0; To satisfy it, just set the values properly in readNetInfo (the patch).
* Start NM in loader on s390 until we have systemd init here too (#733680)Radek Vykydal2011-09-211-0/+6
| | | | | This is exactly how we used to do it before systemd took over starting NM for anaconda - commit 4acfadedb038744e6b47af74fe584188f82e44aa.
* Restart NetworkManager to use anaconda's initial ifcfg config (#727951)Radek Vykydal2011-08-101-3/+4
| | | | | | | NM is started by systemd before anaconda writes out initial ifcfg files which results in creating of automatic default connections (e.g. "Wired connection 1"). The settings of auto connections are not persistent so we are ok just restarting the NM.
* ssl: 'noverifyssl' kernel boot argument.Ales Kozumplik2011-08-051-1/+3
| | | | | | | | | | | | Prevents Anaconda from verifying the ssl certificate for all https connections with an exception of the additional repos (where --noverifyssl can be set per repo). For instance, this allows downloading kickstart specified as ks=https://... where the server is using a self-signed certificate. Resolves: rhbz#696696 Related: rhbz#728562
* variable 'i' ununsed on s390(x)Dan Horák2011-08-021-3/+7
| | | | Variable 'i' is not used on s390(x) causing a build failure with -Werror.
* Remove dogtail support. No one uses it anyway.Chris Lumens2011-07-281-8/+1
|
* Change IsBeta to IsFinalMartin Gracik2011-07-261-1/+1
| | | | | | | When doing composes pungi (and lorax) uses a flag --isfinal, to set a final release, otherwise it is considered a beta release by default. This patch makes the final vs beta more consistent with the composes.
* enable establishing wpa connection in "early networking"Vratislav Podzimek2011-06-221-0/+2
|
* Do not set hostname in stage 1.Radek Vykydal2011-05-191-9/+0
| | | | | We will do it in stage 2 ks handling. Removed code code is in path that is obsoleted with recent kickstart networking changes.
* Update the requirements for memory..David Lehman2011-05-051-10/+1
| | | | | | | | New minimum for physical memory is 768MB. New minimum memory for us to not require swap space is 1152MB. Related: rhbz#696805 Related: rhbz#699770
* Display a banner when (re)starting Anaconda.Ales Kozumplik2011-04-211-6/+8
| | | | Also do restart-anaconda a bit sooner.
* restart-anaconda: no need to redownload the updates.Ales Kozumplik2011-04-211-11/+5
| | | | | | | | | Now when the method is called so early in loader the updates are downloaded as a part of the normal process. Doing otherwise in fact triggers rhbz#698202 (a rather convoluted NM problem) and we end up stuck in loader trying to bring up network. Related: rhbz#698202
* loader: always call klogctl to disable kernel logging in the console.Ales Kozumplik2011-04-191-2/+2
|
* Fix building with --disable-selinux (mark@foresightlinux.org).Chris Lumens2011-04-151-3/+4
|
* Set ANACONDA=1 in the udev environment early in anaconda.Chris Lumens2011-04-151-0/+3
| | | | | | We need this so udev will trigger all our special rules, since we are no longer starting udev ourselves and there's no clean way to add this into the systemd service file.
* Move most anaconda mount points to be under /mnt/install.Chris Lumens2011-04-131-3/+3
| | | | | | | /mnt/sysimage stays where it is because that's fairly widely established and known outside anaconda, whereas all these other mount points are private anaconda knowledge. /mnt/source is somewhat widely used, but I have cautioned people about getting used to that.
* Update restart-anaconda to work with systemd.Chris Lumens2011-04-121-14/+25
|
* Move debugging features into loader.c.Chris Lumens2011-04-121-0/+59
|
* We no longer need to get the PID of init from loader.Chris Lumens2011-04-121-17/+0
|
* Move serial console handling code out into its own file.Chris Lumens2011-04-121-0/+5
|
* Remove all the custom shutdown/reboot/halt code in loader and init.Chris Lumens2011-04-121-40/+8
| | | | | These decisions will now be made in anaconda proper. There's no need to involve three separate processes in the discussion.
* Move syslog starting into loader.Chris Lumens2011-04-121-1/+120
|
* loader doesn't support arguments except from /proc/cmdline.Chris Lumens2011-04-121-85/+18
| | | | | | This gets rid of all the argument parsing code in init, loader support for reading args in some sort of test mode, and hopefully the last of the bogl support.
* Remove from init.c/loader.c things that systemd does for us.Chris Lumens2011-04-121-72/+4
| | | | | | | * We don't need to populate /dev. * We don't need to mount filesystems. * We don't need to start dbus or udevd. * We don't need to start a shell in multiple places.
* If we're not given a language on the command line, set up English.Chris Lumens2011-04-071-1/+3
| | | | | | On a DVD-based install if we don't do this, then we get to python without any locale having been built. This appears to be mostly harmless except for a scary looking message on tty1.
* shutdown: kill processes in the anaconda process group.Ales Kozumplik2011-03-231-0/+3
| | | | | | | | Previously killall5 omitted the init's session (which includes the anaconda process group) and anaconda and everything spawned from there (including the vnc server) survived both the killall5 calls. Related: rhbz#679397
* Consolidate ip address checking into functions.Radek Vykydal2011-03-101-21/+6
|
* Add support for ipv6 to gateway boot option (#677609)Radek Vykydal2011-03-101-1/+27
| | | | | | I am consolidating added code with that of kickstart in following patch, so that this safer part has better chance to go into f15.
* Do not pass --sshd to stage2.Ales Kozumplik2011-03-091-2/+4
| | | | | | | Anaconda does not recognize it as a parameter. Related commit 3cdf5ca38026cfef8d8f09e116817488af13124b. Related: rhbz#643738
* Enable network if sshd boot option is used (#643738)Radek Vykydal2011-03-041-1/+2
|
* Fix setting of loaderData->method from repo= cmdline option.Radek Vykydal2011-03-041-2/+0
| | | | | There was double "repo=" if branch. The second one (few lines below the removed) is the right one.
* Check repo instead of method type when enabling network in loader (#673824)Radek Vykydal2011-03-021-2/+1
| | | | | | | | Now when we have stage 2 in initrd.img. This change fixes netinstall which is not identified as METHOD_CDROM because of missing .treeinfo/.discinfo so initial METHOD_URL is kept. Also should fix DVD on usb stick and other hd: installs.
* Do not activate first ks network device automatically in non-network installs.Radek Vykydal2011-03-021-1/+3
| | | | | | | | | | | | For non-network installs it restores rhel 5 behaviour that was changed in master by commit 9767cb5fce174e8fcf28d06ad6f48384129a7cd4 (which would activate the device in any case). Now new --activate option can be used if bringing up the device in non-network install is desired. Port from rhel6-branch. Related: rhbz#638131
* Initialize iface structure properlyRadek Vykydal2011-03-021-1/+1
| | | | | Port from rhel6-branch. Resolves: rhbz#638131
* Clarify that loader method entries are looking for a tree.Chris Lumens2011-02-251-7/+2
| | | | | | We're not looking for the stage2 image anymore, so stop referring to "installation image". Also, there's no prompting to do for rescue mode anymore either.
* Don't show loaderSegvHandler or its glibc entry point in tracebacks.Peter Jones2011-02-161-1/+4
| | | | | Since we get things like the traceback in 678086 , we're better off not showing the traceback handler in the traceback.
* Prompt for media check on DVD installs (#676551).Chris Lumens2011-02-141-0/+1
|
* remove unused variablesMichal Schmidt2011-02-031-8/+8
| | | | | | | | | | | There were two kinds of unused but set variables: - the really pointless ones - the ones whose only purpose was to silence the warnings about ignoring the return values from functions declared with __attribute__((__warn_unused_result__)) Since gcc 4.5 the warnings can be disabled using -Wno-unused-result, so the variables are no longer necessary. Then -Wno-unused-but-set-variable is an overkill, so drop it.
* Fix the taint flag check.Chris Lumens2011-02-031-1/+10
| | | | | | | Turns out, the taint flag is really a bitmask so we need to check a specific bit instead of just checking for a single number. Related: rhbz#623140
* Don't call preprocessKickstart from within anaconda as well.Chris Lumens2011-01-251-3/+7
| | | | | Since the loader is doing this now, we can just call it once there, then pass the preprocessed file location into anaconda via the --kickstart parameter.
* Remove ksReadCommands, convert to using pykickstart for parsing.Chris Lumens2011-01-251-4/+2
| | | | | | | This involves converting runKickstart to setting up the pykickstart interface and then walking through every entry in ksTable to call the setupData function. A later patch will change these functions to make sure there's something for them to do before running.
* Enable support for static ipv6= cmdline option.Radek Vykydal2011-01-191-16/+3
|
* Pass --noeject to anaconda (#477887)Brian C. Lane2010-12-221-0/+3
| | | | | | Flags need to be explicitly passed to anaconda from loader. Resolves: rhbz#477887