- 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
r96a30c7 rd7818f5 78 78 6. BLFS_TOOL SUPPORT:: 79 79 80 For books that support it, there is an option to install blfs-tool and its 81 dependencies on the final system. The pre-made build dependencies 80 For books that support it (TODO: which ones?), there is an option 81 to install an automated framework for building BLFS packages. Let 82 us call it blfs-tool for now. When you tick `BOOK Settings/Add 83 blfs-tool support' in jhalfs configuration menu, the tools are 84 installed in $BLFS_ROOT (default /blfs_root) on the xLFS system, 85 and a few dependencies (which you may select) are built at the 86 end of the jhalfs run. The pre-made build dependencies 82 87 scripts has been written based on a LFS build. For CLFS and HLFS 83 builds you may need to adjust th atscripts, that are found into the88 builds you may need to adjust those scripts, that are found into the 84 89 common/blfs-tool-deps directory in the jhalfs sources tree. 85 90 91 (TODO: is this relevant to present CLFS?) 86 92 WARNING:: If you add blfs-tool support on a CLFS Sysroot build 87 you MUST to edit the dependencies scripts to fix the 88 installation paths. 89 Be careful when you modify the scripts as you can 90 easily disable the host system. 93 you MUST edit the scripts to fix the installation paths. 91 94 92 95 After booting the new xLFS system some steps are needed to finish 93 blfs-tool installation:96 the installation of the automated tools: 94 97 95 98 - A user account must be created. You must be logged on that user 96 account to use blfs-tool. 99 account to use blfs-tool. This is not strictly necessary, 100 since the packages can be built as root, too, but it is 101 never a good idea to build packages as root. 97 102 98 103 - Move /blfs-root to that user's home and change ownership of the … … 105 110 remove the libxml2 and libxslt trackin files found in $TRACKING_DIR. 106 111 107 - Configure sudo, adding the needed privileges for the user. 112 - Configure sudo, adding the needed privileges for the user. For 113 newer sudo version, do not forget to add a line Defaults secure_path= 114 containing /sbin and /usr/sbin (in /etc/sudoers), otherwise some 115 executables are not found. 116 117 - Although it is not strictly necessary, it is recommended to install 118 the bash shell startup files (as per `3.After LFS Configuration 119 Issues' of the BLFS book), as some instructions in BLFS rely on 120 their being present. 108 121 109 122 We assume that blfs-tool will be used on a running fresh xLFS system. 110 123 To use it to build BLFS packages from the chroot jail is also possible, 111 but is for you to figure out how to do that.112 113 To know how to blfs-tool works, see README.BLFS.124 but not supported. 125 126 To know how to use blfs-tool, see README.BLFS. 114 127 115 128 7. LAYOUT::
Note:
See TracChangeset
for help on using the changeset viewer.