diff options
Diffstat (limited to 'CopyToFDD.sh')
-rwxr-xr-x | CopyToFDD.sh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/CopyToFDD.sh b/CopyToFDD.sh index 7b8459a..936be0a 100755 --- a/CopyToFDD.sh +++ b/CopyToFDD.sh @@ -5,8 +5,15 @@ # Update GRUB's menu.cfg cp Grub-menu-fdd.cfg Mount/boot/menu.cfg +# Cleanup old stuff +cd Mount +for a in `ls`; do + if [ $a != boot ]; then rm -rf $a; fi +done +cd .. + # Create directories -mkdir Mount/{System,Applications,Volumes} +mkdir Mount/{System,Applications,Volumes,Sandbox} mkdir Mount/Applications/{Shell,Demos} mkdir Mount/System/{Applications,Logs,Configuration} mkdir Mount/Volumes/{HDD,InitRFS} @@ -17,11 +24,14 @@ cp Init.rfs Mount/System # Copy system files cp Source/Kernel/Ressources/Configuration/* Mount/System/Configuration + +# Copy system apps cp Source/Applications/PaperWork/PaperWork Mount/System/Applications/PaperWork.app cp Source/Applications/Shell/Shell Mount/Applications/Shell/Shell.app +cp Source/Applications/Shell/Help.txt Mount/Applications/Shell/Help.txt # Create mount configuration file -echo "/Volumes/InitRFS:ramfs:0" > Mount/System/Configuration/Mount +echo "/Sandbox:ramfs:0" > Mount/System/Configuration/Mount echo "/Volumes/HDD:block.ata:0:1" >> Mount/System/Configuration/Mount # Copy demo apps |