Implementation of dependency checking 1
Generate a switch for configuration
This commit is contained in:
parent
3fa4147515
commit
0a1943912e
1 changed files with 27 additions and 6 deletions
|
@ -104,6 +104,27 @@ menu "Build settings"
|
||||||
set this option to y. Due to the book layout, several scripts
|
set this option to y. Due to the book layout, several scripts
|
||||||
are not functional in this case. Please review them.
|
are not functional in this case. Please review them.
|
||||||
|
|
||||||
|
config DEP_CHECK
|
||||||
|
bool "Check dependencies of the requested package(s)"
|
||||||
|
default n
|
||||||
|
depends on WRAP_INSTALL
|
||||||
|
help
|
||||||
|
Setting this option does not work if more than one package
|
||||||
|
is selected. It will do the following:
|
||||||
|
- Build the dependency tree and generate a build ordered list
|
||||||
|
disregarding already installed packages
|
||||||
|
- Generate the scripts for the dependencies not already
|
||||||
|
installed (as usual)
|
||||||
|
- Generate a stript that:
|
||||||
|
+ removes all unneeded packages using porg
|
||||||
|
(at this point the blfs_tools cannot be used anymore,
|
||||||
|
and your system may be non functional, so use a console
|
||||||
|
for that, not a graphical environment)
|
||||||
|
+ installs the package
|
||||||
|
+ restores all the previously removed packages
|
||||||
|
Note that this script may not be the last one, if there are runtime
|
||||||
|
dependencies
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Build Layout"
|
menu "Build Layout"
|
||||||
|
|
Reference in a new issue