From b246b751dc44c16f1edd2f5dd53822c3d377e1a2 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Fri, 3 Jun 2016 13:52:03 +0200 Subject: Add information and ipxe images for the new netboot system --- public/views.py | 2 -- releng/urls.py | 3 ++- releng/views.py | 3 +++ settings.py | 3 --- sitestatic/netboot/ipxe.efi | Bin 0 -> 929120 bytes sitestatic/netboot/ipxe.efi.sig | Bin 0 -> 543 bytes sitestatic/netboot/ipxe.lkrn | Bin 0 -> 336027 bytes sitestatic/netboot/ipxe.lkrn.sig | Bin 0 -> 543 bytes sitestatic/netboot/ipxe.pxe | Bin 0 -> 336695 bytes sitestatic/netboot/ipxe.pxe.sig | Bin 0 -> 543 bytes templates/public/download.html | 4 +-- templates/releng/netboot.html | 54 +++++++++++++++++++++++++++++++++++++++ 12 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 sitestatic/netboot/ipxe.efi create mode 100644 sitestatic/netboot/ipxe.efi.sig create mode 100644 sitestatic/netboot/ipxe.lkrn create mode 100644 sitestatic/netboot/ipxe.lkrn.sig create mode 100644 sitestatic/netboot/ipxe.pxe create mode 100644 sitestatic/netboot/ipxe.pxe.sig create mode 100644 templates/releng/netboot.html 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 @@ ) 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 @@ # 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 new file mode 100644 index 00000000..fed3db42 Binary files /dev/null and b/sitestatic/netboot/ipxe.efi differ diff --git a/sitestatic/netboot/ipxe.efi.sig b/sitestatic/netboot/ipxe.efi.sig new file mode 100644 index 00000000..27c16da6 Binary files /dev/null and b/sitestatic/netboot/ipxe.efi.sig differ diff --git a/sitestatic/netboot/ipxe.lkrn b/sitestatic/netboot/ipxe.lkrn new file mode 100644 index 00000000..bda29f10 Binary files /dev/null and b/sitestatic/netboot/ipxe.lkrn differ diff --git a/sitestatic/netboot/ipxe.lkrn.sig b/sitestatic/netboot/ipxe.lkrn.sig new file mode 100644 index 00000000..7a294a4b Binary files /dev/null and b/sitestatic/netboot/ipxe.lkrn.sig differ diff --git a/sitestatic/netboot/ipxe.pxe b/sitestatic/netboot/ipxe.pxe new file mode 100644 index 00000000..932fff83 Binary files /dev/null and b/sitestatic/netboot/ipxe.pxe differ diff --git a/sitestatic/netboot/ipxe.pxe.sig b/sitestatic/netboot/ipxe.pxe.sig new file mode 100644 index 00000000..5c35c12d Binary files /dev/null and b/sitestatic/netboot/ipxe.pxe.sig differ 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 @@

Netboot

If you have a wired connection, you can boot the latest release directly over the network.

HTTP Direct Downloads

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 %} +
+ +

Arch Linux Netboot

+ +

About Netboot

+ +

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.

+ +

Netboot uses customized iPXE 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.

+ +

Requirements

+ +

To use netboot, the following requirements must be met: + +

+ +

+ +

Download

+ +

BIOS

+ + + +

UEFI

+ + + +

You can build your own iPXE images compatible with netboot. +For details, check out the ipxe-netboot AUR package.

+ +

More information

+ +

For detailed usage instructions, check out the netboot wiki page. + +

+{% endblock %} -- cgit v1.2.3-54-g00ecf