summaryrefslogtreecommitdiffstats
path: root/loader/loader.h
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-193/+0
| | | | IT IS ACCOMPLISHED.
* ssl: 'noverifyssl' kernel boot argument.Ales Kozumplik2011-08-051-0/+2
| | | | | | | | | | | | 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
* Remove dogtail support. No one uses it anyway.Chris Lumens2011-07-281-1/+0
|
* enable establishing wpa connection in "early networking"Vratislav Podzimek2011-06-221-1/+3
|
* Remove all the custom shutdown/reboot/halt code in loader and init.Chris Lumens2011-04-121-4/+2
| | | | | These decisions will now be made in anaconda proper. There's no need to involve three separate processes in the discussion.
* Remove a bunch of unused support functions.Chris Lumens2010-10-151-3/+0
|
* Add noeject support to loader (#477887)Brian C. Lane2010-09-101-0/+2
| | | | | When noeject is passed on the kernel command line disable ejecting the cdrom.
* Remove productPath.Chris Lumens2010-09-091-1/+0
| | | | | This hasn't been used or written to .buildstamp for two years, so its continued use in anaconda was just an accident of us continuing to set it to a default.
* Remove telnet support.David Lehman2010-08-171-2/+1
| | | | See ssh(1) for information about using ssh.
* ssl: support for 'url --noverifyssl' in loader.Ales Kozumplik2010-07-081-0/+1
| | | | Related: rhbz#599040
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-1/+1
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* Do parse DOMAIN for DNS search suffixes in loader (#595388)Steffen Maier2010-06-111-1/+1
| | | | | | | This is very handy on s390, where it's sometimes hard to write more than 80 chars for repo/stage2/updates etc. Also write out quoted since it is a whitespace separated list.
* Handle OPTIONS in ifcfg files transparently in loader (#595388)Steffen Maier2010-06-111-1/+1
| | | | | | | | | | | Loader does not need to handle or understand layer2 and portno so consolidate that into opaque options. This will prevent issues such as bug 577005 or commit 9caaca4 or bug 468755 and should be also transparent to future extensions in linuxrc. Correctly parse OPTIONS whose value includes equal signs because the values are attribute value pairs. See also bug 597205 and commit 8549a36.
* Fix most of what is necessary for install over IPv6 on s390 (#594090)David Cantrell2010-06-021-0/+1
| | | | | | | | We need loader support to parse and write out an IPv6 prefix. Write out IPV6_AUTOCONF=no in writeEnabledNetInfo for manual IPv6 method. (Patch from Steffen Maier <maier@linux.vnet.ibm.com>)
* Do not automatically backtrace when telnetd quits (#588964).Chris Lumens2010-05-051-0/+1
| | | | | | We were getting a backtrace because we were asking for it. We have an atexit handler that does a backtrace unless expected_exit is set. doExit sets that for us, so quit through doExit instead of regular exit.
* yum requires the proxy settings to include a protocol (#576691).Chris Lumens2010-04-081-1/+0
| | | | | | | Since yum requires the protocol and libcurl doesn't care if there's a protocol given or not, add the protocol to the front of the proxy value itself. Also, both yum and libcurl will process the proxy setting if it's got a port on the end so remove all the special port handling.
* Changed the architecture check from __ppc64__ to __powerpc64__ (#555669)Martin Gracik2010-01-151-1/+1
| | | | | | Wrong check for the architecture resulted in having no lib64 directories in LD_LIBRARY_PATH, and that's why anaconda couldn't find the libudev library.
* Use the updated DriverDisc code in loaderMartin Sivak2010-01-081-0/+2
| | | | | | - enable dlabel on RHEL by default - use glib's linked lists to traverse through available DDs - run depmod if the .rundepmod trigger file is present
* Bring back missing IPv6 pieces that were lost in time.David Cantrell2010-01-071-0/+1
| | | | | | strcmp() -> strncmp() for ipv6 'auto' comparison. Add back missing gateway6 member in loaderData. Initialize ipv6 and gateway6 in loaderData to NULL.
* Kill yet another unused lodaer flag.Chris Lumens2009-12-061-1/+1
|
* Remove test mode from the loader, too.Chris Lumens2009-12-031-2/+1
| | | | | All previous comments about test mode being untested apply to loader, but doubly so.
* Introduces check_asprintf macro that checks asprintfs return value and ↵Ales Kozumplik2009-11-191-0/+6
| | | | | | | | | terminates program in OOM scenarios. This is to avoid having to copy-paste the asprintf-log-abort if branch all the time. This commit also modifies existing asprintf() calls to use the new macro in places where the change wouldn't modify program's semantics.
* Move libcurl initialization to urlinstTransfer() (#537870).David Cantrell2009-11-181-3/+0
| | | | | | | | | | | | | | | | | | Recent trees have been giving errors when we get to the stage2 download point, such as this one: Unable to retrieve http://download.fedoraproject.org/pub/fedora/linux/development/x86_64/os//images/install.img. libcurl needs to be initialized inside urlinstTransfer() so it has the latest network state for the system. The above error is caused by old DNS settings. libcurl won't automatically do a res_init(), so we need to set up a new curl instance and use that. Since this patch moves curl usage to be exclusively within urlinstTransfer(), move 'curl' to that function as well and remove it from loaderData. Add curl cleanup calls at the end of urlinstTransfer().
* Use glib data structures in loader's module handling code.David Cantrell2009-11-161-1/+1
| | | | | Use glib's data structures and string functions in modules.c since we already have glib. Add in some safety checks as well.
* Add proxy support to urlinstTransfer by setting more curl options.Chris Lumens2009-09-301-0/+8
|
* Add a CURL instance to the loader data.Chris Lumens2009-09-301-0/+3
|
* 64 bit sparc linux does not define __sparc64__ we need to use ↵Dennis Gilmore2009-08-181-1/+1
| | | | "(defined(__sparc__) && defined(__arch64__))" fixes building 64 bit sparc
* Add the kssendsn parameter and corresponding flag.Chris Lumens2009-08-171-0/+2
|
* Fix an erroneous "!" in the test for doKill, and make reboot explicit.Peter Jones2009-08-121-0/+2
| | | | | | This test causes it not to reboot if you don't specify anything about rebooting in kickstart or on the command line. It also treats /all/ installs with "nokill" specified as "halt" installs.
* Add missing LAYER2 and PORTNO handling for s390x.David Cantrell2009-07-061-1/+1
| | | | | | | | libisys and loader lacked handling for the LAYER2 and PORTNO settings present on s390x systems. Also include the fix for #468755 to write layer2=1 rather than layer=2 to the ifcfg-DEVICE file.
* Revert "Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)"Jeremy Katz2009-01-081-2/+0
| | | | | | This reverts commit 89652b6fbe65e5e7922d743a99b07104d071ef42. This patch was not reviewed on the list and does not fix any emergency build breakage. Thus, per policy is being reverted.
* Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)Martin Sivak2009-01-081-0/+2
|
* Bring up networking early enough for syslog= param (#470513)David Cantrell2008-11-081-1/+2
| | | | | | If a user boots from boot.iso and specifies syslog=HOST, we need to send them through the network configuration steps in loader so that networking is available by the time anaconda starts.
* Disable more IPv6 code in loader for now.David Cantrell2008-10-061-2/+13
| | | | | Wrapping more IPv6 code in ENABLE_IPV6 since NM does not yet support IPv6.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-0/+161
|
* remove old loader dir. for referencing, go back to anaconda-8-0-branchJeremy Katz2003-01-071-78/+0
|
* merge ia64 changes to HEADJeremy Katz2002-09-091-0/+2
|
* remove extraneous module loads of nfs -- we load it really early now.Jeremy Katz2002-08-121-0/+2
| | | | | add firewireInitialize to setup firewire. nofirewire to bypass if you have problems
* add parallel port modules to stage 2 module ball and load them so that kudzu ↵Jeremy Katz2002-07-241-0/+2
| | | | can automagically try to set up your printer
* add askmethod flag so that we can avoid the automatically going to the ↵Jeremy Katz2002-06-191-0/+2
| | | | detected cd
* added mechanism to easily pass through boot time arguments that we only care ↵Mike Fulbright2002-05-241-9/+6
| | | | that the python anaconda script receives, and dont need to know about inside the loader. Much easier - just add to the list of extra args we test for in parseCmdLineFlags(). Moved several options which were in this class from using a LOADER_FLAG_XXX to new mechanism
* merge most of the s/390 loader changes. as with the last batch, an emailJeremy Katz2001-12-271-0/+6
| | | | about these will be coming soon
* enabled telnet ability in loader-networkErik Troan2001-12-161-0/+1
|
* merge changes from the 7.2 branch forJeremy Katz2001-12-061-0/+4
| | | | | | * nousbstorage flag * unload usb-storage before loading scsi modules * support for RedHat/base/updates.img
* add option for mediacheckMike Fulbright2001-11-161-0/+2
|
* export startNewt()Erik Troan2001-10-171-0/+1
|
* grab kickstart configs via http. this allows for some really sick, twisted,Jeremy Katz2001-07-221-0/+2
| | | | and cool things :)
* a few more s/Ok/OK/Matt Wilson2001-07-121-0/+2
| | | | add a flag that lets you test all GUI screens even via netboot
* merge from (now defunct) anaconda-dispatch branchErik Troan2001-06-201-0/+2
| | | | | added telnet server support (not turned on) along with support for cramfs'd files in many places
* allow use of 'nomount' commandline option to prevent rescue mode from trying ↵Mike Fulbright2001-04-041-0/+2
| | | | to mount root directory.