Changeset e557f50
- Timestamp:
- 08/20/2006 10:49:45 AM (18 years ago)
- Branches:
- experimental
- Children:
- 78ac273
- Parents:
- 5743d54
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
README.BLFS
r5743d54 re557f50 24 24 25 25 2.1 INSTALLATION:: 26 Run "make" to launch the menuconfig interface. Select the BLFS book 27 and it version. Then set the installation directory (default 26 27 Run "make" to launch the jhalfs menuconfig interface. Select the BLFS 28 book and it version. Then set the installation directory (default 28 29 $HOME/blfs_root) and the BLFS sources directory (default blfs-xml). 29 30 … … 33 34 Installed files: 34 35 35 lib/* functions, xsl, and auto-generates dependencies tree files 36 blfs-xml/* SVN tree of the selected BLFS book version 37 lib/* functions libraries, xsl stylesheets, and auto-generated 38 meta-packages dependencies tree files 39 menu/* lxdialog and menuconfig source code 36 40 README.BLFS this file 37 41 TODO developers notes 38 packages auto-generated file with packages info 39 alternatives.conf configuration files for alternative packages 40 envars.conf envars needed when running the build scripts 41 update_book.sh update the XML book sources and regenerate packages file 42 and GNOME and KDE dependencies tree 43 blfs-parser.sh generates linear BLFS books and build scripts 44 gen-makefile.sh generates Makefile 45 progress_bar.sh the Makefile progress bar 42 update_book.sh update the XML book sources and regenerates packages 43 database and meta-packages dependencies tree 44 gen_config.sh regenerates Config.in 45 blfs-parser.sh solve dependencies and generates linear BLFS books 46 and build scripts 47 gen-makefile.sh generates target Makefile 48 progress_bar.sh the target Makefile progress bar 49 Makefile (not created yet) run gen_config.sh to update Config.in, 50 then launch the menuconfig interface, and lastly run 51 blfs-parser.sh based on configuration settings 52 Config.in menuconfig interface imput file 53 packages auto-generated packages database 54 alternatives.conf (to be removed) configuration file for alternative packages 55 envars.conf envars needed when running the target build scripts 46 56 47 57 From now on, all the work must be done from inside the installation … … 49 59 50 60 2.2 UPDATING BOOK SOURCES:: 51 If using the SVN book version, from time to time you may want to update52 the XML sources. To do that run "./update_book.sh"53 61 54 2.3 PARSING THE BOOK:: 62 If using the development book version, and if you want to update already 63 installed packages to the new version found in that book, you need to update 64 the XML sources and packages database. 65 66 To do that run "./update_book.sh" 67 68 2.3 CONFIGURING AND PARSING THE BOOK:: (to be rewritten when ready menuconfig) 69 55 70 Next step is to create a book and build scripts in dependencies build order 56 71 for a target package. A target package can be any of the ones listed in the … … 76 91 that uses sudo for commands that need root privileges. 77 92 78 There is also two other directories that contains files generated while79 resolving dependencies trees.93 There is also two other directories, dependencies and xincludes, that 94 contains files generated while resolving dependencies trees. 80 95 81 Now is the time to review the generated book and scripts, making in the 82 scripts any changes you want to fit your needs. Scripts for additional 83 packages (i.e., for non-BLFS packages) can be inserted in an easy way. 96 2.4 EDITING BUILD SCRIPTS 84 97 85 2.4 CREATING THE MAKEFILE 98 Now is the time to review the generated book and scripts, making in the 99 scripts any changes required to fix generation bugs or to fit your needs. 100 101 Scripts for additional packages (i.e., for non-BLFS packages) can be 102 inserted in an easy way due how the scripts are named. For example, if you 103 want to install the external dependency "bar" before "foo" package and the 104 "foo" script is named "064-z-foo", you need to create a "064-y-bar" build 105 script. 106 107 Note that the packages tracking system isn't a packages manegament tool 108 and know nothing about packages not in the BLFS book. 109 110 2.5 CREATING THE MAKEFILE 86 111 When the build scripts are ready to be run, the Makefile can be 87 112 created. Be sure that you cd into the "package" directory and run … … 92 117 93 118 94 (Text is needed for the installed packages tracking system and like) 119 (Text is needed about meta-packages, the installed packages tracking system 120 and like) 95 121 96 122 3. GENERATED BUILD SCRIPTS ISSUES:: 97 123 98 124 In this section known issues with the generated build scripts are 99 discussed. They are due build procedures and BLFS layout particularities100 than we can't handle. In s omecases editing the build scripts is mandatory.125 discussed. They are due build procedures and/or BLFS layout particularities 126 than we can't handle. In several cases editing the build scripts is mandatory. 101 127 You may need also to insert some build script created by you to resolve 102 unhandled dependencies and/or to remove some script and install the103 affectedpackage by hand.128 unhandled dependencies and/or to remove some script installing the affected 129 package by hand. 104 130 105 131 3.1 BLFS BOOTSCRIPTS -
blfs
r5743d54 re557f50 112 112 113 113 cp -r BLFS/* $BLFS_ROOT 114 cp -r menu $BLFS_ROOT 114 115 cp $COMMON_DIR/progress_bar.sh $BLFS_ROOT 116 cp README.BLFS $BLFS_ROOT 115 117 116 118 # Start the work
Note:
See TracChangeset
for help on using the changeset viewer.