[jhalfs] 01/02: Dependencies: keep the original graph
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 27 Nov 2025 18:27:53 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 4c782e6bd12f60be3fa182ef1001a273cbf63e48 Author: Pierre Labastie <[email protected]> AuthorDate: Thu Nov 27 19:19:14 2025 +0100 Dependencies: keep the original graph After generating the graph, copy the .dep files to .orig. This implies using *.dep instead of just * (that would include .orig files) in some statements. Keeping the original graph makes it easier to debug why a dependency was included... --- BLFS/libs/func_dependencies | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BLFS/libs/func_dependencies b/BLFS/libs/func_dependencies index 673d9f8..a945cee 100644 --- a/BLFS/libs/func_dependencies +++ b/BLFS/libs/func_dependencies @@ -354,6 +354,7 @@ local start local seen for node in $(ls *.dep); do + cp $node ${node%.dep}.orig if test $node = root.dep; then continue; fi echo Cleaning $node lines_to_remove= @@ -374,7 +375,7 @@ for node in $(grep -l ' a ' *.dep); do echo Process "runtime" deps in $node if ! [ -e ${node%.dep}groupxx.dep ]; then b=0 # Nothing depends on <node>groupxx - for parent in $(grep -l ${node%.dep}\$ *); do + for parent in $(grep -l ${node%.dep}\$ *.dep); do p=0 # No "after" dependency depends on this parent for start in $(grep ' a ' $node | cut -d' ' -f3); do seen=" " # global variable used in "path_to" @@ -402,7 +403,7 @@ for node in $(grep -l ' a ' *.dep); do sed "/a\ $id_of_dep\$/d" -i $node done done -for node in $(grep -l ' f ' *); do +for node in $(grep -l ' f ' *.dep); do echo Process "first" deps in $node lines_to_change= { -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page