You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the work in #37, we should now be able to do the same operations as in 'invoke_in_container'
No 'override' should be necessary as there is only one location that the rootfs should exist and no running process to refer to.
To enable debugging a container image layer by layer, we will
add a function to invoke command snippets in a chroot environment
assuming the root filesystem has already been laid out
- Separated formatting of the snippets in a separate function
called collate_snippets
- Added new function called invoke_in_rootfs which follows the
same procedure as invoke_in_container except using the rootfs
utilities
- Modified the run_chroot_command in utils/rootfs.py to put
the root_command call in a try-except loop so invoke_in_rootfs
can catch it
Resolvestern-tools#52
Signed-off-by: Nisha K <nishak@vmware.com>
Based on the work in #37, we should now be able to do the same operations as in 'invoke_in_container'
No 'override' should be necessary as there is only one location that the rootfs should exist and no running process to refer to.
Refer to #37 for more info.
The text was updated successfully, but these errors were encountered: