summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't overflow the buffer when copying over image location in case loopbackChris Lumens2005-04-261-1/+2
| | | | images are buried (#154715).
* 2005-04-16 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-171-1/+1
| | | | | | | | | | | | * loader2/kickstart.c: Allow specifying 'mediacheck' in ks.cfg to specify mediacheck. * loader2/kickstart.h: Define constant. * kickstart.py (KickstartBase.readKickstart): Define no-op for 'mediacheck' keyword for stage2 * loader2/method.c (queryIsoMediaCheck): Allow mediacheck for kickstart if 'mediacheck' passed on the command line. (#116429) * loader2/cdinstall.c (queryCDMediaCheck): Likewise.
* 2005-03-29 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-03-291-2/+2
| | | | | | | * text.py (stepToClasses): Remove silo stuff. * gui.py (stepToClasses): Likewise. * iw/silo_gui.py: Remove. * textw/silo_text.py: Remove.
* Unmount the loopback mounted ISO image to free up the loopback device forChris Lumens2005-03-111-1/+1
| | | | later use (#150887).
* Oops, fgets needs a char * to return intoPeter Jones2005-03-021-4/+4
|
* more return values gcc wants us to check.Peter Jones2005-03-021-4/+4
|
* * loader2/method.c: make validIsoImages check the buildstamp and reportPeter Jones2005-01-251-5/+13
| | | | | | | | | back if it found invalid entries. * loader2/method.h: update prototype for validIsoImages * loader2/hdinstall.c: call validIsoImages() with foundinvalid = 0 * loader2/nfsinstall.c: pass the address of foundinvalid to validIsoImages * update anaconda.spec
* oops, syntax fixJeremy Katz2004-07-071-0/+1
|
* try to mount loopback images as vfat too (#127072). could cause weirdnessJeremy Katz2004-07-061-0/+4
| | | | | | | | if someone did something wrong, but they'll just get a different failure case. realistically, should probably change mountLoopback() to take a list of valid filesystems to try when mounting
* fix for method= based on mattdm's patch (#84156)Jeremy Katz2004-04-301-9/+10
|
* after some fun debugging with viro and davej...Jeremy Katz2004-01-221-2/+3
| | | | | | | | | | | | | | | | close the loopfd before trying to mount the loop device. otherwise, sick hacks which used to exist for cramfs aren't there any more and Things Break (tm) <viro> davej: what happens is a combination of several fun issues <viro> a) LOOP_SET_FD doesn't update bdev inode ->i_size <viro> it updates gendisk capacity, but that's it <viro> b) size is recalculated on the open() if nobody else has the sucker opened <viro> c) installer keeps fd of loop device open until after mounts <viro> d) cramfs used to contain a messy hack(tm) that used to hide the problem. <viro> messy hack being "if device shows up zero size, guess it's really very large"
* apply mikem's patch to avoid freeing things more than once (#106956)Jeremy Katz2003-12-171-6/+8
|
* read product path from the build stamp if possible, default to RedHat if notJeremy Katz2003-10-141-3/+8
| | | | available. basically notting's patch with some fixes and genhdlist handled
* make sure loopfd is still open so we can close it in an error case (#106615)Jeremy Katz2003-10-131-2/+3
|
* merge from taroon branch. product.img stuff, md can be modular, lots ofJeremy Katz2003-07-161-1/+4
| | | | little things across the board
* and need it here tooJeremy Katz2003-07-081-1/+2
|
* massive merge from taroon branch. changes are all over the place, but aJeremy Katz2003-07-081-1/+53
| | | | | | | | | | | | | | summary of looking through the diff is * clean up warnings, we build with -Wall -Werror here too * product.img stuff * max logical partitions enforcement * 1 TB max fs size * ethtool stuff * autopart in kickstart * driver disk fixes * RHEL upgrade stuff * network driver disks * variant pkgorder/tree splitting
* rest of remount tweaksMike Fulbright2003-05-011-4/+4
|
* another taroon merge. tagged before as before-taroon-merge, after asJeremy Katz2003-04-241-19/+5
| | | | | | | | after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups.
* support bind mounts for upgrade/rescue mode.Jeremy Katz2003-02-181-4/+4
| | | | | | | | basically, create a new filesystem type and device which get used and add a keyword parameter for mounting the diff looks large, but most of it is adjusting callers of doPwMount in the loader
* move method from cmdline settings to a function.Jeremy Katz2003-02-131-1/+37
| | | | | add hard drive and cdrom add urlinstall based on patch from mattdm@mattdm.org (#84156)
* work on non-o_direct systemsMatt Wilson2003-01-171-0/+4
|
* attempt to use O_DIRECT for loopback stage2 - should use less kernel ↵Matt Wilson2003-01-041-6/+15
| | | | buffer space. also fix error condition checks to be more specific
* loader changes for s/netstg1/netstg2/ and s/hdstg1/hdstg2/Jeremy Katz2002-12-061-1/+1
|
* ramfs seems to behave now so switch to using it for storage of netstg/hdstgJeremy Katz2002-12-041-2/+3
|
* added hd install supportMike Fulbright2002-12-031-1/+1
|
* added function to determine timestamp and release description from stamp ↵Mike Fulbright2002-12-031-5/+242
| | | | file as well as function to interate over ISO images in a directory and prompt to test them
* add method to umount a stage2 imageMike Fulbright2002-12-021-0/+6
|
* restructuring and clean up of some of the older unused code in the loader.Jeremy Katz2002-11-261-0/+359
still a lot to do, but this gets to stage2 for cd, nfs, http, and ftp booting from either the cd initrd or the pxe initrd