Changeset d7818f5 for README.BLFS
- Timestamp:
- 02/24/2012 03:29:08 PM (12 years ago)
- Branches:
- ablfs
- Children:
- 5e9076f
- Parents:
- 96a30c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.BLFS
r96a30c7 rd7818f5 46 46 47 47 The tracking system itself is an XML file: instpkg.xml. It is 48 initialized when make is first run in blfs_root. It resides in a directory 49 which is created when needed during the process of building custom tools 50 or blfs tools, after xLFS. You can specify that directory location in 51 the blfs tools submenu of jhalfs. You may need to update permissions 52 and/or ownership of this directory before using the blfs tool. 53 54 The default location of the tracking directory is /var/lib/jhalfs/BLFS 48 initialized when <make> is first run in blfs_root. It resides in a 49 directory, which is created when needed during the process of building 50 custom tools or blfs dependencies, right after xLFS. You can specify 51 that directory location in the blfs-tools submenu of jhalfs. You may 52 need to update permissions and/or ownership of this directory before 53 using the blfs tool (see README in jhalfs). 54 55 The default location of the tracking directory is /var/lib/jhalfs/BLFS. 56 NB : after the initial build, that directory is only used to contain 57 instpkg.xml 55 58 56 59 3.2 BLFS_TOOL INSTALLATION:: … … 64 67 root directory of the new xLFS system, which contains the followings: 65 68 66 blfs-xml/* SVN tree of the selected BLFS book version 67 lib/* functions libraries 68 menu/* lxdialog and menuconfig source code 69 xsl/* XSL stylesheets used at several stages of the process 70 README.BLFS this file 71 TODO developers notes (well, not often updated) 72 gen_pkg_book.sh resolves dependencies and generates linear BLFS books 73 and build scripts 74 gen-makefile.sh generates the target Makefile 75 progress_bar.sh the target Makefile progress bar 76 gen-special.sh Helper script for generating the package database 77 Makefile Used by make to update the package database from the SVN 78 tree, then launch the menuconfig interface, and run 79 gen_pkg_book.sh based on configuration settings 80 packages.xml auto-generated packages database 81 packdesc.dtd a simple DTD describing the format of the package 82 database 83 envars.conf envars needed when running the target build scripts 69 blfs-xml/* SVN tree of the selected BLFS book version 70 lib/constants.inc functions libraries 71 /func_dependencies for building the dependency tree 72 menu/* lxdialog and menuconfig source code 73 xsl/gen_pkg_list.xsl XSL stylesheet to generate the package database 74 /gen_config.xsl XSL stylesheet to generate the Config.in file 75 for use in the menuconfig system 76 /dependencies.xsl XSL stylesheet to generate the dependency list 77 of a package 78 /make_book.xsl XSL stylesheet to generate the linear book.xml 79 /scripts.xsl XSL stylesheet to generate the scriptlets from 80 book.xml 81 /bump.xsl XSL stylesheet to generate to update the tracking 82 file 83 README.BLFS this file 84 TODO developers notes (well, not updated often) 85 gen_pkg_book.sh resolves dependencies and generates linear BLFS 86 books and build scripts 87 gen-makefile.sh generates the target Makefile 88 progress_bar.sh the target Makefile progress bar 89 gen-special.sh Helper script for generating the package database 90 Makefile Used by make to update the package database from 91 the SVN tree, then launch the menuconfig interface, 92 and run gen_pkg_book.sh based on configuration 93 settings 94 packdesc.dtd a simple DTD describing the format of the package 95 database and the tracking file. 96 envars.conf envars needed when running the target build scripts 97 98 Several files are generated during the process: 99 100 packages.xml auto-generated packages database 101 Config.in input file for the menu driven choices 102 configuration file generated by the menuconfig process 103 dependencies/* files recording the dependency tree 104 book.xml the linearized book 105 book-html/* the linearized book rendered in html 106 scripts/* the scriptlets 84 107 85 108 From now on, all the work must be done from inside the installation … … 93 116 If you are using the development book version and you want to update 94 117 installed packages to the latest version found in that book, you need to 95 update the XML sources and packages database. 118 update the XML sources and packages database. This is not necessary if 119 you just built xLFS, and you can skip to step 3.4. 96 120 97 121 To do that run "make update". It may happen that the subversion … … 114 138 115 139 In the build options section, the dependencies level and default packages 116 used to solve alternatives are set (currently, only for the mTA). You can140 used to solve alternatives are set (currently, only for the MTA). You can 117 141 also select whether the build will be made as a normal user or as root. 118 142 Those settings are saved to be reused in future configuration runs. 143 144 Note that you may select as many targets as you want, not just one 145 as in the previous version of this tool. But we suggest to not select 146 too many at a time to be able to sort issues! 119 147 120 148 When you are done with the menu, a few checks occur, and the book is … … 129 157 You have therefore to choose whether A is built before C, or 130 158 C before A: the system cannot make that choice (well, maybe in a few 131 year, with an AI system able to understand the book). if you answer no,159 year, with an AI system able to understand the book). If you answer no, 132 160 C is built first. If you answer yes, C is put in place of A as a dependency 133 161 of B, then the tree dependency restarts from there, that is with the … … 145 173 generated while resolving dependencies. 146 174 147 3.5 EDITING BUILD SCRIPTS 175 3.5 EDITING BUILD SCRIPTS:: 148 176 149 177 Now it is time to review the generated book and scripts, making any … … 162 190 needed by the build scripts. 163 191 164 3.6 CREATING THE MAKEFILE 192 3.6 CREATING THE MAKEFILE:: 165 193 166 194 When the build scripts are ready to be run, the Makefile can be … … 181 209 package by hand. 182 210 183 4.1 BLFS BOOTSCRIPTS 211 4.1 BLFS BOOTSCRIPTS:: 184 212 185 213 Normally, bootscript installation should work. On the other hand, the 186 214 book does not give instruction for running them, so you might have to 187 manually insert /etc/init.d/ <initscript> at some place during the build.188 189 4.2 PACKAGE CONFIGURATION 215 manually insert /etc/init.d/rd.d/<initscript> at some place during the build. 216 217 4.2 PACKAGE CONFIGURATION:: 190 218 191 219 For those packages that have a "Configuration" section, you should … … 195 223 at some point during the build. 196 224 197 4. 4GCC, JDK, Sane, and KDE-multimedia, freetype2, MesaLib and others225 4.3 GCC, JDK, Sane, and KDE-multimedia, freetype2, MesaLib and others 198 226 199 227 On the pages for those packages, the BLFS book actually has instructions … … 203 231 We will try to fix some of them, but this may not be possible. 204 232 205 4. 5XORG7233 4.4 XORG7 206 234 207 235 The generated scripts for Xorg7 packages have $SRC_ARCHIVE … … 216 244 used. Thus don't reuse previously existing ones. 217 245 218 In the script for xorg7-font, be sure to move the fonts directories 219 symlinks creation to after the "for ... done" loop. 220 221 4.6 PATCHES 246 4.5 PATCHES 222 247 223 248 By default, all required patches will be downloaded from the NET. … … 229 254 required patches. Due to book layout issues, some patches may be missing. 230 255 231 4. 7ROOT COMMANDS256 4.6 ROOT COMMANDS 232 257 233 258 If building as a normal user (the default setting), be sure that all 234 259 commands that require root privileges are run using sudo. Also make sure 235 necessary root privilege commands are visible in your PATH. 260 necessary root privilege commands are visible in your PATH. Or use 261 the `Defaults secure_path=' in /etc/sudoers. Also, the scripts use a 262 fragile construct: 263 sudo bash -c '<commands to be executed as root>' 264 which fail if the commands to be executed contain themselves a ' or access 265 a bash variable $XXX. So carefully review them. 236 266 237 267 Due to book layout issues, some sudo commands may be missing. 238 268 239 4. 8OTHERS269 4.7 OTHERS 240 270 241 271 There may be other issues that we are not aware of. If you find 242 272 any, please report it to <alfs-discuss@linuxfromscratch.org>. 243 273 244 274 Presently, there is an error in the book in file 275 x/installing/x7proto.xml. You should change the role='required' to 276 role='optional' in the optional dependencies, if you plan to build 277 X.
Note:
See TracChangeset
for help on using the changeset viewer.