summaryrefslogtreecommitdiff
path: root/CopyToHDD.sh
diff options
context:
space:
mode:
Diffstat (limited to 'CopyToHDD.sh')
-rwxr-xr-xCopyToHDD.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/CopyToHDD.sh b/CopyToHDD.sh
index eb6f82c..d901b1b 100755
--- a/CopyToHDD.sh
+++ b/CopyToHDD.sh
@@ -6,10 +6,10 @@
cp Grub-menu-hdd.cfg Mount/grub/menu.lst
# Create directories
-mkdir Mount/System
+mkdir Mount/{System,Applications,Volumes}
mkdir Mount/System/{Applications,Configuration,Logs,Keymaps}
-mkdir Mount/Applications
mkdir Mount/Applications/{Demos,Shell}
+mkdir Mount/Volumes/{Floppy,InitRFS}
# Copy welcome text
cp Source/Kernel/Ressources/Texts/Welcome.txt Mount
@@ -25,6 +25,10 @@ cp Source/Applications/PaperWork/PaperWork Mount/System/Applications/PaperWork.a
cp Source/Applications/Shell/Shell Mount/Applications/Shell/Shell.app
cp Source/Applications/Shell/Help.txt Mount/Applications/Shell
+# Create mount configuration file
+echo "/Volumes/InitRFS:ramfs:0" > Mount/System/Configuration/Mount
+echo "/Volumes/Floppy:block.floppy:0:0" >> Mount/System/Configuration/Mount
+
# Copy demo apps
cp Source/Applications/Demos/GOL Mount/Applications/Demos/GOL.app
cp Source/Applications/Demos/asmdemo Mount/Applications/Demos/ASMDemo.app