Organized and added few more installation help scripts
authorPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 21:12:07 +0000 (23:12 +0200)
committerPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 21:12:07 +0000 (23:12 +0200)
12 files changed:
Developer.html [new file with mode: 0644]
configure
deploy.sh [deleted file]
index.html
install_help/configure_BKO.sh [moved from configure_BKO.sh with 92% similarity]
install_help/deploy.sh [new file with mode: 0755]
install_help/deploy_BKO.sh [moved from deploy_BKO.sh with 85% similarity]
install_help/deploy_gpxe.sh [moved from deploy_gpxe.sh with 90% similarity]
install_help/download_ISO.sh
install_help/download_initramfs_images_http.sh [new file with mode: 0755]
install_help/upload_initramfs_images.sh [moved from support_scripts/upload_initramfs_images.sh with 100% similarity]
pxeknife/dsl/generate_minirt24.sh

diff --git a/Developer.html b/Developer.html
new file mode 100644 (file)
index 0000000..a198fac
--- /dev/null
@@ -0,0 +1,60 @@
+<html>
+  <head>
+  <link rel="stylesheet" type="text/css" href="BKOStylesteet.css" />
+    <title>boot.kernel.org(BKO)</title>
+  </head>
+  <body>
+    <div id="logo">
+    <table border="0" width="100%" cellpadding="0" cellspacing="0">
+    <tr>
+      <td valign="middle" align="center">
+        <img src="boot.png" width="367" height="261">
+      </td>
+      <td valign="middle" align="left">
+        <span id="logotext">
+        <p>
+        boot.kernel.org(BKO) : Booting your machine over HTTP
+        </p>
+        </span>
+      </td>
+    </tr>
+    </table>
+    </div>
+    <div id="menubox">
+
+      <span id="menulink">
+        <a href="index.html">Home</a>
+      </span>
+      <span id="menulink">
+        <a href="index.html#download">Downloads</a>
+      </span>
+      <span id="menulink">
+        <a href="index.html#screenshots">Screenshots</a>
+      </span>
+      <span id="menulink">
+        <a href="index.html#howtouse">How to Use</a>
+      </span>
+      <span id="menuact">
+        Developer
+      </span>
+      <span id="menulink">
+        <a href="faq.html">FAQ</a>      
+      </span>
+      <span id="menulink">
+      <a href="Troubleshooting.html">Troubleshooting</a>
+      </span>
+      <span id="menulink">
+        <a href="index.html#contactus">Contact US</a>
+      </span>
+    </div>
+
+    <center><h1>Developer's cornor</h1></center>
+<div>
+<h2>How to replicate the BKO setup on your machine?</h2>
+
+</div>
+
+<hr/>
+</body>
+</html>
index e40646a..0938438 100755 (executable)
--- a/configure
+++ b/configure
@@ -25,6 +25,11 @@ ISO_LOCATION_US="http:\/\/140.211.167.171\/share\/pravin\/ISO\/"
 
 # Location of HTTP mirrors in Europe
 ISO_LOCATION_EU="http:\/\/192.168.111.11\/"
+
+# Location from where initramfs files will be downloaded 
+# (ie. in case you dont compile on your machine )
+REMOTE_INITRAMFS_DOWNLOAD_LOCATION=http://rom.etherboot.org/share/pravin/BKO/
+
 ################# END CUSTOMIZATION #################
 #######################################################################
 
diff --git a/deploy.sh b/deploy.sh
deleted file mode 100755 (executable)
index 101634b..0000000
--- a/deploy.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-set -e
-./deploy_gpxe.sh
-./configure_BKO.sh
-./deploy_BKO.sh
-
index 4c1170e..b899ae5 100755 (executable)
@@ -33,7 +33,7 @@
         <a href="index.html#howtouse">How to Use</a>
       </span>
       <span id="menulink">
-        Developer
+                <a href="Developer.html">Developer</a>      
       </span>
       <span id="menulink">
         <a href="faq.html">FAQ</a>      
similarity index 92%
rename from configure_BKO.sh
rename to install_help/configure_BKO.sh
index 5662c9b..3783a59 100755 (executable)
@@ -1,7 +1,12 @@
 #!/bin/bash
 set -e
 
-source ./configure
+# pick the configuration information
+source ../configure
+
+# all scripts are in install_help folder
+cd ..
+
 
 remove_temp () {
     rm -f list_bko_tmpl_files list_conf_files tempcopy
diff --git a/install_help/deploy.sh b/install_help/deploy.sh
new file mode 100755 (executable)
index 0000000..436822f
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+set -e
+
+# pick the configuration information
+source ../configure
+
+# all scripts are in install_help folder
+
+./deploy_gpxe.sh
+
+./configure_BKO.sh
+
+# Creating initramfs images needs root password,
+# if you have root access and trust the following script then use it
+# otherwise use "download_initramfs_images_http.sh" script 
+# for downloading pre-compiled initramfs images
+#./deploy_BKO.sh # it will ask for root password for creating initramfs images
+./download_initramfs_images_http.sh
similarity index 85%
rename from deploy_BKO.sh
rename to install_help/deploy_BKO.sh
index 32da6dd..123e9a1 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/bash
 set -e
 
+# pick the configuration information
+source ../configure
+
+# all scripts are in install_help folder
+cd ..
+
 cd pxeknife
 echo "Creating customized initrd image for DSL .."
 cd dsl/
similarity index 90%
rename from deploy_gpxe.sh
rename to install_help/deploy_gpxe.sh
index 8a87279..13ebb4c 100755 (executable)
@@ -1,6 +1,11 @@
 #!/bin/bash
 set -e
-source ./configure
+source ../configure
+
+
+# all scripts are in install_help folder
+cd ..
+
 gpxePATH=$GPXE_GIT_LOCATION
 BOOT_PATH=$BOOT_URL
 BKOPATH=`pwd`
index a668227..7c0ba56 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-
+cd ../..
 mkdir ISO
 cd ISO
 
diff --git a/install_help/download_initramfs_images_http.sh b/install_help/download_initramfs_images_http.sh
new file mode 100755 (executable)
index 0000000..9210918
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/bash
+set -e
+
+# pick the configuration information
+source ../configure
+
+# all scripts are in install folder
+cd ..
+
+REMOTE_BKO_LOCATION=$REMOTE_INITRAMFS_DOWNLOAD_LOCATION
+LOCAL_BKO_LOCATION=`pwd`
+
+
+echo "downloading dsl initramfs"
+FILE_TO_COPY=/pxeknife/dsl/minirt24.gz
+rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+
+echo "downloading knoppix initramfs"
+FILE_TO_COPY=/pxeknife/knoppix/5.0.1/minirt.gz
+rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+
+echo "downloading fedora initramfs"
+FILE_TO_COPY=/pxeknife/red_hat/fedora_11_live_cd/initrd0.img 
+rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+
+echo "downloading debian initramfs"
+FILE_TO_COPY=/pxeknife/debian/debian-live-501-i386/initrd1.img
+rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+
+echo "downloading ubuntu initramfs"
+FILE_TO_COPY=/pxeknife/ubuntu/ubuntu-9.04-desktop-i386/initrd.gz
+rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
+
index 3102b8b..259104a 100755 (executable)
@@ -62,6 +62,7 @@ sudo rmdir mpoint
 
 echo "Compressing the filesystem"
 gzip -9 minirt24
+chmod +x minirt24.gz
 
 echo "Done, you can use minirt24.gz"