diff options
author | Thomas Bächler <thomas@archlinux.org> | 2016-06-03 13:52:03 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2016-06-03 22:28:27 +0200 |
commit | b246b751dc44c16f1edd2f5dd53822c3d377e1a2 (patch) | |
tree | 31568bc0978395b4d2ef2403ce618213b83d21ea | |
parent | 042763555885986a64c06e340b98da595f27d0e1 (diff) |
Add information and ipxe images for the new netboot system
-rw-r--r-- | public/views.py | 2 | ||||
-rw-r--r-- | releng/urls.py | 3 | ||||
-rw-r--r-- | releng/views.py | 3 | ||||
-rw-r--r-- | settings.py | 3 | ||||
-rw-r--r-- | sitestatic/netboot/ipxe.efi | bin | 0 -> 929120 bytes | |||
-rw-r--r-- | sitestatic/netboot/ipxe.efi.sig | bin | 0 -> 543 bytes | |||
-rw-r--r-- | sitestatic/netboot/ipxe.lkrn | bin | 0 -> 336027 bytes | |||
-rw-r--r-- | sitestatic/netboot/ipxe.lkrn.sig | bin | 0 -> 543 bytes | |||
-rw-r--r-- | sitestatic/netboot/ipxe.pxe | bin | 0 -> 336695 bytes | |||
-rw-r--r-- | sitestatic/netboot/ipxe.pxe.sig | bin | 0 -> 543 bytes | |||
-rw-r--r-- | templates/public/download.html | 4 | ||||
-rw-r--r-- | templates/releng/netboot.html | 54 |
12 files changed, 61 insertions, 8 deletions
diff --git a/public/views.py b/public/views.py index 910b6c2d..6861cf62 100644 --- a/public/views.py +++ b/public/views.py @@ -72,8 +72,6 @@ def download(request): context = { 'release': release, - 'releng_iso_url': settings.ISO_LIST_URL, - 'releng_pxeboot_url': settings.PXEBOOT_URL, 'mirror_urls': _mirror_urls, } return render(request, 'public/download.html', context) diff --git a/releng/urls.py b/releng/urls.py index 0e87de48..57013291 100644 --- a/releng/urls.py +++ b/releng/urls.py @@ -23,7 +23,8 @@ releases_patterns = patterns('releng.views', ) netboot_patterns = patterns('releng.views', - (r'^archlinux\.ipxe$', 'netboot_config', {}, 'releng-netboot-config') + (r'^archlinux\.ipxe$', 'netboot_config', {}, 'releng-netboot-config'), + (r'^$', 'netboot_info', {}, 'releng-netboot-info') ) urlpatterns = patterns('', diff --git a/releng/views.py b/releng/views.py index 7db469cd..9e7a794e 100644 --- a/releng/views.py +++ b/releng/views.py @@ -299,4 +299,7 @@ def netboot_config(request): } return render(request, "releng/archlinux.ipxe", context, content_type='text/plain') +def netboot_info(request): + return render(request, "releng/netboot.html", None) + # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index 79271772..4393e693 100644 --- a/settings.py +++ b/settings.py @@ -162,9 +162,6 @@ PGP_SERVER_SECURE = True # URL to fetch a current list of available ISOs ISO_LIST_URL = 'https://releng.archlinux.org/isos/' -# URL to the PXE netboot instructions -PXEBOOT_URL = 'https://releng.archlinux.org/pxeboot/' - # URL for SVN access for fetching commit messages (note absence of packages or # community bit on the end, repo.svn_root is appended) SVN_BASE_URL = 'svn://svn.archlinux.org/' diff --git a/sitestatic/netboot/ipxe.efi b/sitestatic/netboot/ipxe.efi Binary files differnew file mode 100644 index 00000000..fed3db42 --- /dev/null +++ b/sitestatic/netboot/ipxe.efi diff --git a/sitestatic/netboot/ipxe.efi.sig b/sitestatic/netboot/ipxe.efi.sig Binary files differnew file mode 100644 index 00000000..27c16da6 --- /dev/null +++ b/sitestatic/netboot/ipxe.efi.sig diff --git a/sitestatic/netboot/ipxe.lkrn b/sitestatic/netboot/ipxe.lkrn Binary files differnew file mode 100644 index 00000000..bda29f10 --- /dev/null +++ b/sitestatic/netboot/ipxe.lkrn diff --git a/sitestatic/netboot/ipxe.lkrn.sig b/sitestatic/netboot/ipxe.lkrn.sig Binary files differnew file mode 100644 index 00000000..7a294a4b --- /dev/null +++ b/sitestatic/netboot/ipxe.lkrn.sig diff --git a/sitestatic/netboot/ipxe.pxe b/sitestatic/netboot/ipxe.pxe Binary files differnew file mode 100644 index 00000000..932fff83 --- /dev/null +++ b/sitestatic/netboot/ipxe.pxe diff --git a/sitestatic/netboot/ipxe.pxe.sig b/sitestatic/netboot/ipxe.pxe.sig Binary files differnew file mode 100644 index 00000000..5c35c12d --- /dev/null +++ b/sitestatic/netboot/ipxe.pxe.sig diff --git a/templates/public/download.html b/templates/public/download.html index cbd7cd73..9116816d 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -68,8 +68,8 @@ <p>If you have a wired connection, you can boot the latest release directly over the network.</p> <ul> - <li><a href="{{ releng_pxeboot_url }}" - title="Arch Linux Netboot Live System">Arch Linux Netboot</a></li> + <li><a href="{% url 'releng-netboot-info' %}" + title="Arch Linux Netboot">Arch Linux Netboot</a></li> </ul> <h3>HTTP Direct Downloads</h3> diff --git a/templates/releng/netboot.html b/templates/releng/netboot.html new file mode 100644 index 00000000..36404588 --- /dev/null +++ b/templates/releng/netboot.html @@ -0,0 +1,54 @@ +{% extends "base.html" %} +{% load staticfiles %} + +{% block title %}Arch Linux - Netboot{% endblock %} + +{% block content %} +<div id="arch-netboot" class="box"> + +<h2>Arch Linux Netboot</h2> + +<h3>About Netboot</h3> + +<p>Netboot images are small (<1MB) images that can be used to download the latest Arch Linux release on the fly upon system boot. +It is unnecessary to update the netboot image, the newest release will be available automatically.</p> + +<p>Netboot uses customized <a href="http://ipxe.org">iPXE</a> builds. +The Linux kernel, initramfs and squashfs files for the live system are downloaded from an Arch Linux mirror. +The integrity of all downloaded files is verified with cryptographic signatures.</p> + +<h3>Requirements</h3> + +<p>To use netboot, the following requirements must be met: + +<ul> +<li>Wired (ethernet) internet connection with DHCP autoconfiguration</li> +<li>Sufficient memory to store and run the live system</li> +</ul> + +</p> + +<h3>Download</h3> + +<h4>BIOS</h4> + +<ul> +<li><a href="{% static "netboot/ipxe.lkrn" %}">ipxe.lkrn</a> (<a href="{% static "netboot/ipxe.lkrn.sig" %}">PGP signature</a>) - Linux kernel-like image that can be started with any Linux bootloader</li> +<li><a href="{% static "netboot/ipxe.pxe" %}">ipxe.pxe</a> (<a href="{% static "netboot/ipxe.pxe.sig" %}">PGP signature</a>) - PXE image for chainloading from a PXE environment</li> +</ul> + +<h4>UEFI</h4> + +<ul> +<li><a href="{% static "netboot/ipxe.efi" %}">ipxe.efi</a> (<a href="{% static "netboot/ipxe.efi.sig" %}">PGP signature</a>) - x86_64 UEFI executable</li> +</ul> + +<p>You can build your own iPXE images compatible with netboot. +For details, check out the <a href="https://aur.archlinux.org/packages/ipxe-netboot">ipxe-netboot AUR package</a>.</p> + +<h3>More information</h3> + +<p>For detailed usage instructions, check out the <a href="https://wiki.archlinux.org/index.php/Netboot">netboot wiki page</a>. + +</div> +{% endblock %} |