Initial eeeXubuntu port merged from smurfy's port

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-05-31 10:43:43 -03:00
parent f516108ca6
commit 9f99f38561
4 changed files with 24 additions and 4 deletions
+8 -1
View File
@@ -7,7 +7,7 @@ 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 finit-mod finit-alt finit-mdv
BINS = finit finit-mod finit-alt finit-mdv finit-exb
@@ -62,6 +62,13 @@ finit-mdv: finit-mdv.o helpers.o
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)
+4
View File
@@ -0,0 +1,4 @@
Experimental eeeXubuntu support merged from Smurfy's port, see
http://forum.eeeuser.com/viewtopic.php?id=15685
+10 -2
View File
@@ -47,7 +47,7 @@ THE SOFTWARE.
/* Distribution configuration */
#ifdef DIST_MDV /* Mandriva */
#if defined DIST_MDV /* Mandriva */
#define RANDOMSEED "/var/lib/random-seed"
#define SYSROOT "/sysroot"
#define GETTY "/usr/bin/openvt /sbin/mingetty tty2"
@@ -57,6 +57,13 @@ THE SOFTWARE.
#define PAM_CONSOLE
#define LISTEN_INITCTL
#define RUNLEVEL 5
#elif defined DIST_EEEXUBUNTU /* eeeXubuntu */
#define RANDOMSEED "/var/lib/urandom/random-seed"
#define SYSROOT "/sysroot"
#define GETTY "/usr/bin/openvt /sbin/getty 38400 tty2"
#define RUNPARTS "/bin/run-parts"
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
#define LISTEN_INITCTL
#else /* original Eeepc distribution */
#define RANDOMSEED "/var/lib/urandom/random-seed"
#define SYSROOT "/mnt"
@@ -151,7 +158,8 @@ int main()
struct utmp entry;
#endif
puts("finit-alt " VERSION " (built " __DATE__ " by " WHOAMI ")");
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
" by " WHOAMI ")");
chdir("/");
umask(022);
+2 -1
View File
@@ -101,7 +101,8 @@ int main()
char *x;
sigset_t nmask, nmask2;
puts("finit-mod " VERSION " (built " __DATE__ " by " WHOAMI ")");
puts("finit-mod " VERSION " (built " __DATE__ " " __TIME__
" by " WHOAMI ")");
chdir("/");
umask(022);