[BusyBox] busybox init/linuxrc and 2.4.x kernel

Andreas Neuhaus andy at fasta.fh-dortmund.de
Thu Mar 15 02:30:08 UTC 2001


> as linuxrc and it displays an error: linuxrc: applet not found. (yes,
> Config.h is ok and linuxrc support is compiled in).

Hmm, there seem to be a mixup between BB_LINUXRC and BB_FEATURE_LINUXRC.
applets.h uses BB_LINUXRC instead of BB_FEATURE_LINUXRC. because BB_LINUXRC
was removed from Config.h, linuxrc support is broken.

my suggestion: get completely rid of BB_LINUXRC and only use
BB_FEATURE_LINUXRC:

--- applets.h   2001/03/14 17:45:45     1.18
+++ applets.h   2001/03/15 02:25:31
@@ -200,7 +200,7 @@
 #ifdef BB_LENGTH
        APPLET(length, length_main, _BB_DIR_USR_BIN)
 #endif
-#ifdef BB_LINUXRC
+#ifdef BB_FEATURE_LINUXRC
        APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT)
 #endif
 #ifdef BB_LN

there are also some #undefs for BB_LINUXRC in Config.h* which can be
removed.

regards,
andreas neuhaus
--
Life could be so much easier if we could just look at the source code...
  .~.
  /V\    Andreas Neuhaus, FaStA Informatik FH-Dortmund
 // \\    Sonnenstr. 96, D-44139 Dortmund, Tel 0231/9112-734
/(   )\    System-Administration FaStA FH-Dortmund
^^-^^
 LINUX - Don't fear the penguin






More information about the busybox mailing list