Le 22/03/2013 02:49, Thomas Pegg a écrit :
How about something like this Bruce.
See attached diff.
Thomas
Well,
The patch did not work because I think the mail transformed <tab> into
spaces, which does not work inside Config.in.
I attach it again.
It gives one more line in the main menu "Exit without running jhalfs".
It may be suboptimal though, because if you tick that option, you _have
to_ save your configuration for exiting gracefully.
So now, we have 3 solutions. I do not like the idea of tweaking the menu
system. Maybe editing the Makefile is the best solution, as suggested by
Thomas, but only editing it. After all, it is _the_ place where jhalfs
is run.
I'll make another suggestion in the next message (don't want to attach
to many patches...)
Regards
Pierre
Index: jhalfs-trunk/Config.in
===================================================================
--- jhalfs-trunk.orig/Config.in 2012-02-13 09:56:34.000000000 +0100
+++ jhalfs-trunk/Config.in 2013-03-22 09:44:42.326356403 +0100
@@ -34,11 +34,6 @@
default "clfs3" if BOOK_CLFS3
default "hlfs" if BOOK_HLFS
default "blfs" if BOOK_BLFS
-
- config RUN_ME
- string
- default "./jhalfs run" if !BOOK_BLFS
- default "./blfs-tool" if BOOK_BLFS
#--- End BOOK/script
#--- Book version
@@ -1160,3 +1155,12 @@
#
# See README.CUSTOM for more info about this feature.
+config EXIT_GRACE
+ bool "Exit without running jhalfs"
+ default n
+
+config RUN_ME
+ string
+ default "echo 'Configuration terminated'" if EXIT_GRACE
+ default "./jhalfs run" if !BOOK_BLFS
+ default "./blfs-tool" if BOOK_BLFS
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page