mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
Update docs for 0.5
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
0f8393ef0e
commit
529224153f
4 files changed
+97
-3
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
0.5 ()
|
0.5 (20080821)
|
||||||
- add option to start dbus and consolekit before the X server
|
- add option to start dbus and consolekit before the X server
|
||||||
- finit-alt listens to /dev/initctl to work with reboot(8) (smurfy)
|
- finit-alt listens to /dev/initctl to work with reboot(8) (smurfy)
|
||||||
- write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
- write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ CFLAGS = -Os -Wall -DVERSION=\"$(VERSION)\" -DWHOAMI=\"`whoami`@`hostname`\"
|
|||||||
LD = gcc
|
LD = gcc
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS =
|
LIBS =
|
||||||
VERSION = 0.5-pre
|
VERSION = 0.5
|
||||||
PKG = finit-$(VERSION)
|
PKG = finit-$(VERSION)
|
||||||
DFILES = Makefile README finit.c finit-mod.c finit-alt.c helpers.c helpers.h \
|
DFILES = Makefile README finit.c finit-mod.c finit-alt.c helpers.c helpers.h \
|
||||||
patches/*patch contrib/services.sh*
|
patches/*patch contrib/services.sh* Makefile.gdium
|
||||||
BINS = finit-mod finit-alt finit-mdv #finit-exb
|
BINS = finit-mod finit-alt finit-mdv #finit-exb
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,3 +40,9 @@ Finit handles SIGUSR1 and SIGUSR2 for reboot and halt, and listens to
|
|||||||
/dev/initctl so standard Linux reboot and halt commands should also
|
/dev/initctl so standard Linux reboot and halt commands should also
|
||||||
work.
|
work.
|
||||||
|
|
||||||
|
|
||||||
|
Debugging
|
||||||
|
---------
|
||||||
|
|
||||||
|
Add finit_debug to the kernel parameter line to enable trace messages
|
||||||
|
and to run a shell after the X server.
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
CC = gcc
|
||||||
|
CFLAGS = -Os -Wall -DVERSION=\"$(VERSION)\" -DWHOAMI=\"`whoami`@`hostname`\"
|
||||||
|
LD = gcc
|
||||||
|
LDFLAGS =
|
||||||
|
LIBS =
|
||||||
|
VERSION = 0.5-pre
|
||||||
|
PKG = finit-$(VERSION)
|
||||||
|
DFILES = Makefile README finit.c finit-mod.c finit-alt.c helpers.c helpers.h \
|
||||||
|
patches/*patch contrib/services.sh*
|
||||||
|
BINS = finit-mod finit-alt finit-mdv #finit-exb
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#### Configurable parameters
|
||||||
|
|
||||||
|
# Default user for finit-alt if not "user"
|
||||||
|
#DEFUSER = fred
|
||||||
|
|
||||||
|
# Use -march=pentium-m to build for Eeepc
|
||||||
|
#CFLAGS += -march=pentium-m
|
||||||
|
|
||||||
|
# Omit the first /sbin/hwclock if CONFIG_RTC_HCTOSYS is enabled in the kernel
|
||||||
|
CFLAGS += -DNO_HCTOSYS
|
||||||
|
|
||||||
|
# Append -directisa to /sbin/hwclock lines if the user has disabled
|
||||||
|
# CONFIG_GENRTC and enabled CONFIG_RTC but not enabled CONFIG_HPET_TIMER
|
||||||
|
# and CONFIG_HPET_RTC_IRQ.
|
||||||
|
#CFLAGS += -DDIRECTISA
|
||||||
|
|
||||||
|
# Use built-in run-parts instead of /bin/run-parts
|
||||||
|
CFLAGS += -DBUILTIN_RUNPARTS
|
||||||
|
|
||||||
|
#### End of configurable parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ifneq ($(DEFUSER),)
|
||||||
|
CFLAGS += -DDEFUSER=\"$(DEFUSER)\"
|
||||||
|
endif
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
$(CC) -c $(CFLAGS) -o $*.o $<
|
||||||
|
|
||||||
|
all: $(BINS)
|
||||||
|
|
||||||
|
finit: finit.o
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
finit-mod: finit-mod.o helpers.o
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
finit-alt: finit-alt.o helpers.o
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
finit-mdv: finit-mdv.o helpers.o
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
finit-mdv.o: finit-alt.c Makefile
|
||||||
|
$(CC) -c $(CFLAGS) -DDIST_MDV -o $@ finit-alt.c
|
||||||
|
|
||||||
|
finit-exb: finit-exb.o helpers.o
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
finit-exb.o: finit-alt.c Makefile
|
||||||
|
$(CC) -c $(CFLAGS) -DDIST_EEEXUBUNTU -o $@ finit-alt.c
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o core *~ $(BINS)
|
||||||
|
|
||||||
|
finit.o: finit.c Makefile
|
||||||
|
|
||||||
|
finit-mod.o: finit-mod.c Makefile
|
||||||
|
|
||||||
|
helpers.o: helpers.c Makefile
|
||||||
|
|
||||||
|
dist:
|
||||||
|
rm -Rf $(PKG)
|
||||||
|
mkdir -p $(PKG)/contrib $(PKG)/patches
|
||||||
|
for i in $(DFILES); do cp $$i $(PKG)/`dirname $$i`; done
|
||||||
|
tar cf - $(PKG) | gzip -c > $(PKG).tar.gz
|
||||||
|
rm -Rf $(PKG)
|
||||||
|
ls -l $(PKG).tar.gz
|
||||||
|
|
||||||
Reference in new issue
Block a user