summaryrefslogtreecommitdiff
path: root/meta/sync.sh
blob: 036ad18f1b47280b10050bd64ed113d356201c7e (plain)
1
2
3
4
5
6
7
8
9
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