Re: [ALFS Trac] #1746: RFE: Allow skip deleting the build directory in chapter 8 with a configuration entry

"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 20 Feb 2025 13:49:51 -0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
#1746: RFE: Allow skip deleting the build directory in chapter 8 with a
configuration entry
-------------------------+-------------------------
 Reporter:  xry111       |       Owner:  alfs-log@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  jhalfs       |     Version:  GIT
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-------------------------
Comment (by Pierre Labastie):

 Sure, should be easily doable. But as I understand, this would leave
 '''all''' build directories on the system, which represents quite an
 amount of disk space (not sure how much actually). Maybe it would be
 better to keep the build directory only on test failure? (run tests with
 set +e, test $? after running tests, and only if non zero keep the
 directory). Some packages with expected tests failures would be spuriously
 kept anyway.

 Another option could be to stop the build at the first test failure
 allowing to rerun the tests immediately), but then there should be a way
 to inhibit stopping if tests failures are expected...
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1746#comment:2>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page