[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freewrt-bugs
Subject:    [FreeWRT-bugs] two bugs found in busybox, usability of menuconfig
From:       Thorsten Glaser <tg () mirbsd ! de>
Date:       2006-06-19 17:26:06
Message-ID: Pine.BSM.4.64L.0606191721220.26371 () odem ! 66h ! 42h ! de
[Download RAW message or body]

Hi,

I found two bugs while hacking on 'menuconfig' with busybox:

- BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS is broken, already
  on the build system, the files are cp'd instead of ln'd,
  so the 4MB trx file is 60 MB...
- after changing the config, the following command
  (x=$(pwd);cd packages/busybox;gmake TOPDIR=$x clean)
  worked properly EXCEPT that it did not delete the files
  build_mipsel/stamp/.busybox-{compile,prepare}
  -> this is probably in packages/rules.mk
  that caused the build to fail later with a segfault

Also, 'menuconfig' is ugly to use. For example, go into the
packages selection, scroll down to "ppp". No way to find out
whether it's enabled or disabled unless you enter the sub-
menu "ppp". Do that for every single package with more than
one or two options... that's probably an issue of ppp/Config.in
which, instead of a menu, ought to display consecutive points,
indented by two spaces e.g.

@@ -1,7 +1,7 @@
-menu "ppp............................... PPP (Point-to-Point Protocol) daemon"
+comment "ppp............................... PPP (Point-to-Point Protocol) daemon"
 
 config BR2_PACKAGE_PPP
-       prompt "ppp............................... PPP (Point-to-Point Protocol) daemon"
+       prompt "  ppp............................. PPP (Point-to-Point Protocol) daemon"
        tristate
        default n if BR2_LINUX_2_6_ARUBA
        default y

etc. for the other prompts. (Not tested.)

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt
_______________________________________________
freewrt-bugs mailing list
freewrt-bugs@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic