nfvbenchvm: add 2 debug features to build-image.sh 34/73234/1
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>
Mon, 13 Dec 2021 13:33:07 +0000 (14:33 +0100)
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>
Tue, 1 Mar 2022 10:29:36 +0000 (11:29 +0100)
commitebf68732e277ab06175df8a0fcde46dc7a730321
tree389488ec55040d3fbd1ca1d65f110370aee7017f
parentce062d315394b813ce79849c6595d198351c2cec
nfvbenchvm: add 2 debug features to build-image.sh

- The new option -t (enable debug traces) allows to show in the build
  log the commands run in the shell scripts, including the commands
  defined in the disk image builder elements.

- The new option -d (debug) instructs disk-image-create to drop the
  developer in a shell inside the chroot in case an error occurs.  This
  makes troubleshooting of the image possible (inspect files, run
  commands, ...)

Change-Id: I5f76e7dec64fc4c86b1515f6b81a16e11e03eadf
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
nfvbenchvm/dib/build-image.sh
nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation
nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/52-change-resolution
nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/53-boot-from-new-kernel
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/01-update-kernel
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-pip-package
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/04-add-execute-attribute
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/52-nfvbench-script
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/53-sshd-script
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/99-cleanup