aboutsummaryrefslogtreecommitdiff
path: root/init/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Do not hardcode /libexec libexecdirSamuel Thibault2021-03-161-0/+2
| | | | | | | | | | | | | | | | So that distributions can use the --libexecdir configure parameter. * configure.ac (AC_CONFIG_FILES): Add daemons/runsystem.hurd.sh. * config/ttys: Rename to ttys.in, replace /libexec with @libexecdir@. * config/Makefile (ttys): Generate from ttys.in * daemons/runsystem.hurd.sh.in (prefix): Define to @prefix@. (exec_prefix): Define to @exec_prefix@. (RUNCOM, RUNTTYS): Replace /libexec with @libexecdir@. * init/Makefile (init-CPPFLAGS): Define LIBEXECDIR. * init/init.c (main): Use LIBEXECDIR instead of hardcoding /libexec. * startup/Makefile (startup-CPPFLAGS): Define LIBEXECDIR. * startup/startup.c (start_child, launch_something): Use LIBEXECDIR instead of hardcoding /libexec.
* init: add a minimalist init programJustus Winter2014-11-211-0/+24
| | | | | | | | | | | | | | | | | | | | | | This patch adds a minimalist init program. It is somewhat lacking in features, but is able to bring up a Hurd system with the runsystem and rc scripts. In fact, it roughly does what the former /hurd/init did, modulo all the very early bootstrapping stuff and the startup protocol. It is started when all the essential servers are up and running, so it can make use of most of the POSIX goodies, making its implementation much simpler. * Makefile (prog-subdirs): Add init. * daemons/runsystem.sh: Generalize runsystem so that it can start any init as specified on the kernel command line. By default, it starts /hurd/init. * daemons/runsystem.hurd: This is a verbatim copy of runsystem.sh. It is started by /hurd/init. * daemons/rc.sh: Do not start /hurd/mach-defpager as it is already started in runsystem.sh. * daemons/Makefile (SRCS): Add runsystem.hurd. * init/Makefile: New file. * init/init.c: Likewise.
* startup: rename /hurd/init to /hurd/startupJustus Winter2014-11-211-31/+0
| | | | | | | | | | | | | This patch series splits /hurd/init into two programs. As a first step, this patch renames /hurd/init to /hurd/startup. It is called startup because it speaks the startup protocol. * startup: Rename init to startup. Adjust accordingly. * Makefile (prog-subdirs): Likewise. * doc/hurd.texi (Server Bootstrap): Likewise. * hurd/paths.h (_HURD_STARTUP): Likewise. * libdiskfs/boot-start.c (diskfs_boot_init_program): Likewise. * libdiskfs/opts-std-startup.c (startup_options): Likewise.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-18/+2
| | | | | | | | | | | * init.c [! SPLIT_INIT]: All this code removed. [SPLIT_INIT]: This code no longer conditional. (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. * Makefile (split-init): Variable removed. (SRCS): Add stubs.c here unconditionally. [$(split-init) = no]: Conditional defns removed. (LCLHDRS): Variable removed. * ttys.c, ttys.h: Files removed.
* 1999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-1/+5
| | | | * Makefile (split-init): Set to `yes' by default.
* 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-191-1/+2
| | | | * Makefile (HURDLIBS): Add ports and fshelp only if $(split-init)!=yes.
* disable split-init by defaultRoland McGrath1999-06-181-1/+1
|
* 1999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-181-2/+10
| | | | | | | | | | | | | | | | | * init.c [SPLIT_INIT] (child_pid, child_task): New variables. (process_signal, start_child, launch_something, launch_system): New functions. [! SPLIT_INIT] (system_state, shell_pid, rc_pid, launch_single_user, process_rc_script, launch_multi_user, launch_system, kill_everyone, kill_multi_user, process_signal): Variables and functions put inside #ifndef SPLIT_INIT. * stubs.c: New file, modified from ../proc/stubs.c. * Makefile (SRCS): Remove ttys.c here. [$(split-init) = yes] (SRCS): Add stubs.c [$(split-init) = yes] (init-CPPFLAGS): New variable, -DSPLIT_INIT. [$(split-init) = no] (SRCS): Add ttys.c only here. [$(split-init) = no] (LDLIBS): Put defn (-lutil) under this test. (split-init): New variable to turn on split-init, commented out.
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-6/+7
| | | | | | | | | | | | | Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
* *** empty log message ***Thomas Bushnell1996-09-171-3/+2
|
* (LDLIBS): New variable.Miles Bader1996-08-141-2/+3
| | | | | (init): Dependcy on -lutil removed. (libutil-libsubst): Variable removed.
* (init): Add libports (because libfshelp.so requires it, lose loseMichael I. Bushnell1996-07-031-1/+1
| | | | lose).
* (libutil-libsubst): Define (as -lutil).Michael I. Bushnell1996-06-171-0/+1
|
* (init): Link against -lutil.Michael I. Bushnell1996-06-171-1/+1
|
* (dir): Now init.Michael I. Bushnell1996-06-171-1/+1
|
* (mung_msg_S.h): New rule.Michael I. Bushnell1996-06-171-0/+3
|
* (OBJS): Add startup_notifyUser.o.Michael I. Bushnell1996-05-101-1/+2
|
* (init): Depend on libfshelp.Miles Bader1996-04-171-1/+1
|
* (init): Add explicit dependency so that libshouldbeinlibc is included.Michael I. Bushnell1996-03-251-1/+3
|
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-2/+1
|
* (OBJS): Add msgServer.o.Roland McGrath1994-11-281-2/+2
| | | | (init.o): Depend on msg_S.h.
* entered into RCSMichael I. Bushnell1994-07-211-32/+5
|
* Formerly Makefile.~12~Michael I. Bushnell1994-07-191-1/+1
|
* Formerly Makefile.~11~Michael I. Bushnell1994-07-051-0/+2
|
* Formerly Makefile.~10~Michael I. Bushnell1994-06-201-1/+1
|
* Formerly Makefile.~9~Roland McGrath1994-05-051-6/+6
|
* Formerly Makefile.~8~Michael I. Bushnell1994-05-021-1/+1
|
* Formerly Makefile.~7~Michael I. Bushnell1994-04-131-2/+6
|
* Formerly Makefile.~6~Michael I. Bushnell1994-04-071-0/+2
|
* Formerly Makefile.~5~Michael I. Bushnell1994-03-221-1/+1
|
* Formerly Makefile.~4~Michael I. Bushnell1994-03-211-1/+7
|
* Formerly Makefile.~3~Michael I. Bushnell1994-03-211-0/+15
|
* Formerly Makefile.~2~Michael I. Bushnell1994-03-011-0/+3
|
* Initial revisionMichael I. Bushnell1994-02-011-0/+22