summaryrefslogtreecommitdiff
path: root/CopyToFDD.sh
diff options
context:
space:
mode:
Diffstat (limited to 'CopyToFDD.sh')
-rwxr-xr-xCopyToFDD.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/CopyToFDD.sh b/CopyToFDD.sh
index 5d6a28e..f5d93d6 100755
--- a/CopyToFDD.sh
+++ b/CopyToFDD.sh
@@ -6,13 +6,19 @@
cp Grub-menu-fdd.cfg Mount/boot/menu.cfg
# Create directories
-mkdir Mount/{System,Apps,Mount}
+mkdir Mount/{System,Applications,Volumes}
+mkdir Mount/Applications/Shell
mkdir Mount/System/{Applications,Logs,Configuration}
+mkdir Mount/Volumes/{HDD,InitRFS}
# Copy system files
cp Source/Kernel/Ressources/Configuration/* Mount/System/Configuration
cp Source/Applications/PaperWork/PaperWork Mount/System/Applications/PaperWork.app
-cp Source/Applications/Shell/Shell Mount/Apps/Shell.app
+cp Source/Applications/Shell/Shell Mount/Applications/Shell/Shell.app
+
+# Create mount configuration file
+echo "/Volumes/InitRFS:ramfs:0" > Mount/System/Configuration/Mount
+echo "/Volumes/HDD:block.ata:0:1" >> Mount/System/Configuration/Mount
# Copy demo apps
cp Source/Applications/Demos/GOL Mount/Apps/GOL.app