summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix sshd bringup when also using a kickstart file (#863441)Jesse Keating2012-10-091-2/+1
| | | | users.Users() no longer takes an argument, so don't try to pass one.
* We no longer need getkeymaps, mapshdr, or readmap.Chris Lumens2012-08-093-179/+0
|
* Use the correct path to kickstart files (#833070)Jesse Keating2012-06-211-1/+1
|
* We should use /usr/bin/pythonMartin Sivak2012-06-211-23/+23
| | | | (cherry picked from commit 3f1abc384736f0e105b46612e0601a50784a9528)
* Move sshpw handling out of AnacondaJesse Keating2012-06-082-1/+58
| | | | | | | | This creates an ExecStartPre on the anaconda-sshd.service that will check for a kickstart entry for sshpw. It will add/modify users accordingly prior to launching the sshd service. Since now sshpw and sshd bring up happens outside of and before anaconda starts, we can remove sshd.py and any reference to it.
* Remove snarffont, which is no longer needed.Chris Lumens2011-10-313-99/+0
|
* Remove things from utils/ that lorax obsoletes.Chris Lumens2011-07-075-596/+1
|
* Clean up a bunch of exception handling code.David Lehman2011-02-161-1/+1
| | | | | Mostly replaces 'except Foo, e' with 'except Foo as e', but there are a few areas where some logic gets reworked.
* remove unused variablesMichal Schmidt2011-02-031-3/+3
| | | | | | | | | | | 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.
* All uses of perl must die.Chris Lumens2010-10-142-26/+0
|
* Add logpicker support into Makefiles, anaconda.spec.in, configure.ac and ↵Tomas Mlcoch2010-10-113-0/+50
| | | | upd-instroot.
* Add logpicker tool into utilsTomas Mlcoch2010-10-1113-0/+1319
| | | | | | | | | | | | | | | | | | | | | | | | | The Logpicker is a simple utility for log reporting. It obtains a dump from the Anaconda + some another information and creates a compressed archive. Then it's able to send the archive to: - Bugzilla (in case of Fedora) - Red Hat Ticketing System (in case of RHEL) - email - FTP server - another computer via SCP - local filesystem The dump from the Anaconda is obtained by the signal SIGUSR2. Other information gathered by the Logpicker are: - Filesystem structure image (list of directories and files in ram disk). - Output from commands "dmsetup ls --tree" and "dmsetup info -c". The Logpicker is easy to extend. So you can easily add your own log gathering classes. The main advantage of this utility is that all important logs can be easily sended (reported) by only one command without break an instalation. Example of use: logpicker --bugzilla --login=bzlogin --idbug=999999
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-283-3/+3
| | | | | | | 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.
* Correct problem with initrd.addrsize generation (#546422)David Cantrell2010-05-251-5/+5
| | | | | | The last write() line was writing out the addr value again instead of size. Also include libgen.h for basename() call and lose the char * we never use from the strtoul() call.
* Set permissions on initrd.addrsize to 0644 (#591455)David Cantrell2010-05-121-1/+2
|
* Rename geninitrdsz.c to addrsize.c (#546422)David Cantrell2010-05-062-1/+1
| | | | | | | Rename the geninitrdsz.c program to addrsize.c to more accurately reflect what it's generating. Update Makefile.am and its usage in the buildinstall scripts. The load address is provided as a shell variable in scripts/mk-images.s390.
* Generate initrd.addrsize file correctly for LPAR booting (#546422)David Cantrell2010-05-061-21/+46
| | | | | | Modify geninitrdsz.c to generate a patch file containing the load address and size of the initrd.img image. Used for booting on an LPAR using the generic.ins file.
* Move compiled things out of /usr/lib/anaconda-runtime.Chris Lumens2010-04-061-1/+1
|
* Move boot files, language data, keymaps, etc. to /usr/share/anaconda/.Chris Lumens2010-04-061-0/+1
|
* Replace all popt use with glib's option parsing code.David Cantrell2009-11-182-25/+41
| | | | | We have glib for other things, so we can use it for option parsing and dump another library dependency.
* Catch failures from write(2) in utils/snarffont.cDavid Cantrell2009-09-171-20/+48
| | | | | | Remove the die() function and replace with calls to fprintf() and return EXIT_FAILURE. Catch write(2) failures as well instead of just ignoring them.
* Convert utils/ to Makefile.amDavid Cantrell2009-06-092-90/+34
|
* Remove old content from utils/David Cantrell2009-02-203-278/+2
| | | | Remove old content from utils/Makefile, remove hash.c and hash.h.
* Update mk-s390-cdboot.c to work with large kernel images (#184648)David Cantrell2008-12-021-7/+40
| | | | | IBM's update to mk-s390-cdboot.c to support large kernel images and large initrd images.
* Fix mk-s390-cdboot on s390x (#184648)David Cantrell2008-09-291-130/+225
| | | | | | | | | Related to #184648. The C program provided by IBM was not working. In buildinstall.log from distill, we saw that it was core dumping. I've patched the source to not use fixed buffer sizes for command line arguments, which seemed to be the cause of the problem. I also added some error checking and reporting in case it completely fails.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-1/+1
|
* Enable wireless modules again for now as a test (#443545).Chris Lumens2008-08-111-1/+1
|
* Support booting from FCP-attached CD/DVD drive on s390 (#184648)David Cantrell2008-07-172-2/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The s390 can boot El Torito CD or DVD images iff they are attached by zFCP, used as the IPL device, and contain a specially formatted boot image on the disc. IBM provided the tool to combobulate the boot image together and a description of the desired execution path. When you boot on s390, the linuxrc.s390 will look to see if you IPL'ed from a CD or DVD. If you did, it will ask if you also want to install from that device. If you answer yes (y, Y, or any case spelling of 'yes'), the script will bring the IPL device online so the kernel assigns it a device name. Then it skips over the network configuration and starts you in to loader. If you tell it no or did not IPL from a CD or DVD, it'll launch the missiles--wait, no, I mean you get the normal network installation questions before loader starts. I have no way to test this as it requires the following changes: (1) Rel-eng needs to build s390x media with -no-emul-boot and specify the new cdboot.img file on that platform. I have already contacted rel-eng about making this change. (2) I don't have a CD-ROM drive in my mainframe. IBM does and testing is all falling on them. IBM knows this...maybe. I explain all of this like anyone else on the team will ever get a chance to experience it. So there you have it. A letter opener.
* Handle modules with more than one description (#432414)Jeremy Katz2008-02-121-1/+1
|
* Clean off leading and trailing whitespace from descriptions.Bill Nottingham2008-01-241-0/+1
| | | | 3c359, you're on notice!
* Remove obsolete bits that we no longer need with module trees.Bill Nottingham2007-12-193-160/+2
|
* GPLv2+ boilerplates for stubs/ and utils/David Cantrell2007-12-1712-0/+221
|
* Add license boilerplates to Makefiles.David Cantrell2007-12-171-0/+19
| | | | | | | | All Makefiles have a standard RH license boilerplate. Existing copyright ranges have been expanded out to list each year, since you are supposed to do that for license boilerplates (ranges aren't valid). Any existing authors mentioned are listed under the Red Hat Author(s) part.
* move existing cvsignores to gitignore; remove ones no longer neededJeremy Katz2007-11-051-0/+0
|
* * utils/genmodinfo: Remove ata_generic from blacklistJeremy Katz2007-10-121-1/+1
|
* and b43legacy with the right nameJeremy Katz2007-09-281-1/+1
|
* 2007-09-28 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-09-281-1/+1
| | | | * utils/genmodinfo: No ath5k either
* 2007-09-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-09-271-1/+1
| | | | | | * utils/genmodinfo: Blacklist more wireless drivers; with the way that mac80211 works, we really can't support it in the loader right now
* 2007-09-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-09-241-1/+1
| | | | | * utils/genmodinfo: Blacklist some modules that require firmware that we don't have right now. This should help avoid #299351
* 2007-09-04 Bill Nottingham <notting@redhat.com>Bill Nottingham2007-09-041-1/+1
| | | | | * utils/genmodinfo (blacklist): Blacklist some more things (floppies, iscsi, etc)
* 2007-08-09 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-091-0/+3
| | | | * utils/genmodinfo (blacklist): And the blacklist begins
* * utils/genmodinfo: New file, utility to generate module-info on the flyBill Nottingham2007-08-032-0/+55
| | | | | | * utils/Makefile: Install genmodinfo. * scripts/mk-images: Use genmodinfo. * loader2/module-info, loader2/Makefile: Kill it dead.
* * utils/modlist.c: Remove plip module-info support.Bill Nottingham2007-07-311-1/+0
| | | | | * loader2/moduleinfo.c: Likewise * loader2/moduleinfo.h: Likewise
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-1/+0
| | | | | | | | | | * isys/Makefile (_isys.so): Use LDFLAGS * loader2/Makefile (loader): Likewise. * stubs/Makefile ($(LIBUTF8)): Likewise. * Makefile: Likewise. * isomd5sum/Makefile (CFLAGS): Use common CFLAGS and LDFLAGS; use LDFLAGS everywhere * utils/Makefile: Use common LDFLAGS
* * utils/geninitrdsz.c: Create initrd.size file with 0644 permissionsDavid Cantrell2006-09-221-2/+2
| | | | (#197773).
* * scripts/mk-images.s390: Use the size of the actual initrd.img forDavid Cantrell2006-09-111-2/+12
| | | | | | the value in initrd.size. * utils/Makefile: Only build and install geninitrdsz on zSeries.
* * utils/geninitrdsz.c: Added util to generate the initrd.size fileDavid Cantrell2006-09-112-2/+52
| | | | | | | | | | | needed on zSeries (#197773). * utils/Makefile: Compile geninitrdsz, install to anaconda-runtime. * scripts/mk-images: Define GENINITRDSZ command. * scripts/mk-images.s390: Generate initrd.size for each s390 tree build.
* 2006-07-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-111-2/+2
| | | | | * utils/readmap.c (main): Try to fix things for serial console (Alexander Dupuy, #198310)
* not hereJeremy Katz2006-06-106-1256/+0
|
* import gptsync to sync between gpt and mbr partition tables until partedJeremy Katz2006-06-096-0/+1256
| | | | does this