summaryrefslogtreecommitdiff
path: root/meta/new.sh
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-30 22:44:02 +0100
committerAnton Kling <anton@kling.gg>2023-10-31 00:18:38 +0100
commit34342b53c39aa3f22326b6e4eda960cc20cfa0f0 (patch)
tree01bc4fcbc78623e406bcfa45dd9bd04ebd915663 /meta/new.sh
parent8a9208612eec8ddae4c418485d848ecfa0613699 (diff)
Meta: Create simple build scripts for kernel, userland and general enviroment
Diffstat (limited to 'meta/new.sh')
-rwxr-xr-xmeta/new.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/new.sh b/meta/new.sh
new file mode 100755
index 0000000..deb0774
--- /dev/null
+++ b/meta/new.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# If the filesystem becomes corrupted this shell script is used to
+# completly reset it
+scriptdir="$(dirname "$0")"
+cd "$scriptdir"
+rm ext2.img
+mkfs.ext2 ext2.img 20M
+./sync.sh