From 042763555885986a64c06e340b98da595f27d0e1 Mon Sep 17 00:00:00 2001 From: Angel Velasquez Date: Thu, 26 May 2016 05:26:37 +0000 Subject: Add netboot ipxe environment to archweb Signed-off-by: Angel Velasquez Signed-off-by: Thomas Bachler --- templates/releng/archlinux.ipxe | 157 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 templates/releng/archlinux.ipxe (limited to 'templates') diff --git a/templates/releng/archlinux.ipxe b/templates/releng/archlinux.ipxe new file mode 100644 index 00000000..87f9c83b --- /dev/null +++ b/templates/releng/archlinux.ipxe @@ -0,0 +1,157 @@ +#!ipxe +{% regroup mirrorurls by country as mirrors_by_country %} + +# Figure out if client is 64-bit capable +cpuid --ext 29 && set cpuarch x86_64 || set cpuarch i686 + +# allow only trusted images +imgtrust + +# initial options +set bootarch ${cpuarch} +set release {{ releases.0 }} +set mirrorurl +set extrabootoptions ip=dhcp +set countrycode + +:main +menu Arch Linux Netboot +item --gap Settings +item set_architecture Architecture: ${bootarch} +item set_release Release: ${release} +isset ${mirrorurl} && item set_mirror Mirror: ${mirrorurl} || item set_mirror Choose a mirror +item set_options Boot options: ${extrabootoptions} +item +isset ${mirrorurl} && item boot Boot Arch Linux || item --gap Boot Arch Linux +item shell Drop to iPXE shell +item reboot Reboot +item exit Exit iPXE +isset ${mirrorurl} && choose --default set_options selected || choose --default set_mirror selected || goto shell +goto ${selected} || goto main + +:shell +echo Type 'exit' to get the back to the menu +shell +goto main + +:reboot +reboot + +:exit +exit + +:set_architecture +menu Arch Linux Netboot: Select Architecture +item back back +item +item --gap Available architectures: +iseq ${cpuarch} x86_64 && item x86_64 x64_64 || +item i686 i686 +choose selected || goto main +iseq ${selected} back && goto main || +set bootarch ${selected} +goto main + +:set_release +menu Arch Linux Netboot: Select Release +item back back +item +item --gap Available releases: +{% for release in releases %}item {{ release }} {{ release }} +{% endfor %} +choose selected || goto main +iseq ${selected} back && goto main || +set release ${selected} +goto main + +:set_mirror +goto select_mirror_country + +:select_mirror_country +menu Arch Linux Netboot: Select Mirror +item back back +item +item --gap Custom Configuration: +item custom Enter mirror URL +item +item --gap Select Mirror By Country: +{% for mirrorgroup in mirrors_by_country %} +{% if mirrorgroup.grouper == '' %} +item 00 Global +{% else %} +item {{ mirrorgroup.grouper }} {{ mirrorgroup.grouper.name }} +{% endif %} +{% endfor %} +isset ${countrycode} && choose --default ${countrycode} selected || choose selected || goto main +iseq ${selected} back && goto main || +iseq ${selected} custom && goto enter_mirror_url || +set countrycode ${selected} +goto select_mirror_url + +:enter_mirror_url +set countrycode +echo Enter the mirror URL including the trailing slash. +echo Example: http://some.host/archlinux/ +echo +echo -n Mirror URL: ${} && read mirrorurl || goto select_mirror_country +goto main + +:select_mirror_url +goto select_mirror_url_${countrycode} || goto select_mirror_country + +{% for mirrorgroup in mirrors_by_country %} +{% if mirrorgroup.grouper == '' %} +:select_mirror_url_00 +set countryname Global +{% else %} +:select_mirror_url_{{ mirrorgroup.grouper }} +set countryname {{ mirrorgroup.grouper.name }} +{% endif %} +menu Arch Linux Netboot: Select Mirror +item back back +item +item --gap Available mirrors in ${countryname} +{% for mirror in mirrorgroup.list %}item {{ mirror.url }} {{ mirror.mirror.name }} +{% endfor %} +choose selected || goto select_mirror_country +iseq ${selected} back && goto select_mirror_country || +set mirrorurl ${selected} +goto main +{% endfor %} + +:set_options +echo -n Boot options: ${} && read extrabootoptions || +goto main + +:boot +echo Booting Arch Linux ${bootarch} ${release} from ${mirrorurl} +echo +kernel ${mirrorurl}iso/${release}/arch/boot/${bootarch}/vmlinuz || goto failed_download +imgverify vmlinuz ${mirrorurl}iso/${release}/arch/boot/${bootarch}/vmlinuz.ipxe.sig || goto failed_verify +initrd ${mirrorurl}iso/${release}/arch/boot/intel_ucode.img || goto failed_download +imgverify intel_ucode.img ${mirrorurl}iso/${release}/arch/boot/intel_ucode.img.ipxe.sig || goto failed_verify +initrd ${mirrorurl}iso/${release}/arch/boot/${bootarch}/archiso.img || goto failed_download +imgverify archiso.img ${mirrorurl}iso/${release}/arch/boot/${bootarch}/archiso.img.ipxe.sig || goto failed_verify +imgargs vmlinuz initrd=intel_ucode.img initrd=archiso.img archiso_http_srv=${mirrorurl}iso/${release}/ archisobasedir=arch verify=y ${extrabootoptions} +boot || goto failed_boot + +:failed_download +echo +echo Failed to download a file. +goto failed + +:failed_verify +echo +echo Failed to verify a file. +goto failed + +:failed_boot +echo +echo Boot failed. +goto failed + +:failed +echo Press a key to return to the menu. +prompt +imgfree +goto main -- cgit v1.2.2 From b246b751dc44c16f1edd2f5dd53822c3d377e1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Fri, 3 Jun 2016 13:52:03 +0200 Subject: Add information and ipxe images for the new netboot system --- templates/public/download.html | 4 ++-- templates/releng/netboot.html | 54 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 templates/releng/netboot.html (limited to 'templates') 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 @@

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: + +

    +
  • Wired (ethernet) internet connection with DHCP autoconfiguration
  • +
  • Sufficient memory to store and run the live system
  • +
+ +

+ +

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.2 From 46ddb836175f0a93a4e1dc231bcf23466c288bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Fri, 3 Jun 2016 14:00:47 +0200 Subject: Netboot: Disable network interface renaming by default Current ISOs fail to start dhcpcd if network interface renaming is enabled and the interface is already up. Adding net.ifnames=0 to the command line works around this problem. --- templates/releng/archlinux.ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/releng/archlinux.ipxe b/templates/releng/archlinux.ipxe index 87f9c83b..4945868c 100644 --- a/templates/releng/archlinux.ipxe +++ b/templates/releng/archlinux.ipxe @@ -11,7 +11,7 @@ imgtrust set bootarch ${cpuarch} set release {{ releases.0 }} set mirrorurl -set extrabootoptions ip=dhcp +set extrabootoptions ip=dhcp net.ifnames=0 set countrycode :main -- cgit v1.2.2 From 1d672ecc7c05ce3930f3cc74b8860450c5183e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Fri, 3 Jun 2016 14:05:48 +0200 Subject: Remove AirVM ads since AirVM has ended their sponsorship --- templates/public/donate.html | 7 ------- templates/public/index.html | 3 --- 2 files changed, 10 deletions(-) (limited to 'templates') diff --git a/templates/public/donate.html b/templates/public/donate.html index ef80baea..301bd1c0 100644 --- a/templates/public/donate.html +++ b/templates/public/donate.html @@ -44,13 +44,6 @@ title="velocity network"> -

More thanks go to AirVM.com for contributing a VMWare-based Virtual Machine.

- - -

We would also like to thank Kartenzia for sponsoring a dedicated Arch Linux Server. Kartenzia.de is a new Start-Up based in Germany and specializes in eco-friendly invitations like Weihnachten.

diff --git a/templates/public/index.html b/templates/public/index.html index 5fc4833a..fdb136cf 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -201,9 +201,6 @@ Velocity Network - It's about time - - AirVM.com - Your Green Technology Partner - {% endcache %} {% endblock %} -- cgit v1.2.2 From 174fb4612d72d52f518d5bd23aaecb2f525d45c4 Mon Sep 17 00:00:00 2001 From: Alad Wenter Date: Wed, 19 Oct 2016 17:10:39 +0200 Subject: Remove link to Beginners' guide The Beginners' guide has been merged with the Installation guide. https://lists.archlinux.org/pipermail/arch-dev-public/2016-July/028140.html --- templates/public/index.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'templates') diff --git a/templates/public/index.html b/templates/public/index.html index fdb136cf..2eba1fdb 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -113,8 +113,6 @@ title="Community documentation">Wiki
  • Installation Guide
  • -
  • Beginners' Guide
  • Community

    -- cgit v1.2.2 From dfeaab66986bcb34d6bc208c5a4a7a585fe1bf96 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 15 Jan 2018 13:15:27 -0500 Subject: Normalize whitespace in {{ VARNAME }} --- templates/mirrors/mirrorlist_generate.html | 2 +- templates/news/list.html | 2 +- templates/packages/opensearch.xml | 8 ++++---- templates/packages/search.html | 2 +- templates/public/art.html | 4 ++-- templates/public/download.html | 14 +++++++------- templates/public/feeds.html | 8 ++++---- templates/public/index.html | 10 +++++----- templates/public/userlist.html | 2 +- templates/releng/release_list.html | 2 +- 10 files changed, 27 insertions(+), 27 deletions(-) (limited to 'templates') diff --git a/templates/mirrors/mirrorlist_generate.html b/templates/mirrors/mirrorlist_generate.html index c2a79fa8..7501a9af 100644 --- a/templates/mirrors/mirrorlist_generate.html +++ b/templates/mirrors/mirrorlist_generate.html @@ -30,7 +30,7 @@

    The following form can generate a custom up-to-date pacman mirrorlist based on geography and + title="{{ BRANDING_WIKINAME }}: Pacman">pacman mirrorlist based on geography and desired protocol(s). Simply replace the contents of /etc/pacman.d/mirrorlist with your generated list. Additionally, the mirror status data can be incorporated into the generated diff --git a/templates/news/list.html b/templates/news/list.html index 8662a91b..7bc65721 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -4,7 +4,7 @@ {% block title %}{{ BRANDING_DISTRONAME }} - News{% endblock %} {% block head %} - + {% endblock %} {% block content %} diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml index 0004b996..4c0f9acf 100644 --- a/templates/packages/opensearch.xml +++ b/templates/packages/opensearch.xml @@ -1,9 +1,9 @@ {% load static from staticfiles %} - {{BRANDING_SHORTNAME}} Packages - {{BRANDING_DISTRONAME}} Package Repository Search - Search the {{BRANDING_DISTRONAME}} package repositories by keyword in package names and descriptions. - {{BRANDING_OSEARCH_TAGS}} + {{ BRANDING_SHORTNAME }} Packages + {{ BRANDING_DISTRONAME }} Package Repository Search + Search the {{ BRANDING_DISTRONAME }} package repositories by keyword in package names and descriptions. + {{ BRANDING_OSEARCH_TAGS }} {{ domain }}{% static "favicon.ico" %} {{ domain }}{% static "logos/icon-transparent-64x64.png" %} en-us diff --git a/templates/packages/search.html b/templates/packages/search.html index a7433934..8037a413 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -7,7 +7,7 @@ {% block head %} {% if is_paginated and page_obj.number > 1 %}{% endif %} - + {% endblock %} {% block content %} diff --git a/templates/public/art.html b/templates/public/art.html index 40fd9bad..b8b1d886 100644 --- a/templates/public/art.html +++ b/templates/public/art.html @@ -10,9 +10,9 @@

    Logos for Press Usage

    -

    The following {{BRANDING_DISTRONAME}} logos are available for press and other use, subject to +

    The following {{ BRANDING_DISTRONAME }} logos are available for press and other use, subject to the restrictions of our trademark policy.

    + title="{{ BRANDING_DISTRONAME }} Trademark Policy">trademark policy.

    Two-color standard version
    Also available in print-quality diff --git a/templates/public/download.html b/templates/public/download.html index c0251d2f..63398dde 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -8,7 +8,7 @@ {% block head %} - + {% endblock %} {% block navbarclass %}anb-download{% endblock %} @@ -16,13 +16,13 @@ {% block content %}

    -

    {{BRANDING_DISTRONAME}} Downloads

    +

    {{ BRANDING_DISTRONAME }} Downloads

    Release Info

    The image can be burned to a CD, mounted as an ISO file, or be directly written to a USB stick using a utility like `dd`. It - is intended for new installations only; an existing {{BRANDING_DISTRONAME}} system + is intended for new installations only; an existing {{ BRANDING_DISTRONAME }} system can always be updated with `pacman -Syu`.

      @@ -46,9 +46,9 @@
      {{ release.info_html }}
      {% endif %} -

      Existing {{BRANDING_SHORTNAME}} Users

      +

      Existing {{ BRANDING_SHORTNAME }} Users

      -

      If you are an existing {{BRANDING_SHORTNAME}} user, there is no need to download a new ISO +

      If you are an existing {{ BRANDING_SHORTNAME }} user, there is no need to download a new ISO to update your existing system. You may be looking for an updated mirrorlist instead.

      @@ -70,7 +70,7 @@

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

      HTTP Direct Downloads

      @@ -107,7 +107,7 @@
    {% endcache %} -

    If you want to become an Official {{BRANDING_DISTRONAME}} Mirror please follow the +

    If you want to become an Official {{ BRANDING_DISTRONAME }} Mirror please follow the instructions listed here.

    diff --git a/templates/public/feeds.html b/templates/public/feeds.html index 9936944e..fd1ad77a 100644 --- a/templates/public/feeds.html +++ b/templates/public/feeds.html @@ -12,8 +12,8 @@

    News and Activity Feeds

    -

    Grab the news item feed - to keep up-to-date with the latest news from the {{BRANDING_DISTRONAME}} development staff.

    +

    Grab the news item feed + to keep up-to-date with the latest news from the {{ BRANDING_DISTRONAME }} development staff.

    The {{ BRANDING_WIKINAME }}: Recent changes feed @@ -67,13 +67,13 @@

    Release Feed

    -

    Grab the ISO release feed +

    Grab the ISO release feed if you want to help seed the ISO release torrents as they come out.

    Development Feeds

    Subscribe to any of the following to track bug tickets and feature - requests from the {{BRANDING_DISTRONAME}} Bugtracker:

    + requests from the {{ BRANDING_DISTRONAME }} Bugtracker:

    diff --git a/templates/public/index.html b/templates/public/index.html index f28f43ce..0898a6cd 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -13,7 +13,7 @@

    A simple, lightweight distribution

    -

    You've reached the website for {{BRANDING_DISTRONAME}}, a +

    You've reached the website for {{ BRANDING_DISTRONAME }}, a lightweight and flexible Linux® distribution that tries to Keep It Simple.

    @@ -29,8 +29,8 @@ and mailing lists to get your feet wet. Also glance through our wiki - if you want to learn more about {{BRANDING_SHORTNAME}}.

    + title="{{ BRANDING_WIKINAME }}">wiki + if you want to learn more about {{ BRANDING_SHORTNAME }}.

    Learn more...

    @@ -125,7 +125,7 @@
  • Planet Arch
  • International Communities
  • + title="{{ BRANDING_SHORTNAME }} communities in your native language">International Communities

    Support

    @@ -155,7 +155,7 @@

    Development

    diff --git a/templates/public/feeds.html b/templates/public/feeds.html index fd1ad77a..2957692f 100644 --- a/templates/public/feeds.html +++ b/templates/public/feeds.html @@ -91,7 +91,7 @@
    - + -- cgit v1.2.2
    Feed Feed
    Arch Linux{{ BRANDING_DISTRONAME }} Feed Feed Feed