From 7e16ab2b9a9b50089c9800ed404b539935b3f0c7 Mon Sep 17 00:00:00 2001 From: r00t Date: Sun, 5 Jul 2015 04:33:33 -0400 Subject: [PATCH] adding example files/hierarchy for HTTP ipxe --- TODO | 19 ++++++++++++++----- examples/HTTP/boot.php | 9 +++++++++ examples/HTTP/example.32.img | 1 + examples/HTTP/example.32.kern | 1 + examples/HTTP/example.64.img | 1 + examples/HTTP/example.64.kern | 1 + .../to/squashes/EXAMPLE/i686/airootfs.md5 | 1 + .../to/squashes/EXAMPLE/i686/airootfs.sfs | 1 + .../to/squashes/EXAMPLE/i686/airootfs.sha256 | 1 + .../to/squashes/EXAMPLE/x86_64/airootfs.md5 | 1 + .../to/squashes/EXAMPLE/x86_64/airootfs.sfs | 1 + .../squashes/EXAMPLE/x86_64/airootfs.sha256 | 1 + src/ipxe | 2 +- 13 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 examples/HTTP/boot.php create mode 100644 examples/HTTP/example.32.img create mode 100644 examples/HTTP/example.32.kern create mode 100644 examples/HTTP/example.64.img create mode 100644 examples/HTTP/example.64.kern create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.md5 create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sfs create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sha256 create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.md5 create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sfs create mode 100644 examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sha256 diff --git a/TODO b/TODO index 883d9f8..3f7bb3b 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,11 @@ ## General ## --include WinMTR, build Mac OS X MTR for dist/tools on CD --include pre-compiled DoxBox for opening LUKS parts on Windows (https://github.com/t-d-k/doxbox) -include benchmarking -- http://sourceforge.net/projects/unixbench/ -- https://code.google.com/p/byte-unixbench/ -- https://github.com/akopytov/sysbench -- (http://blog.due.io/2014/linode-digitalocean-and-vultr-comparison/ etc.) --write doc on required chroot packages (e.g. pv, archiso*, etc.) so those wanting to remaster know which packages to leave in +-package in AUR ## NETWORKING ## @@ -15,7 +13,6 @@ -shorewall/some other firewall? -WISH: locked-down VPN? -autodetection/configuration of network. DHCP is currently running by default, but does it need to support IPv6? if so, how would the user configure their network? --WISH: support iPXE? would save on ISO file size (letting us create MUCH bigger squash systems), but the downside is we lose EFI support and it requires a working network configuration- which defeats the purpose of a diagnostic disc. -SECURE SSH: https://stribika.github.io/2015/01/04/secure-secure-shell.html -DISABLE NETWORKMANAGER AND "fi.w1.wpa_supplicant1"??? keeps spawning wpa_supplicant (and thusly killing networking proper) @@ -31,11 +28,23 @@ -does gummiboot? loader? wtfever it's called support splash backgrounds? can i implement that differently somehow? -Host-specific chroot customizations (i.e. -J in /etc/makepkg.conf -strip out/remove unnecessary and orphan packages (e.g. gcc, make, automake, etc.) --incorporate iPXE image building for "mini-iso's/mini-img's" - this is mostly done, i just need to implement the below tweaks. +-incorporate iPXE tweaks: --http://ipxe.org/crypto --http://ipxe.org/cmd/imgtrust --http://ipxe.org/cmd/imgverify --https://aur.archlinux.org/packages/ip/ipxe-git/PKGBUILD (NOTE the patches- banner and efi iso specifically) +--add conf option to specify EMBED uri +-X-platform +--what distros are supported? +--automatically install what we need for buildtime +--hardcode list of runtime dependencies (e.g. openssh, vim, etc.) + +## Split into Separate Tools CD ## + +-include WinMTR, build Mac OS X MTR for dist/tools on CD +-include pre-compiled LibreCrypt for opening LUKS parts on Windows (https://github.com/t-d-k/LibreCrypt) +--curl -s https://raw.githubusercontent.com/t-d-k/LibreCrypt/master/README.md | egrep 'InstallLibreCrypt_v[A-Za-z0-9\.]*.exe' | cut -f2 -d'"' + __________________________________________________________ FOOTNOTES: diff --git a/examples/HTTP/boot.php b/examples/HTTP/boot.php new file mode 100644 index 0000000..967edb2 --- /dev/null +++ b/examples/HTTP/boot.php @@ -0,0 +1,9 @@ + diff --git a/examples/HTTP/example.32.img b/examples/HTTP/example.32.img new file mode 100644 index 0000000..c92465b --- /dev/null +++ b/examples/HTTP/example.32.img @@ -0,0 +1 @@ +NOT A REAL INITRD IMAGE. REPLACE WITH ACTUAL INITRD. diff --git a/examples/HTTP/example.32.kern b/examples/HTTP/example.32.kern new file mode 100644 index 0000000..c9c75c9 --- /dev/null +++ b/examples/HTTP/example.32.kern @@ -0,0 +1 @@ +NOT A REAL KERNEL FILE. REPLACE WITH ACTUAL KERNEL diff --git a/examples/HTTP/example.64.img b/examples/HTTP/example.64.img new file mode 100644 index 0000000..c92465b --- /dev/null +++ b/examples/HTTP/example.64.img @@ -0,0 +1 @@ +NOT A REAL INITRD IMAGE. REPLACE WITH ACTUAL INITRD. diff --git a/examples/HTTP/example.64.kern b/examples/HTTP/example.64.kern new file mode 100644 index 0000000..c9c75c9 --- /dev/null +++ b/examples/HTTP/example.64.kern @@ -0,0 +1 @@ +NOT A REAL KERNEL FILE. REPLACE WITH ACTUAL KERNEL diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.md5 b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.md5 new file mode 100644 index 0000000..7dafed4 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.md5 @@ -0,0 +1 @@ +c18bde6e20c195bfb0a018b5c13dc420 airootfs.sfs diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sfs b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sfs new file mode 100644 index 0000000..909a182 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sfs @@ -0,0 +1 @@ +NOT A REAL SQUASHED FILESYSTEM FILE. REPLACE WITH ACTUAL SQUASHED FILESYSTEM diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sha256 b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sha256 new file mode 100644 index 0000000..1928e91 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/i686/airootfs.sha256 @@ -0,0 +1 @@ +ada655a13f53702b3fe13cae001ab14f741e10c2bb83869048d4c18e74111c12 airootfs.sfs diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.md5 b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.md5 new file mode 100644 index 0000000..7dafed4 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.md5 @@ -0,0 +1 @@ +c18bde6e20c195bfb0a018b5c13dc420 airootfs.sfs diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sfs b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sfs new file mode 100644 index 0000000..909a182 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sfs @@ -0,0 +1 @@ +NOT A REAL SQUASHED FILESYSTEM FILE. REPLACE WITH ACTUAL SQUASHED FILESYSTEM diff --git a/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sha256 b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sha256 new file mode 100644 index 0000000..1928e91 --- /dev/null +++ b/examples/HTTP/path/to/squashes/EXAMPLE/x86_64/airootfs.sha256 @@ -0,0 +1 @@ +ada655a13f53702b3fe13cae001ab14f741e10c2bb83869048d4c18e74111c12 airootfs.sfs diff --git a/src/ipxe b/src/ipxe index 211529a..38afcc5 160000 --- a/src/ipxe +++ b/src/ipxe @@ -1 +1 @@ -Subproject commit 211529a7fe97521acdeaf1f785e48ea3ddd26517 +Subproject commit 38afcc51ea6cccbbcc40cc4a5bae1213431943ec