I don't know if it's a good idea but...
tce-rec PKG_NAME :log current directory
run a keylogger
show
! tce-rec PKG_NAME in red on top right console corner
mount an overlayfs /tmp/tce-rec/PKG_NAME on /
tce-rec --suspend :suspend keylogger
show
! suspended tce-rec PKG_NAME in gray on top right console corner
umount the overlayfs
tce-rec [--restore] :log current directory again
restore keylogger
show
! tce-rec PKG_NAME in red on top right console corner again
remount overlayfs /tmp/tce-rec/PKG_NAME on /
tce-rec --done :show a first dialog multichoices (all selected) to filter keylogger lines to keep
show a second dialog multichoices (all selected) to filter new added files to keep
show a last dialog to optionaly add other files
detect presence of new "lib/module/kernel" files in order to output a "PKG_NAME-KERNEL_SPECIFIC.tcz" file
generate the tcz file
then, umount the overlayfs, stop keylogger, and ask to pull request log + tcz created files (with optionnal comment).
remove top right console corner message.tce-rec --cancel :remove top right console corner message.umount the overlayfs, stop keylogger, and ask to send log file in a ticket (with optionnal comment).
If yes :
show a first dialog multichoices (all selected) to filter keylogger lines to keep
show a second dialog multichoices (all selected) to filter new added files to keep
Tips : The log file file could help someone else to reproduce easily the operations in other architectures, or in other TCE version...
Do you like it?
PS : + think about dependencies...