summaryrefslogtreecommitdiff
path: root/init/Makefile
AgeCommit message (Collapse)Author
2014-11-21init: add a minimalist init programJustus Winter
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.
2014-11-21startup: rename /hurd/init to /hurd/startupJustus Winter
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-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* 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-241999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (split-init): Set to `yes' by default.
1999-06-191999-06-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (HURDLIBS): Add ports and fshelp only if $(split-init)!=yes.
1999-06-18disable split-init by defaultRoland McGrath
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
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.
1996-09-17*** empty log message ***Thomas Bushnell
1996-08-14(LDLIBS): New variable.Miles Bader
(init): Dependcy on -lutil removed. (libutil-libsubst): Variable removed.
1996-07-03(init): Add libports (because libfshelp.so requires it, lose loseMichael I. Bushnell
lose).
1996-06-17(libutil-libsubst): Define (as -lutil).Michael I. Bushnell
1996-06-17(init): Link against -lutil.Michael I. Bushnell
1996-06-17(dir): Now init.Michael I. Bushnell
1996-06-17(mung_msg_S.h): New rule.Michael I. Bushnell
1996-05-10(OBJS): Add startup_notifyUser.o.Michael I. Bushnell
1996-04-17(init): Depend on libfshelp.Miles Bader
1996-03-25(init): Add explicit dependency so that libshouldbeinlibc is included.Michael I. Bushnell
1995-07-06Removed dependencies that are now automatically generated.Michael I. Bushnell
1994-11-28(OBJS): Add msgServer.o.Roland McGrath
(init.o): Depend on msg_S.h.
1994-07-21entered into RCSMichael I. Bushnell
1994-07-19Formerly Makefile.~12~Michael I. Bushnell
1994-07-05Formerly Makefile.~11~Michael I. Bushnell
1994-06-20Formerly Makefile.~10~Michael I. Bushnell
1994-05-05Formerly Makefile.~9~Roland McGrath
1994-05-02Formerly Makefile.~8~Michael I. Bushnell
1994-04-13Formerly Makefile.~7~Michael I. Bushnell
1994-04-07Formerly Makefile.~6~Michael I. Bushnell
1994-03-22Formerly Makefile.~5~Michael I. Bushnell
1994-03-21Formerly Makefile.~4~Michael I. Bushnell
1994-03-21Formerly Makefile.~3~Michael I. Bushnell
1994-03-01Formerly Makefile.~2~Michael I. Bushnell
1994-02-01Initial revisionMichael I. Bushnell