Welcome to CRUX bug tracking.
FS#1389 - adds an option to keep work directory only if the build fails
Attached to Project:
CRUX
Opened by Alexandr Savca (chinarulezzz) - Saturday, 04 March 2017, 15:03 GMT
Opened by Alexandr Savca (chinarulezzz) - Saturday, 04 March 2017, 15:03 GMT
|
DetailsI'd like to propose a patch that adds an option to keep work directory only if the build fails:
/etc/pkgmk.conf: PKGMK_KEEP_WORK="failed" In this patch, I've added +# PKGMK_KEEP_WORK="no" to the end of pkgmk.conf because otherwise it conflict with my other pkgutils patches. If you plan to merge, you can move it closer to PKGMK_WORK_DIR. Thanks to Alan Mizrahi, I took it from his 'big' patch. |
This task depends upon

There is an workaround with /etc/pkgmk.conf: https://github.com/therealfun/crux-ports/blob/master/pkgmk.conf/keep_work_if_failed.orig

I can imagine situations where this would be extremely helpful.. +1 from me.