source: Config.in@ 4c36783

ablfs-more trunk
Last change on this file since 4c36783 was 7f25c70, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

reinstate sudo as a dependency of blfs tools

Was removed at a preceding commit for no good reason
(pebkac?)

  • Property mode set to 100644
File size: 30.6 KB
RevLine 
[e5d44f5]1menu "BOOK Settings"
2
3 #--- BOOK/script
4 choice
5 prompt "Use BOOK"
6 default BOOK_LFS
7 help
8 Select the book where build instructions are retrieved.
9
10 config BOOK_LFS
11 bool "Linux From Scratch System V"
12 help
[706e5bf]13 Set up the tools to build LFS with SysV init.
[e5d44f5]14
15 config BOOK_LFS_SYSD
16 bool "Linux From Scratch systemd"
17 help
18 Set up the tools to build LFS with systemd init.
19
20 config BOOK_BLFS
21 bool "Beyond Linux From Scratch (see help)"
22 help
[e3f41e33]23 if the LFS system has already been built, install the tools
[e5d44f5]24 to build BLFS packages.
25 endchoice
26
[39dc04a]27 choice
[f596dde]28 depends on BOOK_BLFS
[39dc04a]29 prompt "Init system"
30
31 config BLFS_SYSV
[706e5bf]32 bool "BLFS SysV"
[39dc04a]33 help
[706e5bf]34 Extract the SysV flavour of the BLFS book
[39dc04a]35
36 config BLFS_SYSD
37 bool "BLFS systemd"
38 help
39 Extract the systemd flavour of the BLFS book
40
41 endchoice
42
[e5d44f5]43 config INITSYS
44 string
[39dc04a]45 default "sysv" if BOOK_LFS || BLFS_SYSV
46 default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
[e5d44f5]47
48 config PROGNAME
49 string
50 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
51
52 config RUN_ME
53 string
[e3f41e33]54 default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]55 default "./install-blfs-tools.sh auto" if BOOK_BLFS
56 #--- End BOOK/script
57
58 #--- Book version
59 choice
60 prompt "Release"
[1e686d1]61 default relGIT
[e5d44f5]62
63 config relGIT
64 bool "GIT"
65 help
[1e686d1]66 Current development git trunk branch
[e5d44f5]67
68 config WORKING_COPY
69 bool "Working Copy"
70 help
71 A local working copy
72
73 config BRANCH
[e3f41e33]74 bool "Branch or stable book"
[e5d44f5]75 help
[1e686d1]76 A supported GIT branch or tag
[e5d44f5]77 endchoice
78
79 config BRANCH_ID
80 string "Branch (preceded by \"branch-\"), stable Version, or tag"
81 default "**EDIT ME**"
[f596dde]82 depends on BRANCH
[e5d44f5]83 help
84 A list of valid branches and stable book IDs is available at
85 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
86
87 Enter "branch-XXX" for branch XXX, or just "YYY" for stable (or tag)
88 YYY version.
89
90 config BOOK
91 string "Loc of working copy (mandatory)"
92 default "**EDIT ME**"
[f596dde]93 depends on WORKING_COPY
[e5d44f5]94 help
95 The full path to a local copy of the book XML sources
96
[13e52a5]97 choice
98 depends on (BOOK_LFS || BOOK_LFS_SYSD) && (BRANCH || WORKING_COPY)
99 prompt "Mutilib"
100 default LFS_MULTILIB_NO
101 config LFS_MULTILIB_NO
102 bool "Standard LFS on i686 or amd64"
103 help
[b6e981a]104 Use standard LFS book (choose this if not multilib source)
[13e52a5]105
106 config LFS_MULTILIB_I686
107 bool "Multilib LFS on amd64 with i686 libraries"
108 help
109 Use Multilib LFS book with i686 libraries
110
111 config LFS_MULTILIB_X32
112 bool "Multilib LFS on amd64 with x32 libraries"
113 help
114 Use Multilib LFS book with x32 libraries
115
116 config LFS_MULTILIB_ALL
117 bool "Multilib LFS on amd64 with i686 and x32 libraries"
118 help
119 Use Multilib LFS book with i686 and x32 libraries
120
121 endchoice
122
123 config MULTILIB
124 string
125 default "default" if LFS_MULTILIB_NO
126 default "ml_32" if LFS_MULTILIB_I686
127 default "ml_x32" if LFS_MULTILIB_X32
128 default "ml_all" if LFS_MULTILIB_ALL
129
[e5d44f5]130 #--- End BOOK version
131
132 choice
133 prompt "Build method"
[e3f41e33]134 default BUILD_CHROOT
[e5d44f5]135 help
136 What build method should be used: a chroot jail or minimal boot
[e3f41e33]137 system. Review the clfs-ng branch chap6 "TO BOOT OR CHROOT" for
[e5d44f5]138 a full explanation.
139
140 config BUILD_CHROOT
141 bool "chroot"
142
143 config BUILD_BOOT
144 bool "boot"
145 endchoice
146
147 config METHOD
148 string
149 default "chroot" if BUILD_CHROOT
150 default "boot" if BUILD_BOOT
151
152 config BOOT_CONFIG
153 string "BOOT kernel config file (mandatory)"
154 default "***EDIT ME***"
155 depends on BUILD_BOOT
156 help
157 If METHOD=boot, location of boot-kernel config file
158 The config file will be copied to ${BUILD_DIR}/sources
159 and renamed 'bootkernel-config'
160 NOTE: this setting is required
161
162 #--- blfs-tool Support
163 config BLFS_TOOL
164 bool "Add blfs-tool support"
165 default n
[e3f41e33]166 depends on !BOOK_BLFS
[e5d44f5]167 help
168 Activating this option will install additional packages needed
169 to use blfs tools after booting the new system.
170 The blfs-tool files will be installed under $BUILD_DIR/blfs_root
171 (see below).
172 After booting the new xLFS system, but before using the blfs tools,
173 you should create a user account, move the /blfs_root directory
174 to that user's home, and change its ownership to that of the user.
175 Also, be sure to give the user read and write access on the
176 $TRACKING_DIR directory and the files that it contains.
177 Don't forget to configure sudo properly on the new system.
178
179 config DUMMY # Avoid indenting the items below
180 bool
181
182 if BLFS_TOOL
183 menu "blfs-tool dependencies"
184
185 config DEP_LIBXML
186 bool "libxml2 (required)"
187 default y
188
189 config DEP_LIBXSLT
190 bool "libxslt (required)"
191 default y
192
193 config DEP_DBXML
194 bool "DocBook XML DTD (required)"
195 default y
196
197 config DEP_LYNX
198 bool "lynx (optional, for reading the generated book)"
199 default y
200
[7f25c70]201 config DEP_SUDO
202 bool "sudo (recommended)"
203 default y
204
[e5d44f5]205 config DEP_WGET
206 bool "wget (recommended)"
207 default y
208
209 config DEP_GPM
210 bool "GPM (optional, see help)"
211 default n
212 help
213 if you install gpm, it will be started
[90f5b6d]214 automatically on boot. It allows copy-paste
215 while Xorg is not installed.
[e5d44f5]216
[1e686d1]217 config DEP_GIT
218 bool "GIT client (optional, see help)"
[e5d44f5]219 default n
220 help
[1e686d1]221 Git is needed for updating the book
[90f5b6d]222 sources. You do not need it if building a
223 stable book.
[e5d44f5]224
225 endmenu
226
227 choice
228 prompt "BLFS Release"
[1e686d1]229 default BLFS_GIT
[e5d44f5]230
[1e686d1]231 config BLFS_GIT
232 bool "BLFS GIT"
[e5d44f5]233 help
234 Current development version as in trunk
235
236 config BLFS_WORKING_COPY
237 bool "BLFS working copy"
238 help
239 A local working copy of the BLFS book.
240
241 config BLFS_BRANCH
242 bool "BLFS Branch or stable book"
243 help
[1e686d1]244 A supported GIT branch or stable (tag) book release
[e5d44f5]245 endchoice
246
247 config BLFS_WC_LOCATION
248 string "Location of the local BLFS working copy (mandatory)"
249 default "**EDIT ME**"
250 depends on BLFS_WORKING_COPY
251 help
[506120ee]252 Full path to the BLFS book working copy
[e5d44f5]253
254 config BLFS_BRANCH_ID
255 string "BLFS Book Version (mandatory)"
256 default "**EDIT ME**"
257 depends on BLFS_BRANCH
258 help
259 A list of valid branches and stable book IDs is available at
260 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
261 endif
262 #--- End blfs-tool Support
263
264 #--- BLFS params (Used for installing the tools, either after a jhalfs run
265 # or directly)
266 config BLFS_ROOT
267 string "Root of the tools directory (see help)"
268 default "/blfs_root"
269 depends on BLFS_TOOL || BOOK_BLFS
270 help
271 Path to the directory where all required files and scripts
272 will be stored.
273
274 This path must begin with a slash, and:
275 - is relative to the user's HOME directory when installing the
276 blfs tools on an already existing LFS system.
277 - is relative to the root of the build directory (`/' in chroot)
278 when adding the tools after a jhalfs run
279
280 CAUTION: this directory will be removed if it already exists.
281
282 config BLFS_XML
283 string "BLFS sources directory (internal parameter)"
284 default "blfs-xml"
[f596dde]285 depends on BLFS_TOOL || BOOK_BLFS
[e5d44f5]286 help
287 The directory name under $BLFS_ROOT where the BLFS
288 book sources will be copied or checked out. Do not change that
289 unless you know what you are doing...
[506120ee]290
[f733772]291 config LFS_XML
292 string "LFS sources directory (internal parameter)"
293 default "lfs-xml"
[f596dde]294 depends on BLFS_TOOL || BOOK_BLFS
[f733772]295 help
296 The directory name under $BLFS_ROOT where the LFS
297 book sources will be copied or checked out. Do not change that
298 unless you know what you are doing...
299
[506120ee]300 choice
301 prompt "LFS Release"
[1e686d1]302 default LFS_relGIT
[f596dde]303 depends on BOOK_BLFS
[506120ee]304
[1e686d1]305 config LFS_relGIT
306 bool "LFS GIT"
[506120ee]307 help
308 Current development version as in trunk
309
310 config LFS_WORKING_COPY
311 bool "LFS working copy"
312 help
313 A local working copy of the LFS book.
314
315 config LFS_BRANCH
316 bool "LFS Branch or stable book"
317 help
[1e686d1]318 A supported GIT branch or stable (tag) book release
[506120ee]319 endchoice
320
321 config BLFS_LFS_BOOK
322 string "Location of the local LFS working copy (mandatory)"
323 default "**EDIT ME**"
324 depends on LFS_WORKING_COPY
325 help
326 Full path to the LFS book working copy"
327
328 config BLFS_LFS_BRANCH_ID
329 string "LFS Book Version (mandatory)"
330 default "**EDIT ME**"
331 depends on LFS_BRANCH
332 help
333 A list of valid branches and stable book IDs is available at
334 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
[e5d44f5]335 # End of BLFS parameters
336
337 #--- Custom Tools support
338 config CUSTOM_TOOLS
[f596dde]339 depends on !BOOK_BLFS
[e5d44f5]340 bool "Add custom tools support"
341 default n
342 help
343 Activating this option additional packages you create
344 will be installed after finished the xLFS system build.
345 #--- End Custom Tools support
346
[e3ccc27]347 #--- This directory is needed for blfs tools installation and custom tools
[e5d44f5]348 # As well.
349 config TRACKING_DIR
350 string "Installed packages database directory"
351 default "/var/lib/jhalfs/BLFS"
352 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
353 help
354 Full path to the directory where the database of
355 installed packages will be created.
356
357 If the blfs tools are installed on a running xLFS system,
358 the user must have enough privileges to create this directory.
359 It may be necessary to create the /var/lib/jhalfs directory as
360 root, and make it writable by the user before running this tool.
361
362 If you are installing the blfs tools as part of an xLFS build
363 and/or using the customized scripts feature, you will
364 need to fix this directory's permissions after booting
365 the new system.
366
367 Note that the user that will build the packages must
368 have read and write access to this directory.
[53f291f]369
[a705708]370#--- End BOOK Settings
371endmenu
372
[e5d44f5]373menu "General Settings"
[e3ccc27]374depends on !BOOK_BLFS
[e5d44f5]375
[b7583ec]376 #--- {C,H,}LFS User Account
377
378 config LUSER
[e5d44f5]379 string
380 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
381
382 config LGROUP
383 string
[b7583ec]384 default LUSER
[e5d44f5]385
386 config LHOME
387 string
[b7583ec]388 default "/home"
389
[e5d44f5]390 #--- End Set User Account
391
392 config BUILDDIR
393 string "Build Directory"
394 default "/mnt/build_dir"
395 help
396 #-- The directory where the created system will be located.
397 # NOTE: A working directory named jhalfs will be created
398 # here, so ensure this does not conflict with the jhalfs
399 # source directory.
400
401 config GETPKG
402 bool "Retrieve source files"
403 default n
404 help
405 #-- Download all packages and patches required by the selected book
406 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
407 # first and if necessary retrieves them from the 'net.
408 # Files will be transferred to $BUILDDIR/sources.
409
410 config SRC_ARCHIVE
411 string "Package Archive Directory"
412 default "$SRC_ARCHIVE"
[f596dde]413 depends on GETPKG
[e5d44f5]414 help
415 #-- A local archive for packages/files (not $BUILDDIR/sources)
416 # Any missing file will be downloaded and archived here,
417 # if the user has the right privileges.
418
419 config RETRYSRCDOWNLOAD
420 bool "Retry on 'connection refused' failure"
421 default n
[f596dde]422 depends on GETPKG
[e5d44f5]423 help
424 #-- Attempt to download a source package again if it fails
425 # with a 'connection refused' error. This can happen on
426 # servers that are overloaded.
427
428 config RETRYDOWNLOADCNT
429 int "Number of retry attempts on download failures"
430 default 20
[f596dde]431 depends on GETPKG
[e5d44f5]432 help
433 #-- Number of times to retry a failed download.
434
435 config DOWNLOADTIMEOUT
436 int "Download timeout (in seconds)"
437 default 30
[f596dde]438 depends on GETPKG
[e5d44f5]439 help
440 #-- Number of seconds to wait for a download to start before
441 # timing out.
442
443 config SERVER
444 string "FTP mirror"
445 default "http://ftp.osuosl.org"
[f596dde]446 depends on GETPKG
[e5d44f5]447 help
448 #-- FTP mirror to download packages and patches if not found
449 # in $SRC_ARCHIVE
450 # As a last resort, the files will downloaded from upstream,
451 # if possible.
452
453 config RUNMAKE
454 bool "Run the makefile"
455 default n
456 help
457 #-- Automatically run the makefile once it has been created
458
459 config CLEAN
460 bool "Rebuild files"
461 default n
462 help
463 #-- Clean the build directory before performing any other task.
464 # The directory is cleaned only if it was populated by a
465 # previous JHALFS run.
[a705708]466
467#--- End General Settings
468endmenu
469
[e5d44f5]470menu "Build Settings"
[e3ccc27]471depends on !BOOK_BLFS
[e5d44f5]472
473 #--- Test Suites
474 config CONFIG_TESTS
475 bool "Run testsuites"
476 default y
477 help
478 #-- Run test suites
[1d5f3e3]479 # If you select 'y' here:
[e5d44f5]480 # You will have to select between:
[945ccaa]481 # - Only critical final system testsuites
[e5d44f5]482 # - All final system testsuites
483 # You will be prompted also about the "flavour" of the
484 # testsuites run:
485 # - Don't stop on test suite failures
486 # - Abort the build at the first test suite failure
487 #
[1d5f3e3]488 # Note that in any case, all the test instructions will
489 # be generated. Those which are not wanted will be commented
490 # out. If you select 'n' here, the commented test instructions
491 # do not stop on test suite failures.
[e5d44f5]492
[945ccaa]493 menu "Test settings"
[f596dde]494 depends on CONFIG_TESTS
[e5d44f5]495 choice
496 prompt "Tests level"
497 default TST_1
498
499 config TST_1
[945ccaa]500 bool "Only final system critical testsuites"
501 help
502 #-- Critical tests:
503 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
[1d5f3e3]504 # testsuites for final system. The others are commented
505 # out.
[e5d44f5]506
507 config TST_2
508 bool "All final system testsuites"
[1d5f3e3]509 help
510 #-- All final system test suites:
511 # Test instructions for the temporary tools (if available)
512 # are commented out.
[e5d44f5]513
514 endchoice
515
516 choice
517 prompt "Flavour"
518
519 config NO_BOMB
[945ccaa]520 bool "Don't stop on test failures"
[e5d44f5]521
522 config BOMB
[945ccaa]523 bool "Abort the build on the first test failure"
[e5d44f5]524 endchoice
525
[30a8961]526 endmenu # test settings
527
[945ccaa]528 config TEST
529 int
530 default "0" if !CONFIG_TESTS
531 default "1" if TST_1
532 default "2" if TST_2
533
[e5d44f5]534 config BOMB_TEST
535 bool
536 default n if NO_BOMB
537 default y if BOMB
[30a8961]538 #--- End Test Suites
[e5d44f5]539
540 #--- Package Management
541 config PKGMNGT
542 bool "Package management"
[f596dde]543 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]544 default n
545 help
546 #-- Use package management
547 #
[945ccaa]548 # If set, you'll have to choose between
549 # two package management styles:
550 # - Build and install:
551 # the packages in the final phase are built
552 # in a separate directory, PKG_DEST.
553 # You should provide a bash function for
[4b2a5fd]554 # packaging and installing the package.
[945ccaa]555 # - Preload a library before install:
556 # Run the install instructions inside a
557 # wrapper command, which monitors the
558 # installed files.
559 #
[e5d44f5]560 # Also, you have to provide the instructions
561 # to build the package manager during the
562 # temporary tools phase, in the form of a
563 # sect1 of the book identical to a package
564 # sect1. See README.PACKAGE_MANAGEMENT
[945ccaa]565 choice
[f596dde]566 depends on PKGMNGT
[945ccaa]567 prompt "Package management style"
568 default PKG_PACK
569
570 config PKG_PACK
571 bool "Build and pack (pacman or dpkg style)"
[e5d44f5]572
[945ccaa]573 config LIB_LOAD
574 bool "Preload a library before installing (porg style)"
575 endchoice
576
577 config WRAP_INSTALL
578 bool
579 default y if LIB_LOAD
580 default n if PKG_PACK
[e5d44f5]581 #--- End package management
582
583 #--- Installed files logs
584 config INSTALL_LOG
585 bool "Create a log of installed files for each package"
586 default n
587 help
588 #-- Select this if you want to create logs of the files
589 # installed by each package on the final system.
590
591 #--- End Installed files logs
592
[945ccaa]593 config STRIP
594 bool "Strip Installed Binaries/Libraries"
595 default n
596
[dc7fd7b]597 config DEL_LA_FILES
[d2a7ec8]598 bool "Remove libtool .la files"
[dc7fd7b]599 default y
600 help
601 #-- Remove files libxxx.la installed by libtool. For a rationale
602 # see https://blog.flameeyes.eu/tags/lafiles/
603
[945ccaa]604 config NO_PROGRESS_BAR
[f596dde]605 bool "DO NOT use/display progress_bar"
[945ccaa]606 default n
607 help
608 #-- Do not use the progress bar routine. On slower machines
609 # this function consumes precious CPU cycles.
610
611#--- End Build Settings
612endmenu
613
[6990d80]614menu "System configuration"
[e3ccc27]615 depends on !BOOK_BLFS
[945ccaa]616
[e5d44f5]617 #--- FSTAB
618 config HAVE_FSTAB
619 bool "Use a custom fstab file"
620 default n
621 help
622 #-- Select this if you have an fstab file with entries
[945ccaa]623 # for the target system
[a705708]624
[e5d44f5]625 config FSTAB
626 string "Fstab file (optional)"
627 default "***EDIT ME***"
628 depends on HAVE_FSTAB
629 help
630 #-- The location of fstab file (if empty, a template is created)
631 #--- End FSTAB
632
633 #--- Kernel
634 config CONFIG_BUILD_KERNEL
635 bool "Build the kernel"
636 default n
637 help
638 #-- Select this option if you wish to build the kernel.
639 #
640 # You will be prompted for the full path to the .config
641 # file. It will be copied to the 'sources' directory and
642 # renamed kernel-config
643
644 config CONFIG
645 string "Kernel config file"
646 default "***EDIT ME***"
647 depends on CONFIG_BUILD_KERNEL
648 help
649 #-- Fully qualified path to a kernel config file
650 # The config file will be copied to ${BUILD_DIR}/sources
651 # and renamed 'kernel-config'
652 #--- End Kernel
653
[085435e]654 config NCURSES5
655 bool "Install non-wide-character ncurses"
[e5d44f5]656 default n
[085435e]657 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]658 help
[085435e]659 #-- Install the optional non wide character ncurses5 library
[e5d44f5]660
661 config TIMEZONE
662 string "TimeZone"
663 default "GMT"
664 help
665 #-- The timezone as output by tzselect
666 # This will be copied to /etc/localtime
667
668 config LANG
669 string "Language"
670 default "$LANG"
671 help
672 #-- LANG variable set in /etc/profile
673 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
674 # for values (or the file localedata/SUPPORTED in glibc tarball)
675
676 config FULL_LOCALE
677 bool "Install the full set of locales"
678 default n
679 help
680 #-- If set to y, the full set of supported locales
681 # will be installed. Otherwise, only the minimal set
682 # necessary for the tests will be installed,
683 # together with the locale associated with the
684 # LANG you have chosen, if not in the minimal set.
685
686 #--- Groff page
687 choice
688 prompt "Groff page size"
689 default PAGE_LETTER
690 help
691 #-- Page definition for groff: letter or A4
692
693 config PAGE_LETTER
694 bool "letter"
695
696 config PAGE_A4
697 bool "A4"
698 endchoice
699
700 config PAGE
701 string
702 default "letter" if PAGE_LETTER
703 default "A4" if PAGE_A4
704 #--- End Groff page
[a705708]705
[945ccaa]706 config HOSTNAME
[6990d80]707 string "Hostname (see help)"
[945ccaa]708 default "**EDITME**"
[6990d80]709 help
710 If you are on a public network, use the hostname given to you by
711 your institution, or corporation, etc. If your network is private,
712 that is, behind a firewall such as a box to connect to your ISP,
713 you can choose anything you'd like. Combined with the domain name
714 "local", you have the possibility to access your computer by name
715 instead of address on the private network (see RFC 6762 and
716 https://www.howtogeek.com/167190/).
[945ccaa]717
718 menu "Network configuration"
719 config INTERFACE
720 string "netword card name"
721 default "eth0"
[6990d80]722 help
723 eth0 is used in most cases. Virtual insterfaces may get other
724 names (for example enp0s3 for the default network stack in qemu).
725 Systemd may also rename network interfaces according to their
726 bus addresses.
[945ccaa]727 config IP_ADDR
728 string "Static IP address"
729 default "10.0.2.9"
[6990d80]730 help
731 The default here is for a virtual interface in qemu. Private
732 networks have addresses in the range 10.x.x.x or 192.169.x.x.
733 You have to know your network prefix. Then the last figure
734 may be anything you like.
735
[945ccaa]736 config GATEWAY
737 string "Gateway"
738 default "10.0.2.2"
[6990d80]739 help
740 Again, this default is for a qemu network stack. Usually, the
741 gateway is the address of your firewall.
[945ccaa]742 config PREFIX
743 string "Subnet prefix"
744 default "24"
[6990d80]745 help
746 Again, this default is for a qemu network stack, but is also
747 the most used in private networks.
[945ccaa]748 config BROADCAST
749 string "Broadcast address"
750 default "10.0.2.255"
751 config DOMAIN
[6990d80]752 string "Domain name (see help)"
753 default "local"
754 help
755 Domain Name:
756 Doamin names are registered, so if your computer is on a public
757 network, you cannot use any name you'd like. On a public
758 network, you should have been given a domain name by
759 your corporation, institution, etc.
760 If your network is really private, that is behind a firewall
761 such as a box for connecting to an ISP, you can choose any
762 domain you'd like. You can also opt for "local", see RFC 6762,
763 or "something.test", see RFC 6761.
[945ccaa]764 config DNS1
765 string "Primary Name server"
766 default "10.0.2.3"
767 config DNS2
768 string "Secondary Name server"
769 default "8.8.8.8"
770 endmenu # Network configuration
771
772 menu "Console configuration"
773 config FONT
774 string "Console font"
775 default "lat0-16"
[3b43e17b]776 help
777 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
778 etc, must be done manually.
[945ccaa]779 config KEYMAP
780 string "Keymap name"
781 default "us"
[3b43e17b]782 config LOCAL
783 boolean "Hardware clock is set to local time"
784 default n
785 help
786 If the harware clock is set to local time, answer yes,
787 If it is set to UTC, answer no
788 config LOG_LEVEL
789 string "Default log level (1-8)"
790 default "4"
[f596dde]791 depends on BOOK_LFS
[3b43e17b]792 help
793 This can be changed using dmesg. 1 means "no message",
794 8 shows every message sent by the kernel, which is very
795 noisy. The default at boot time is 7, which is quite
796 noisy too.
[945ccaa]797 endmenu # Console configuration
798
799endmenu #--- System configuration
[a705708]800
[e5d44f5]801menu "Advanced Features"
[e3ccc27]802depends on !BOOK_BLFS
[e5d44f5]803
804 config REPORT
805 bool "Create SBU and disk usage report"
806 default y
807
[f5ecc28]808 config SAVE_CH5
809 bool "Save Chapter 5 work"
810 depends on BOOK_LFS || BOOK_LFS_SYSD
811 default n
812 help
813 Save the state of jhalfs at the end of chapter 5:
814
815 if you tick this item, the whole $LFS directory is
816 saved when chapter 5 is finished. It'll be in an xz
817 compressed tarball in the $LFS/jhalfs directory
818
[f596dde]819 #--- ICA
[e5d44f5]820 config COMPARE
821 bool "Run comparison analysis on final stage"
822 default n
823 help
824 #-- Should an iterative comparison analysis be performed?
825 #
[f596dde]826 # Unless you are familiar with ICA, do not
[e5d44f5]827 # select this option
828 #
[f596dde]829 # ICA is an analysis tool for comparing one
[e5d44f5]830 # build to the next. Builds mays differ from one iteration
[f596dde]831 # to another due to the build order and this tool try
[e5d44f5]832 # to ferret out those differences by examining the stored
833 # build logs and binary files.
834 #
835 # The scripts are well commented and can be found in ./extras/*
836 #
837
838 config ITERATIONS
839 int "Number of test runs (2,3,4,5)" if COMPARE
840 depends on COMPARE
841 range 2 5
842 default 3
843
844 config RUN_ICA
[f596dde]845 bool
846 default y if COMPARE
[e5d44f5]847
[f596dde]848 #--- End ICA
[e5d44f5]849
850 #--- Optimizations
851 config CONFIG_OPTIMIZE
852 bool "Optimization and parallelization"
853 default n
854 help
855 # Opens a menu for various optimization settings:
856 # Actual optimization flags MUST be defined in ./optimize/*
857 # before activating this option.
858 #
859 # WARNING: The use of build optimizations may lead to build issues.
860 # If the system doesn't work as expected, please rebuild
861 # without optimizations before asking for support.
862 menu "Optimization settings"
863 depends on CONFIG_OPTIMIZE
864
865 config N_PARALLEL
866 int "Number of parallel `make' jobs"
867 default 1
868 help
869 #-- The usual recommandation is (number of CPU cores)+1
870 # Do not set for meaningful SBU calculations.
871
872 choice
[f596dde]873 prompt "Optimization level"
[e5d44f5]874 default OPT_1
875 help
876 #-- Optimization values are set in optimize/* files
877
878 config OPT_1
879 bool "Final system only"
880
881 config OPT_2
882 bool "Both temp tools and final system"
883
884 endchoice
[84a3fda]885
886 config REALSBU
887 bool "Build Binutls pass1 without optimization (Real SBU)"
888 depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
889 default n
890 help
891 #-- Use -j1 in make invokation for Binutils pass1 to
892 # get a valid SBU value.
893
[9d665db]894 endmenu # Optimization settings
[e5d44f5]895 config OPTIMIZE
896 int
897 default "0" if !CONFIG_OPTIMIZE
898 default "1" if OPT_1
899 default "2" if OPT_2
[84a3fda]900
[e5d44f5]901 #--- End Optimizations
[a705708]902
[e5d44f5]903 #-- Internal Settings
904 menu "Internal Settings (WARNING: for jhalfs developers only)"
[4da2512]905
[e5d44f5]906 config SCRIPT_ROOT
907 string "Scripts root"
908 default "jhalfs"
[4da2512]909
[e5d44f5]910 config JHALFSDIR
911 string "jhalfs directory"
912 default "$BUILDDIR/$SCRIPT_ROOT"
[4da2512]913
[e5d44f5]914 config LOGDIRBASE
915 string "Build logs directory basename"
916 default "logs"
[93346ee]917
[e5d44f5]918 config LOGDIR
919 string "Build logs directory"
920 default "$JHALFSDIR/$LOGDIRBASE"
[93346ee]921
[e5d44f5]922 config TESTLOGDIRBASE
923 string "Test suites logs directory basename"
924 default "test-logs"
[4da2512]925
[e5d44f5]926 config TESTLOGDIR
927 string "Test suites logs directory"
928 default "$JHALFSDIR/$TESTLOGDIRBASE"
[93346ee]929
[e5d44f5]930 config FILELOGDIRBASE
931 string "Installed files logs directory basename"
932 default "installed-files"
[93346ee]933
[e5d44f5]934 config FILELOGDIR
935 string "Installed files logs directory"
936 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]937
[e5d44f5]938 config ICALOGDIR
939 string "ICA logs directory"
940 default "$LOGDIR/ICA"
[4da2512]941
[e5d44f5]942 config MKFILE
943 string "Makefile"
944 default "$JHALFSDIR/Makefile"
[4da2512]945
[e5d44f5]946 config XSL
947 string "XSL stylesheet"
948 default "$PROGNAME.xsl"
[4da2512]949
[e5d44f5]950 config PKG_LST
951 string "Package contents list"
952 default "unpacked"
[4da2512]953
[e5d44f5]954 #--- End Internal Settings
955 endmenu
[4da2512]956
[a705708]957#--- End Advanced Features
958endmenu
[7b6ecc5]959
[a16f769]960config REBUILD_MAKEFILE
[06eddf4]961# depends on !BOOK_BLFS
[e5d44f5]962 bool "Rebuild the Makefile (see help)"
963 default n
964 help
965 #-- Rebuild the Makefile
966 #
967 # This option allows to rebuild the Makefile after
968 # customizing the base system build scripts.
969 #
970 # See README.CUSTOM for more info about this feature.
[06eddf4]971 # Note that you should do that after configuring a jhalfs
972 # build, and only if you need changing the build scripts order
973 # or add a new one.
Note: See TracBrowser for help on using the repository browser.