• Status New
  • Percent Complete
  • Task Type Feature Request
  • Category tools → pkgutils
  • Assigned To
  • Operating System CRUX
  • Severity Low
  • Priority Very Low
  • Reported Version 3.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 5
  • Private
Attached to Project: CRUX
Opened by chinarulezzz - 04.03.2017

FS#1389 - adds an option to keep work directory only if the build fails

I'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.

fun commented on 17.06.2017 17:07

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

tb commented on 18.09.2021 15:42

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


Available keyboard shortcuts


Task Details

Task Editing