diff options
-rwxr-xr-x | install_to_artemis | 17 | ||||
-rwxr-xr-x | install_to_cvs | 36 |
2 files changed, 53 insertions, 0 deletions
diff --git a/install_to_artemis b/install_to_artemis new file mode 100755 index 0000000..18c22fa --- /dev/null +++ b/install_to_artemis @@ -0,0 +1,17 @@ +#!/bin/sh + +H=artemis.panaceas.org + +D=root@$H:/tftpboot/macmini/intel64/x86_64/ +S=build_x86_64 + +scp -C $S/grub.efi $D/ +scp -C $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub + + +D=$H:/tftpboot/macmini/intel64/ia32/ +S=build_i386 + +scp $S/grub.efi $D/ +scp $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub + diff --git a/install_to_cvs b/install_to_cvs new file mode 100755 index 0000000..a4dc978 --- /dev/null +++ b/install_to_cvs @@ -0,0 +1,36 @@ +#!/bin/sh + + +set -x + +D=staffcvs@sphinx:/home/cvs +R=tftpboot/macmini + +P=cvs + +if [ -d $P/$R ]; then + rm -rf $P/$R +fi + +if [ ! -d $P/$R ]; then + mkdir -p $P/$R + rmdir $P/$R + (cd $P && cvs -d $D co $R) +fi + +D=$P/$R/intel64/x86_64 +S=build_x86_64 + +cp $S/grub.efi $D/ +cp $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub + +D=$P/$R/intel64/ia32 +S=build_i386 + +cp $S/grub.efi $D/ +cp $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub + +for i in $P/$R/intel64/ia32 $P/$R/intel64/x86_64; do +(cd $i && cvs add -kb grub.efi grub/*.lst grub/*.mod ) +done +(cd $P/$R && cvs commit -m "") |