1- Building
2- ========
1+ Building Finit
2+ ==============
33
44* [ Introduction] ( #introduction )
55* [ Configure] ( #configure )
@@ -17,14 +17,15 @@ optional plugins to enable. It depends on two external libraries:
1717- [ libuEv] [ ] , the event loop
1818- [ libite] [ ] (-lite), much needed frog DNA
1919
20- ** NOTE:** Most free/open source software that uses ` configure ` default
21- to install to ` /usr/local ` . However, some Linux distributions do no
22- longer search that path for installed software, e.g. Fedora and Alpine
23- Linux. To get finit's configure script to find its dependencies you
24- have to help the ` pkg-config ` tool a bit if you do not change the
25- default prefix path:
26-
27- PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure
20+ > [ !IMPORTANT]
21+ > Most free/open source software packages that use ` configure ` default
22+ > to install to ` /usr/local ` . However, some Linux distributions do no
23+ > longer search that path for installed software, e.g. Fedora and Alpine
24+ > Linux. To get finit's configure script to find its dependencies you
25+ > have to help the ` pkg-config ` tool a bit if you do not change the
26+ > default prefix path:
27+ >
28+ > PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure
2829
2930The configure script checks for all dependencies, including the correct
3031version of the above mentioned libraries. Currently required versions:
@@ -71,12 +72,13 @@ Below are a few of the main switches to configure:
7172
7273For more configure flags, see <kbd >./configure --help</kbd >
7374
74- > ** Note:** the configure script is not available in the GIT sources. It is
75- > however included in (officially supported) released tarballs. The
76- > idea is that you should not need GNU autotools to build, only the
77- > above mentioned dependencies, a POSIX shell, a C compiler and make.
78- > Any contributing to Finit can generate it from ` configure.ac ` using
79- > the ` autogen.sh ` script.
75+ > [ !NOTE]
76+ > The configure script is not available in the GIT sources. It is
77+ > however included in (officially supported) released tarballs. The
78+ > idea is that you should not need GNU autotools to build, only the
79+ > above mentioned dependencies, a POSIX shell, a C compiler and make.
80+ > Any contributing to Finit can generate it from ` configure.ac ` using
81+ > the ` autogen.sh ` script.
8082
8183
8284Example
@@ -115,10 +117,11 @@ Linux config to:
115117
116118 CONFIG_UEVENT_HELPER_PATH="/sbin/mdev"
117119
118- ** Note:** If you run into problems starting Finit, take a look at
119- ` finit.c ` . One of the most common problems is a custom Linux kernel
120- build that lack ` CONFIG_DEVTMPFS ` . Another is too much cruft in the
121- system ` /etc/fstab ` .
120+ > [ !TIP]
121+ > If you run into problems starting Finit, take a look at ` finit.c ` .
122+ > One of the most common problems is a custom Linux kernel build that
123+ > lack ` CONFIG_DEVTMPFS ` . Another is too much cruft in the system
124+ > ` /etc/fstab ` .
122125
123126
124127Running
@@ -157,8 +160,10 @@ enabled. The default Finit rescue mode configuration is installed into
157160
158161By default the a root shell, without login, is started.
159162
160- > ** Note:** in this mode ` initctl ` will not work. Use the ` -f ` flag to
161- > force ` reboot ` , ` shutdown ` , or ` poweroff ` .
163+ > [ !IMPORTANT]
164+ > In rescue mode ` initctl ` will not work, the same goes for ` reboot ` ,
165+ > ` shutdown ` , and ` poweroff ` commands, provided they are the Finit
166+ > versions of these commands. Use the ` -f ` flag to force the action.
162167
163168
164169Debugging
@@ -187,8 +192,9 @@ kernel usually reboots: `configure --enable-emergency-shell`. However,
187192the behavior of Finit is severely limited when this is enabled, so use
188193it only for debugging start up issues when Finit crashes.
189194
190- ** NOTE:** Neither of these options should be enabled on production
191- systems since they can potentially give a user root access.
195+ > [ !CAUTION]
196+ > None of these options should be enabled on production systems since
197+ > they can potentially give a user root access.
192198
193199
194200[ 1 ] : ftp://troglobit.com/finit/finit-4.3.tar.gz
0 commit comments