summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-506/+0
|
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-251-2/+8
| | | | | | | | | | | Finally, no more libdhcp. This is the first set of changes to take anaconda over to the wonderful world of NetworkManager. We are no longer linking with libdhcp to do interface configuration. NM is started early in the installation and opens the door to things like WPA installation support and things like that.
* When mount fails, pass the error message up to the UI layer.Chris Lumens2008-08-251-3/+3
|
* If the UI was used to specify a repo, construct a repo param (#458899).Chris Lumens2008-08-141-0/+2
|
* Correctly handle typos in the stage2 location when inferred from repo=.Chris Lumens2008-08-131-0/+13
| | | | | | | | | When we are given repo= but have to infer a location for the stage2 image, we need to deal with typos. When we try to get the stage2 image, the user has a chance to correct things in the UI. However, this does not change the repo= parameter we used to make our stage2 guess. While we can't be sure what the user really meant to do, we can at least try to trim off the /images/whatever portion of the path that was constructed by the UI.
* Rest of stage2.img changes.David Cantrell2008-08-131-1/+1
| | | | Reference install.img in anaconda rather than stage2.img.
* Make it more explicit we want the stage2.img URL, not the repo URL.Chris Lumens2008-08-131-2/+2
|
* Fix segfaults on interactive NFS installs (#458416).Chris Lumens2008-08-081-8/+12
|
* Fix another NFS kickstart segfault (#456461).Chris Lumens2008-07-241-2/+2
|
* Remove support for generating a minstg2.img image.David Cantrell2008-07-241-8/+3
| | | | | | The minstg2 image has outlived its usefulness. We are at a point where we have been maintaining two stage 2 images and they are slowly becoming identical.
* Compile fixes.anaconda-11.4.1.17-1Chris Lumens2008-07-231-3/+5
|
* Fix getting the stage2 image when doing kickstart installs.Chris Lumens2008-07-221-9/+28
|
* Don't strip too much off the NFS directory path.Chris Lumens2008-07-091-2/+7
|
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-081-26/+15
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-271-28/+101
| | | | | | | | | For instances where the asprintf() was ignored, wrap it in a test to check if it failed. If it failed, log a message and abort. There may be some instances where abort may not be what we want to do, however, we were ignoring the return value completely so if we did get a failure, it would just SIGSEGV. Now it will SIGABRT instead.
* Add some memory error handling.Chris Lumens2008-06-181-0/+5
|
* Remove verifyStamp and validIsoImages which are no longer used.Chris Lumens2008-06-181-15/+5
|
* Add support for RHupdates back in, the easy way.Chris Lumens2008-06-181-3/+25
|
* Strip nfsinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-127/+28
|
* Strip cdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-1/+1
| | | | | | This includes changing the API of setupCdrom to no longer take a requirepkgs parameter. Doing that also causes a cascade of having to change findAnacondaCD and all its callers for the same reason.
* mountStage2 no longer takes a directory argument.Chris Lumens2008-06-181-16/+7
| | | | | This removes the capability to find implicit updates.img files, but that will be coming back in a later patch. This is just some cleanup for now.
* Rename methodData to stage2Data, since that's more appropriate.Chris Lumens2008-06-181-12/+12
|
* Once we've found the stage2 media on CD, always use it (#443736).Chris Lumens2008-04-231-1/+3
| | | | | | | What happens now is that we never unmount the stage2 image if the NFS repo is incorrect, so trying to mount it again fails and we fall through to a whole other code path. It's easier to just not try to remount the CD than to do all the unmounts.
* Don't copy the stage2 image on NFS installs (#438377).Chris Lumens2008-04-161-11/+11
|
* Try to mount the NFS source in loader to verify it is correct.Chris Lumens2008-04-091-3/+21
|
* Free memory only after we're done using it (#439642).Chris Lumens2008-03-311-2/+2
|
* Fix up compile error for new newtJeremy Katz2008-03-251-2/+2
|
* Always unmount /mnt/source on nfsiso installs before starting stage2.Chris Lumens2008-03-191-1/+2
|
* Work on support for NFSISO installs when using boot.iso.Chris Lumens2008-03-181-36/+57
|
* Don't unmount NFS source so NFSISO will work.Chris Lumens2008-03-131-3/+3
|
* Fix mounting problems with NFSISO images.Chris Lumens2008-03-121-37/+41
|
* Pass the correct NFS method parameter to stage2 (#436360).Chris Lumens2008-03-071-23/+10
|
* Change the method config prompts.Chris Lumens2008-03-041-1/+2
|
* Support stage2= for NFS installs.Chris Lumens2008-03-041-89/+111
|
* If stage2= is given, it overrides the check for a CD stage2 image.Chris Lumens2008-03-041-3/+7
|
* Don't append (null) to the NFS mount options.Chris Lumens2008-02-211-1/+4
|
* Use the mount program instead of our own code.Chris Lumens2008-02-111-6/+5
| | | | | Also change isys's mount function to take its arguments as a string like would be passed to the mount program, instead of a handful of flags.
* Rename nl.c to iface.c and functions to iface_*David Cantrell2008-02-081-2/+2
| | | | | | Rename the interface control functions to start with iface_ rather than nl_. The libnl API uses nl_ and it gets confusing if we use that here too.
* Use libnl to get interface MAC and IP addressesDavid L. Cantrell Jr2008-01-221-3/+2
| | | | | | | | | | | | | Reduce nl.c to enough to communicate with libnl. We already have libnl, so we might as well use it. Plus, the latest version has a reasonable API, so I'm totally against using it. The _isys module and loader have been updated to call the new functions: nl_mac2str() and nl_ip2str() to get the MAC address or IP address for the specified interface. This patch also drops our need for glib for isys. Yeah, I added the dep and I'm removing it.
* Fix a loader segfault doing kickstart nfs installs.Chris Lumens2008-01-211-8/+8
|
* Adjust to removal of moduleDeps and moduleList.Bill Nottingham2007-12-191-5/+3
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-4/+4
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ boilerplates for loader2/ source files.David Cantrell2007-12-171-9/+16
|
* Fix the implied ksfile name to use the system's IP address (#420281).Chris Lumens2007-12-111-3/+1
|
* Adjust to new udev world. Use actual device names, not /tmp/<whatever>.Bill Nottingham2007-12-071-2/+2
|
* methodstr cleanups.Chris Lumens2007-12-051-13/+29
| | | | | | Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount whatever contains the images, and /mnt/source is always the source mount point. Also don't use methodstr where we don't have to.
* Fix processing of ks=<whatever> ksdevice=(link|bootif). Free some moreChris Lumens2007-10-221-9/+13
| | | | memory.
* - remove sdupprintf(), use asprintf() instead.Peter Jones2007-10-221-13/+16
|
* Use the netlink code to get our IP address, instead of trusting thatChris Lumens2007-10-191-8/+11
| | | | | kickstartNetworkUp will set the data correctly on the second time through (#336761).
* Mount the rescue CD on /mnt/stage2 for the NFS tree method as well.Chris Lumens2007-09-281-1/+1
|