summaryrefslogtreecommitdiffstats
path: root/loader2/init.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-798/+0
|
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-251-0/+21
| | | | | | | | | | | 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.
* Fix minor whitespace nits.Peter Jones2008-07-081-1/+1
|
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-081-5/+4
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-71/+3
| | | | * po/sk.po: Typo fix.
* pvops xen uses hvc as its console (#434763)Jeremy Katz2008-02-251-2/+2
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-2/+2
| | | | | | | 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-10/+14
|
* Start udev from install init.Bill Nottingham2007-12-071-0/+5
|
* It's MALLOC_CHECK_, not _MALLOC_CHECK (#354131).Chris Lumens2007-10-261-1/+1
|
* Add a mode when creating a new file.Chris Lumens2007-08-021-1/+1
|
* Move copyDirectory out of both init.c and method.c.Chris Lumens2007-06-191-68/+7
|
* * loader2/init.c (main): Remove message about cereal being an importantDavid Cantrell2007-04-231-5/+3
| | | | | | part of a nutritionally balanced breakfast and replaced it with a note about needing eggs, bacon, sausage, toast, pancakes, and home fries. Well, not really.
* - clear memory before using itPeter Jones2007-01-171-1/+1
|
* - Don't write over the last message from grub or syslinuxPeter Jones2007-01-081-1/+1
|
* 2006-08-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-251-16/+12
| | | | | | | | | * loader2/init.c: Handle xvc0 as a "weird" console. Also, fix a case where we didn't properly close an fd * loader2/devices.h: Add xvc0 under experimental major/minor * loader2/Makefile (init.o): Add dependency rule on devices.h
* * loader2/init.c: Modify the snakes on a plane debugging mode aDavid Cantrell2006-07-191-8/+9
| | | | | | bit. * loader2/net.{c,h}: Removed NETWORK_DEBUG mode and send data to the logging function via debugNetworkInfo().
* I still had these lying around, figured I'd commit them.David Cantrell2006-07-061-1/+2
|
* Clean up ↵David Cantrell2006-06-301-222/+273
| | | | | | | | | TABS in init.c, make it more readable. Why did we have wait4() in init.c? This isn't BSD. Replaced with waitpid(). Check return values for exec functions in loader and use WIFEXITED and WEXITSTATUS more correctly.
* 2006-06-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-301-2/+2
| | | | * loader2/init.c: Nuke non-existent paths from LD_LIBRARY_PATH
* - set MALLOC_CHECK_ and _MALLOC_PERTURB for the loaderPeter Jones2006-06-211-0/+6
|
* * rescue.py: Added runShell() to handle spawning the tty1 shell forDavid Cantrell2006-03-031-11/+18
| | | | | | | rescue mode and set the controlling tty (#182222). * loader2/init.c: Do not disable Ctrl+C, Ctrl+Z, and friends if we're starting in rescue mode. Set controlling tty before dup2() calls.
* Try to put newlines into the syslog in intelligent places (I'm looking atChris Lumens2005-10-271-28/+38
| | | | you, pump).
* Don't copy null characters into the log file.Chris Lumens2005-09-201-7/+27
|
* 2005-06-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-06-131-1/+1
| | | | | | | | | | | | | | | * Makefile Makefile.inc mini-wm.c xmouse.c xutils.c isys/Makefile isys/isys.c isys/lang.c isys/smp.c isys/uncpio.c isys/gzlib/Makefile isys/gzlib/inflate.c loader2/Makefile loader2/driverdisk.c loader2/driverselect.c loader2/hdinstall.c loader2/init.c loader2/kickstart.c loader2/loader.c loader2/loadermisc.c loader2/moduleinfo.h loader2/modules.c loader2/net.c loader2/nfsinstall.c loader2/telnet.c loader2/undomounts.c loader2/urlinstall.c utils/Makefile utils/genhdlist.c utils/mapshdr.c utils/snarffont.c: Define cflags in one place (Makefile.inc) and use a consistent set everywhere. Fix up some of the compile warnings this uncovered. Also fix a few more things that -Wextra turned up.
* always reset terminal attributes on ppc (#156411)Bill Nottingham2005-05-031-3/+6
|
* Use the right flag when creating block device nodes.Chris Lumens2005-04-081-1/+1
|
* And some more silly return value fixes. It builds again...Peter Jones2005-03-021-17/+28
|
* use socklen_t for accept's address lengthPeter Jones2005-03-021-1/+1
|
* 2004-12-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-211-2/+2
| | | | | * loader2/init.c (createDevices): Fix silly typo breaking creation of devices under /dev
* 2004-12-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-211-1/+1
| | | | * loader2/init.c: tmpfs, not ramfs for /dev
* 2004-12-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-201-0/+40
| | | | | | | | * loader2/devices.h: Add static list of basic devices to create in /dev. * loader2/init.c: Create /dev as a tmpfs so that we don't try to bind-mount to the rootfs (#141570)
* Extra checking to distinguish hvsi consoles #134397Paul Nasrat2004-12-161-1/+12
|
* 2004-11-22 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-231-7/+7
| | | | * loader2/init.c: Only open /dev/console once.
* Improved ppc console detection, based on notting's kudzu patch #135707 #134397Paul Nasrat2004-11-221-0/+24
|
* add flags.virtpconsole to be used with virtual physical consoles likeJeremy Katz2004-09-131-1/+4
| | | | | | hvc (ppc), hvsi (ppc), and altix (ia64). set up in init and carried throughout. (#131091, #130906, #131301)
* patch from msw to not ignore dot files when copying over the /tmpJeremy Katz2004-08-311-1/+1
|
* hack so that if we have a "weird" physical console, we don't later try to thinkJeremy Katz2004-08-251-0/+3
| | | | | it's serial. also carry in the iseries checking into the loader. *sigh* (#130906)
* set weird non-physical console terminals up to use vt100-nav and beJeremy Katz2004-08-181-2/+4
| | | | somewhat serial like (#129761, others)
* generalize a little bit, add ttySG0 checking for altix (sgi ia64)Jeremy Katz2004-08-131-8/+11
|
* at this point, I'm fairly responsible for this mess too. update copyright dateJeremy Katz2004-08-131-2/+3
|
* also helps to open the console as r/wJeremy Katz2004-08-131-1/+1
|
* oops, forgot a part of the ppc console fix. also, only close fdJeremy Katz2004-08-131-2/+3
| | | | if it's > 2 (otherwise, we close one of the fds we expected to have open)
* newer ibm pseries boxes have consoles that a) don't use the usual virtualJeremy Katz2004-08-131-5/+22
| | | | | console device and b) aren't serial consoles. joy. so, let's check if we have one of those first and if we do, we use it. (#128255)
* don't think that iseries console devices are serial installsJeremy Katz2004-06-301-0/+6
|
* make functions static, remove some unused onesJeremy Katz2004-06-211-80/+6
|
* add support for being able to halt or poweroff in addition to rebooting. doneJeremy Katz2004-06-211-16/+95
| | | | in response to the init process receiving SIGUSR1 or SIGUSR2 (#116414)
* no need to do it twice ;-)Jeremy Katz2003-11-211-7/+0
|
* mount sysfs in the loader, and write it in /etc/fstab tooBill Nottingham2003-11-211-0/+7
|
* mount sysfsJeremy Katz2003-11-151-0/+7
|