Issue #14: Improved support for static Finit builds

- Upgrade libite (LITE) for new UNIX file parser API to improve static
  builds of Finit.
- Re-enable bootmisc plugin for static builds by adding built-in support
  for reading GID from /etc/group.
- Allow inetd support for static builds by adding built-in support for
  reading service and protocol from /etc/services and /etc/protocols.
- Do not try to install/uninstall any plugins for static builds.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-10-26 00:56:50 +01:00
parent b2c5e97417
commit 369fcf2100
6 changed files with 46 additions and 9 deletions
-5
View File
@@ -29,9 +29,6 @@
#include "../plugin.h"
#include "libite/lite.h"
/* This plugin uses getuser(), which relies on dynamically linked GLIBC. Cannot be built statically! */
#ifndef ENABLE_STATIC
/*
* Setup standard FHS 2.3 structure in /var, and
* write runlevel to UTMP, needed by, e.g., printerdrake.
@@ -104,8 +101,6 @@ PLUGIN_EXIT(plugin_exit)
plugin_unregister(&plugin);
}
#endif/* ENABLE_STATIC */
/**
* Local Variables:
* version-control: t