Changeset d7818f5 for README.BLFS


Ignore:
Timestamp:
02/24/2012 03:29:08 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
5e9076f
Parents:
96a30c7
Message:

Updates to README and README.BLFS. First "alpha release"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.BLFS

    r96a30c7 rd7818f5  
    4646
    4747       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
    5558
    5659  3.2  BLFS_TOOL INSTALLATION::
     
    6467    root directory of the new xLFS system, which contains the followings:
    6568
    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
    84107
    85108       From now on, all the work must be done from inside the installation
     
    93116       If you are using the development book version and you want to update
    94117    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.
    96120
    97121       To do that run "make update". It may happen that the subversion
     
    114138
    115139       In the build options section, the dependencies level and default packages
    116     used to solve alternatives are set (currently, only for the mTA). You can
     140    used to solve alternatives are set (currently, only for the MTA). You can
    117141    also select whether the build will be made as a normal user or as root.
    118142    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!
    119147
    120148       When you are done with the menu, a few checks occur, and the book is
     
    129157    You have therefore to choose whether A is built before C, or
    130158    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,
    132160    C is built first. If you answer yes, C is put in place of A as a dependency
    133161    of B, then the tree dependency restarts from there, that is with the
     
    145173    generated while resolving dependencies.
    146174
    147   3.5  EDITING BUILD SCRIPTS
     175  3.5  EDITING BUILD SCRIPTS::
    148176
    149177       Now it is time to review the generated book and scripts, making any
     
    162190    needed by the build scripts.
    163191
    164   3.6  CREATING THE MAKEFILE
     192  3.6  CREATING THE MAKEFILE::
    165193
    166194       When the build scripts are ready to be run, the Makefile can be
     
    181209   package by hand.
    182210
    183    4.1  BLFS BOOTSCRIPTS
     211   4.1  BLFS BOOTSCRIPTS::
    184212
    185213      Normally, bootscript installation should work. On the other hand, the
    186214   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::
    190218
    191219      For those packages that have a "Configuration" section, you should
     
    195223   at some point during the build.
    196224
    197    4.4  GCC, JDK, Sane, and KDE-multimedia, freetype2, MesaLib and others
     225   4.3  GCC, JDK, Sane, and KDE-multimedia, freetype2, MesaLib and others
    198226
    199227        On the pages for those packages, the BLFS book actually has instructions
     
    203231        We will try to fix some of them, but this may not be possible.
    204232
    205    4.5  XORG7
     233   4.4  XORG7
    206234
    207235        The generated scripts for Xorg7 packages have $SRC_ARCHIVE
     
    216244     used. Thus don't reuse previously existing ones.
    217245
    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
    222247
    223248        By default, all required patches will be downloaded from the NET.
     
    229254     required patches. Due to book layout issues, some patches may be missing.
    230255
    231    4.7  ROOT COMMANDS
     256   4.6  ROOT COMMANDS
    232257
    233258        If building as a normal user (the default setting), be sure that all
    234259     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.
    236266
    237267        Due to book layout issues, some sudo commands may be missing.
    238268
    239    4.8  OTHERS
     269   4.7  OTHERS
    240270
    241271        There may be other issues that we are not aware of. If you find
    242272     any, please report it to <alfs-discuss@linuxfromscratch.org>.
    243273
    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.