Skip to content

Commit 32a7a43

Browse files
committed
Add small utility to mount images to poke around them
1 parent 83ecdcf commit 32a7a43

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/chroot_in_to_image.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
3+
source "${DIR}"/common.sh
4+
pushd /distro/workspace
5+
mount_image *.img 2 ./mount
6+
pushd mount
7+
chroot .
8+
popd
9+
popd

0 commit comments

Comments
 (0)