From 34342b53c39aa3f22326b6e4eda960cc20cfa0f0 Mon Sep 17 00:00:00 2001 From: Anton Kling <anton@kling.gg> Date: Mon, 30 Oct 2023 22:44:02 +0100 Subject: Meta: Create simple build scripts for kernel, userland and general enviroment --- meta/sync.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 meta/sync.sh (limited to 'meta/sync.sh') 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 -- cgit v1.2.3