Skip to content

Commit b539f34

Browse files
ap4ythe-maldridge
authored andcommitted
Add downloads links to the download page
1 parent 591eaa8 commit b539f34

File tree

14 files changed

+383
-98
lines changed

14 files changed

+383
-98
lines changed

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ snow: 1
1111

1212
plugins:
1313
- jekyll-redirect-from
14+
15+
collections:
16+
platforms:
17+
output: true
18+
19+
download_mirror: https://alpha.de.repo.voidlinux.org/live/current
20+
download_build_date: 2019-11-09

_includes/download_arm.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<div class="split-section">
2+
<div>
3+
<h3 id="{{ page.name }}">{{ page.name }}</h3>
4+
{{ include.content | markdownify }}
5+
</div>
6+
<div>
7+
{% for device in page.devices %}
8+
<div class="download-device-title">
9+
<h4>{{ device }}</h4>
10+
<small>{{ site.download_build_date }}</small>
11+
</div>
12+
<ul class="inline-download-links">
13+
<li>
14+
<a
15+
href="{{ site.download_mirror }}/void-{{ device }}-ROOTFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
16+
>rootfs tarball</a
17+
>
18+
<span class="label label-default">glibc</span>
19+
</li>
20+
<li>
21+
<a
22+
href="{{ site.download_mirror }}/void-{{ device }}-musl-ROOTFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
23+
>rootfs tarball</a
24+
>
25+
<span class="label label-warning">musl</span>
26+
</li>
27+
</ul>
28+
{% endfor %}
29+
</div>
30+
</div>

_includes/download_details_pc.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Installable live images support a local installation (with the included packages) or a network installation (packages are downloaded from official repository).
2+
3+
You can log into these images as `anon` or `root`, and the password is `voidlinux`.
4+
5+
To start the installer, execute the `void-installer` utility with appropriate permissions (i.e., `sudo void-installer`).

_includes/download_pc.html

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<div class="split-section">
2+
<div>
3+
<h3 id="{{ page.name }}">{{ page.name }}</h3>
4+
{{ include.content | markdownify }}
5+
<div class="alert alert-warning" role="alert">
6+
To install the packages for the desktop environment, DON'T choose "install
7+
from network" choose the "local install" option.
8+
</div>
9+
</div>
10+
<div>
11+
<div class="download-device-title">
12+
<h4>base</h4>
13+
<small>{{ site.download_build_date }}</small>
14+
</div>
15+
<ul class="inline-download-links">
16+
<li>
17+
<a
18+
href="{{ site.download_mirror }}/void-live-{{ page.name }}-{{ site.download_build_date | date: '%Y%m%d' }}.iso"
19+
>Live image</a
20+
>
21+
<span class="label label-default">glibc</span>
22+
</li>
23+
{% if page.supports_musl %}
24+
<li>
25+
<a
26+
href="{{ site.download_mirror }}/void-live-{{ page.name }}-musl-{{ site.download_build_date | date: '%Y%m%d' }}.iso"
27+
>Live image</a
28+
>
29+
<span class="label label-warning">musl</span>
30+
</li>
31+
{% endif %}
32+
<li>
33+
<a
34+
href="{{ site.download_mirror }}/void-{{ page.name }}-ROOTFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
35+
>rootfs tarball</a
36+
>
37+
<span class="label label-default">glibc</span>
38+
</li>
39+
{% if page.supports_musl %}
40+
<li>
41+
<a
42+
href="{{ site.download_mirror }}/void-{{ page.name }}-musl-ROOTFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
43+
>rootfs tarball</a
44+
>
45+
<span class="label label-warning">musl</span>
46+
</li>
47+
{% endif %}
48+
</ul>
49+
50+
{% for flavor in page.flavors %}
51+
<div class="download-device-title">
52+
<h4>{{ flavor | downcase }}</h4>
53+
<small>{{ site.download_build_date }}</small>
54+
</div>
55+
<ul class="inline-download-links">
56+
<li>
57+
<a
58+
href="{{ site.download_mirror }}/void-live-{{ page.name }}-{{ site.download_build_date | date: '%Y%m%d' }}-{{ flavor | downcase }}.iso"
59+
>Live image</a
60+
>
61+
<span class="label label-default">glibc</span>
62+
</li>
63+
{% if page.supports_musl %}
64+
<li>
65+
<a
66+
href="{{ site.download_mirror }}/void-live-{{ page.name }}-musl-{{ site.download_build_date | date: '%Y%m%d' }}-{{ flavor | downcase }}.iso"
67+
>Live image</a
68+
>
69+
<span class="label label-warning">musl</span>
70+
</li>
71+
{% endif %}
72+
</ul>
73+
{% endfor %}
74+
</div>
75+
</div>

_includes/download_sbc.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<div class="split-section">
2+
<div>
3+
<h3 id="{{ page.name }}">{{ page.name }}</h3>
4+
{{ include.content | markdownify }}
5+
</div>
6+
<div>
7+
{% for device in page.devices %}
8+
<div class="download-device-title">
9+
<h4>
10+
{{ device.name }}
11+
{% if device.arch %}
12+
({{ device.arch }})
13+
{% endif %}
14+
</h4>
15+
<small>{{ site.download_build_date }}</small>
16+
</div>
17+
<ul class="inline-download-links">
18+
<li>
19+
<a
20+
href="{{ site.download_mirror }}/void-{{ device.name }}-{{ site.download_build_date | date: '%Y%m%d' }}.img.xz"
21+
>Live image</a
22+
>
23+
<span class="label label-default">glibc</span>
24+
</li>
25+
<li>
26+
<a
27+
href="{{ site.download_mirror }}/void-{{ device.name }}-musl-{{ site.download_build_date | date: '%Y%m%d' }}.img.xz"
28+
>Live image</a
29+
>
30+
<span class="label label-warning">musl</span>
31+
</li>
32+
<li>
33+
<a
34+
href="{{ site.download_mirror }}/void-{{ device.name }}-PLATFORMFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
35+
>rootfs tarball</a
36+
>
37+
<span class="label label-default">glibc</span>
38+
</li>
39+
<li>
40+
<a
41+
href="{{ site.download_mirror }}/void-{{ device.name }}-musl-PLATFORMFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
42+
>rootfs tarball</a
43+
>
44+
<span class="label label-warning">musl</span>
45+
</li>
46+
</ul>
47+
{% endfor %}
48+
</div>
49+
</div>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="/atom.xml" />
1616
<script src="/assets/js/jquery.min.js"></script>
1717
<script src="/assets/js/bootstrap.min.js"></script>
18+
<script src="/assets/js/tabbar.js"></script>
1819
</head>
1920
<body role="document">
2021
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">

_layouts/download.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
layout: default
3+
---
4+
5+
<div class="container">
6+
{{ content }}
7+
8+
<ul class="tab-bar" id="tab-bar">
9+
{% for platform in site.platforms %}
10+
<li>
11+
<a href="#{{ platform.name }}">{{ platform.name }}</a>
12+
</li>
13+
{% endfor %}
14+
</ul>
15+
16+
<div id="tab-content">
17+
{% for platform in site.platforms %}
18+
<div>
19+
{{ platform.content }}
20+
<noscript>
21+
<hr />
22+
</noscript>
23+
</div>
24+
{% endfor %}
25+
</div>
26+
<section id="tab-content"></section>
27+
</div>

_platforms/arm.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: arm
3+
date: 1970-01-01 04:00:00
4+
devices: [armv6l, armv7l, aarch64]
5+
---
6+
7+
{% capture download_details %}
8+
ROOTFS tarballs can be extracted to a previously prepared partition scheme or
9+
used for chroot installation.
10+
11+
General and platform specific instructions are available [in the
12+
documentation](https://docs.voidlinux.org/installation/guides/arm-devices/index.html).
13+
{% endcapture %}
14+
15+
{% include download_arm.html content=download_details %}

_platforms/i686.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: i686
3+
date: 1970-01-01 03:00:00
4+
flavors: [enlightenment, cinnamon, lxde, lxqt, mate, xfce]
5+
supports_musl: false
6+
---
7+
8+
{% capture download_details %}
9+
{% include download_details_pc.md %}
10+
{% endcapture %}
11+
12+
{% include download_pc.html content=download_details %}

_platforms/sbc.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: arm platforms
3+
date: 1970-01-01 05:00:00
4+
devices:
5+
- name: beaglebone
6+
arch: armv7
7+
- name: cubieboard2
8+
arch: armv7
9+
- name: odroid-c2
10+
arch: armv7
11+
- name: rpi
12+
arch: armv6
13+
- name: rpi2
14+
arch: armv7
15+
- name: rpi3
16+
arch: aarch64
17+
- name: usbarmory
18+
arch: armv7
19+
---
20+
21+
{% capture download_details %}
22+
Live images can be written onto an SD card (i.e. using `dd`) and they provide you with a ready to boot system. These images are prepared for 2GB SD cards. Alternatively, use the ROOTFS tarballs if you want to customize the partitions and filesystems.
23+
24+
Connect to the system using a virtual terminal or SSH and log in as `root` with password `voidlinux`.
25+
26+
Platform specific instructions for these images are available [in the documentation](https://docs.voidlinux.org/installation/guides/arm-devices/platforms.html).
27+
28+
Deprecated instructions for the following platforms can be found in these wiki pages (you can help by porting them over to the [Void Handbook](https://github.com/void-linux/void-docs/blob/master/CONTRIBUTING.md)):
29+
30+
- [BeagleBone/BeagleBone Black](https://wiki.voidlinux.org/Beaglebone)
31+
- [Cubieboard2](https://wiki.voidlinux.org/Cubieboard2_SD-Card)
32+
- [Odroid U2/U3](https://wiki.voidlinux.org/Odroid_U2)
33+
- [USB Armory](https://wiki.voidlinux.org/USB_Armory)
34+
{% endcapture %}
35+
36+
{% include download_sbc.html content=download_details %}

0 commit comments

Comments
 (0)