Added the script which will create the minirt24.gz for dsl
authorPravin Shinde <pravin@black-perl.(none)>
Mon, 15 Jun 2009 22:17:59 +0000 (00:17 +0200)
committerPravin Shinde <pravin@black-perl.(none)>
Mon, 15 Jun 2009 22:17:59 +0000 (00:17 +0200)
also added all the files which were needed to support it.

34 files changed:
pxeknife/dsl/README.txt [new file with mode: 0644]
pxeknife/dsl/busybox [new file with mode: 0755]
pxeknife/dsl/ [new file with mode: 0755]
pxeknife/dsl/httpfs/server/fusermount [new file with mode: 0755]
pxeknife/dsl/httpfs/server/httpfs [new file with mode: 0755]
pxeknife/dsl/httpfs/static/chmod [new file with mode: 0755]
pxeknife/dsl/httpfs/static/cp [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ifconfig [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ln [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ls [new file with mode: 0755]
pxeknife/dsl/httpfs/static/mkdir [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ping [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ps [new file with mode: 0755]
pxeknife/dsl/httpfs/static/reboot [new file with mode: 0755]
pxeknife/dsl/httpfs/static/rm [new file with mode: 0755]
pxeknife/dsl/httpfs/static/udhcpc [new file with mode: 0755]
pxeknife/dsl/httpfs/static/ [new file with mode: 0755]
pxeknife/dsl/httpfs/static/wget [new file with mode: 0755]
pxeknife/dsl/linux24 [new file with mode: 0644]
pxeknife/dsl/minirt24.gz_orig [new file with mode: 0644]
pxeknife/dsl/modules/8139too.o [new file with mode: 0644]
pxeknife/dsl/modules/8390.o [new file with mode: 0644]
pxeknife/dsl/modules/af_packet.o [new file with mode: 0644]
pxeknife/dsl/modules/cloop.o [new file with mode: 0755]
pxeknife/dsl/modules/crc32.o [new file with mode: 0644]
pxeknife/dsl/modules/e100.o [new file with mode: 0644]
pxeknife/dsl/modules/e1000.o [new file with mode: 0644]
pxeknife/dsl/modules/fuse.o [new file with mode: 0644]
pxeknife/dsl/modules/mii.o [new file with mode: 0644]
pxeknife/dsl/modules/ne2k-pci.o [new file with mode: 0644]
pxeknife/dsl/modules/pcnet32.o [new file with mode: 0644]
pxeknife/dsl/modules/r8169.o [new file with mode: 0644]
pxeknife/dsl/modules/sis900.o [new file with mode: 0644]
pxeknife/dsl/modules/via-rhine.o [new file with mode: 0644]

diff --git a/pxeknife/dsl/README.txt b/pxeknife/dsl/README.txt
new file mode 100644 (file)
index 0000000..ae37b7e
--- /dev/null
@@ -0,0 +1,3 @@
+You need to execute "" for generating
+This script takes the vanila minirt24.sh_orig and does all needed changes,
+which are needed to make it able of booting over HTTP.
diff --git a/pxeknife/dsl/busybox b/pxeknife/dsl/busybox
new file mode 100755 (executable)
index 0000000..345e1c4
Binary files /dev/null and b/pxeknife/dsl/busybox differ
diff --git a/pxeknife/dsl/ b/pxeknife/dsl/
new file mode 100755 (executable)
index 0000000..416c1e3
--- /dev/null
@@ -0,0 +1,42 @@
+#cleanup the old mess
+echo "Removing the old files"
+rm -rf minitrt24.gz minirt24 mpoint
+# create a copy of image to modify
+cp minirt24.gz_orig minirt24.gz
+gunzip minirt24.gz
+echo "Mounting the filesystem"
+mkdir mpoint
+mount minirt24 -o loop mpoint/
+echo "coping the needed files..."
+cp modules/* mpoint/modules/
+cp httpfs/static/* mpoint/static/
+cp httpfs/server/httpfs mpoint/static/
+cp httpfs/server/fusermount mpoint/static/
+cp linuxrc mpoint/
+chmod 0777 mpoint/linuxrc 
+echo "creating environment, creating links..."
+cd mpoint/static
+chmod 0777 *
+ln -s reboot halt
+ln -s reboot poweroff
+ln -s ifconfig route
+cd ..
+cd ..
+echo "un-mounting the filesystem"
+umount mpoint
+rmdir mpoint
+echo "Compressing the filesystem"
+gzip -9 minirt24
+echo "Done, you can use minirt24.gz"
diff --git a/pxeknife/dsl/httpfs/server/fusermount b/pxeknife/dsl/httpfs/server/fusermount
new file mode 100755 (executable)
index 0000000..c37325c
Binary files /dev/null and b/pxeknife/dsl/httpfs/server/fusermount differ
diff --git a/pxeknife/dsl/httpfs/server/httpfs b/pxeknife/dsl/httpfs/server/httpfs
new file mode 100755 (executable)
index 0000000..df1b078
Binary files /dev/null and b/pxeknife/dsl/httpfs/server/httpfs differ
diff --git a/pxeknife/dsl/httpfs/static/chmod b/pxeknife/dsl/httpfs/static/chmod
new file mode 100755 (executable)
index 0000000..b04de73
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/chmod differ
diff --git a/pxeknife/dsl/httpfs/static/cp b/pxeknife/dsl/httpfs/static/cp
new file mode 100755 (executable)
index 0000000..5140cd1
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/cp differ
diff --git a/pxeknife/dsl/httpfs/static/ifconfig b/pxeknife/dsl/httpfs/static/ifconfig
new file mode 100755 (executable)
index 0000000..7d3dfd6
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/ifconfig differ
diff --git a/pxeknife/dsl/httpfs/static/ln b/pxeknife/dsl/httpfs/static/ln
new file mode 100755 (executable)
index 0000000..d1585a1
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/ln differ
diff --git a/pxeknife/dsl/httpfs/static/ls b/pxeknife/dsl/httpfs/static/ls
new file mode 100755 (executable)
index 0000000..e465e66
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/ls differ
diff --git a/pxeknife/dsl/httpfs/static/mkdir b/pxeknife/dsl/httpfs/static/mkdir
new file mode 100755 (executable)
index 0000000..30c7172
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/mkdir differ
diff --git a/pxeknife/dsl/httpfs/static/ping b/pxeknife/dsl/httpfs/static/ping
new file mode 100755 (executable)
index 0000000..c759eac
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/ping differ
diff --git a/pxeknife/dsl/httpfs/static/ps b/pxeknife/dsl/httpfs/static/ps
new file mode 100755 (executable)
index 0000000..d1cd8c6
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/ps differ
diff --git a/pxeknife/dsl/httpfs/static/reboot b/pxeknife/dsl/httpfs/static/reboot
new file mode 100755 (executable)
index 0000000..20068b2
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/reboot differ
diff --git a/pxeknife/dsl/httpfs/static/rm b/pxeknife/dsl/httpfs/static/rm
new file mode 100755 (executable)
index 0000000..19982f0
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/rm differ
diff --git a/pxeknife/dsl/httpfs/static/udhcpc b/pxeknife/dsl/httpfs/static/udhcpc
new file mode 100755 (executable)
index 0000000..2d408a5
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/udhcpc differ
diff --git a/pxeknife/dsl/httpfs/static/ b/pxeknife/dsl/httpfs/static/
new file mode 100755 (executable)
index 0000000..9a8437a
--- /dev/null
@@ -0,0 +1,18 @@
+case "$1" in
+       renew|bound)
+               ifconfig $interface $ip up
+               if [ -n "$router" ] ; then
+                       for i in $router ; do
+                               route add -net netmask gw $i dev $interface
+                       done
+               fi
+               ;;
+       * )
+               ifconfig $interface
+               ;;
+exit 0
diff --git a/pxeknife/dsl/httpfs/static/wget b/pxeknife/dsl/httpfs/static/wget
new file mode 100755 (executable)
index 0000000..52b893c
Binary files /dev/null and b/pxeknife/dsl/httpfs/static/wget differ
diff --git a/pxeknife/dsl/linux24 b/pxeknife/dsl/linux24
new file mode 100644 (file)
index 0000000..6057c97
Binary files /dev/null and b/pxeknife/dsl/linux24 differ
diff --git a/pxeknife/dsl/minirt24.gz_orig b/pxeknife/dsl/minirt24.gz_orig
new file mode 100644 (file)
index 0000000..663bd55
Binary files /dev/null and b/pxeknife/dsl/minirt24.gz_orig differ
diff --git a/pxeknife/dsl/modules/8139too.o b/pxeknife/dsl/modules/8139too.o
new file mode 100644 (file)
index 0000000..b480a8e
Binary files /dev/null and b/pxeknife/dsl/modules/8139too.o differ
diff --git a/pxeknife/dsl/modules/8390.o b/pxeknife/dsl/modules/8390.o
new file mode 100644 (file)
index 0000000..1e33c33
Binary files /dev/null and b/pxeknife/dsl/modules/8390.o differ
diff --git a/pxeknife/dsl/modules/af_packet.o b/pxeknife/dsl/modules/af_packet.o
new file mode 100644 (file)
index 0000000..020485b
Binary files /dev/null and b/pxeknife/dsl/modules/af_packet.o differ
diff --git a/pxeknife/dsl/modules/cloop.o b/pxeknife/dsl/modules/cloop.o
new file mode 100755 (executable)
index 0000000..eb3c95b
Binary files /dev/null and b/pxeknife/dsl/modules/cloop.o differ
diff --git a/pxeknife/dsl/modules/crc32.o b/pxeknife/dsl/modules/crc32.o
new file mode 100644 (file)
index 0000000..352409f
Binary files /dev/null and b/pxeknife/dsl/modules/crc32.o differ
diff --git a/pxeknife/dsl/modules/e100.o b/pxeknife/dsl/modules/e100.o
new file mode 100644 (file)
index 0000000..dc4f512
Binary files /dev/null and b/pxeknife/dsl/modules/e100.o differ
diff --git a/pxeknife/dsl/modules/e1000.o b/pxeknife/dsl/modules/e1000.o
new file mode 100644 (file)
index 0000000..d8ef200
Binary files /dev/null and b/pxeknife/dsl/modules/e1000.o differ
diff --git a/pxeknife/dsl/modules/fuse.o b/pxeknife/dsl/modules/fuse.o
new file mode 100644 (file)
index 0000000..51aae51
Binary files /dev/null and b/pxeknife/dsl/modules/fuse.o differ
diff --git a/pxeknife/dsl/modules/mii.o b/pxeknife/dsl/modules/mii.o
new file mode 100644 (file)
index 0000000..2e292c2
Binary files /dev/null and b/pxeknife/dsl/modules/mii.o differ
diff --git a/pxeknife/dsl/modules/ne2k-pci.o b/pxeknife/dsl/modules/ne2k-pci.o
new file mode 100644 (file)
index 0000000..7cf1797
Binary files /dev/null and b/pxeknife/dsl/modules/ne2k-pci.o differ
diff --git a/pxeknife/dsl/modules/pcnet32.o b/pxeknife/dsl/modules/pcnet32.o
new file mode 100644 (file)
index 0000000..99a71fe
Binary files /dev/null and b/pxeknife/dsl/modules/pcnet32.o differ
diff --git a/pxeknife/dsl/modules/r8169.o b/pxeknife/dsl/modules/r8169.o
new file mode 100644 (file)
index 0000000..88ab355
Binary files /dev/null and b/pxeknife/dsl/modules/r8169.o differ
diff --git a/pxeknife/dsl/modules/sis900.o b/pxeknife/dsl/modules/sis900.o
new file mode 100644 (file)
index 0000000..4b4f3b8
Binary files /dev/null and b/pxeknife/dsl/modules/sis900.o differ
diff --git a/pxeknife/dsl/modules/via-rhine.o b/pxeknife/dsl/modules/via-rhine.o
new file mode 100644 (file)
index 0000000..0e71be1
Binary files /dev/null and b/pxeknife/dsl/modules/via-rhine.o differ