diff options
Diffstat (limited to 'meta/sync.sh')
-rwxr-xr-x | meta/sync.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/sync.sh b/meta/sync.sh new file mode 100755 index 0000000..036ad18 --- /dev/null +++ b/meta/sync.sh @@ -0,0 +1,10 @@ +#!/bin/sh +scriptdir="$(dirname "$0")" +cd "$scriptdir" + +# Sync the sysroot with the bootable image +mkdir ./mount +sudo mount ext2.img mount +sudo cp -r ../sysroot/* ./mount/ +sudo umount mount +rmdir ./mount |