summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames <james.mckenzie@citrix.com>2012-11-17 12:18:57 +0000
committerJames <james.mckenzie@citrix.com>2012-11-17 12:18:57 +0000
commitc65e0797f968ca6e3b4609055afc3f70e3683e54 (patch)
tree16b81ade3bfd84ca581c6dd510ca137f756f8aaa
parent030dd279f89d49ef151ea521c43a248d25be22af (diff)
downloadefi-grub2-bis-c65e0797f968ca6e3b4609055afc3f70e3683e54.tar.gz
efi-grub2-bis-c65e0797f968ca6e3b4609055afc3f70e3683e54.tar.bz2
efi-grub2-bis-c65e0797f968ca6e3b4609055afc3f70e3683e54.zip
fish
-rwxr-xr-xinstall_to_artemis15
-rwxr-xr-xinstall_to_cvs10
2 files changed, 10 insertions, 15 deletions
diff --git a/install_to_artemis b/install_to_artemis
index 18c22fa..0927b91 100755
--- a/install_to_artemis
+++ b/install_to_artemis
@@ -2,16 +2,13 @@
H=artemis.panaceas.org
-D=root@$H:/tftpboot/macmini/intel64/x86_64/
-S=build_x86_64
+D=/tftpboot/macmini/intel64/x86_64/
+S=dest/x86_64
-scp -C $S/grub.efi $D/
-scp -C $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub
+tar cfC - ${S} . | ssh $D "tar xfpBC - $D"
-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
+D=/tftpboot/macmini/intel64/ia32/
+S=dest/i386
+tar cfC - ${S} . | ssh $D "tar xfpBC - $D"
diff --git a/install_to_cvs b/install_to_cvs
index a4dc978..2480815 100755
--- a/install_to_cvs
+++ b/install_to_cvs
@@ -19,16 +19,14 @@ if [ ! -d $P/$R ]; then
fi
D=$P/$R/intel64/x86_64
-S=build_x86_64
+S=dest/x86_64
-cp $S/grub.efi $D/
-cp $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub
+tar cfC - $S . | tar xfpBC - $D
D=$P/$R/intel64/ia32
-S=build_i386
+S=dest/i386
-cp $S/grub.efi $D/
-cp $S/*.mod $S/fs.lst $S/command.lst $S/handler.lst $D/grub
+tar cfC - $S . | tar xfpBC - $D
for i in $P/$R/intel64/ia32 $P/$R/intel64/x86_64; do
(cd $i && cvs add -kb grub.efi grub/*.lst grub/*.mod )