diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-09-18 15:29:36 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 05:49:03 +0100 |
commit | 7e9c559c75901f391b4151ed6cabba74e60f80af (patch) | |
tree | 12a5189c81b4a13d203a139f698ea15be6e41f8c /init/Makefile | |
parent | 0224d569030e6838c63cf946ae7321be923afc23 (diff) |
init: add a minimalist init program
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.
Diffstat (limited to 'init/Makefile')
-rw-r--r-- | init/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/init/Makefile b/init/Makefile new file mode 100644 index 00000000..07b80261 --- /dev/null +++ b/init/Makefile @@ -0,0 +1,24 @@ +# +# Copyright (C) 2013 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +dir := init +makemode := server + +SRCS = init.c +OBJS = $(SRCS:.c=.o) +target = init + +include ../Makeconf |