Skip to content

Commit b562500

Browse files
committed
Split arm platforms into separate section
1 parent 8fd3783 commit b562500

File tree

4 files changed

+92
-71
lines changed

4 files changed

+92
-71
lines changed

_includes/download_arm.html

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h3 id="{{ page.name }}">{{ page.name }}</h3>
44
{{ include.content | markdownify }}
55
</div>
66
<div>
7-
{% for device in page.generic_devices %}
7+
{% for device in page.devices %}
88
<div class="download-device-title">
99
<h4>{{ device }}</h4>
1010
<small>{{ site.download_build_date }}</small>
@@ -26,47 +26,5 @@ <h4>{{ device }}</h4>
2626
</li>
2727
</ul>
2828
{% endfor %}
29-
30-
{% for device in page.devices %}
31-
<div class="download-device-title">
32-
<h4>
33-
{{ device.name }}
34-
{% if device.arch %}
35-
({{ device.arch }})
36-
{% endif %}
37-
</h4>
38-
<small>{{ site.download_build_date }}</small>
39-
</div>
40-
<ul class="inline-download-links">
41-
<li>
42-
<a
43-
href="{{ site.download_mirror }}/void-{{ device.name }}-{{ site.download_build_date | date: '%Y%m%d' }}.img.xz"
44-
>Live image</a
45-
>
46-
<span class="label label-default">glibc</span>
47-
</li>
48-
<li>
49-
<a
50-
href="{{ site.download_mirror }}/void-{{ device.name }}-musl-{{ site.download_build_date | date: '%Y%m%d' }}.img.xz"
51-
>Live image</a
52-
>
53-
<span class="label label-warning">musl</span>
54-
</li>
55-
<li>
56-
<a
57-
href="{{ site.download_mirror }}/void-{{ device.name }}-PLATFORMFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
58-
>rootfs tarball</a
59-
>
60-
<span class="label label-default">glibc</span>
61-
</li>
62-
<li>
63-
<a
64-
href="{{ site.download_mirror }}/void-{{ device.name }}-musl-PLATFORMFS-{{ site.download_build_date | date: '%Y%m%d' }}.tar.xz"
65-
>rootfs tarball</a
66-
>
67-
<span class="label label-warning">musl</span>
68-
</li>
69-
</ul>
70-
{% endfor %}
7129
</div>
7230
</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>

_platforms/arm.md

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,15 @@
11
---
22
name: arm
33
date: 1970-01-01 04: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-
generic_devices: [armv6l, armv7l, aarch64]
4+
devices: [armv6l, armv7l, aarch64]
205
---
216

22-
{% capture download_details %}
23-
Live images can be written onto an SD card (i.e. using `dd`) and they allow you to have 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.
7+
{% capture download_details %}
8+
ROOTFS tarballs can be extracted to a previously prepared partition scheme or
9+
used for chroot installation.
2410

25-
Connect to it using a virtual terminal or via ssh and log in as `root`, password `voidlinux`.
26-
27-
General and platform specific instructions for these images are available [in the documentation](https://docs.voidlinux.org/installation/guides/arm-devices/index.html).
28-
29-
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)):
30-
31-
- [BeagleBone/BeagleBone Black](https://wiki.voidlinux.org/Beaglebone)
32-
- [Cubieboard2](https://wiki.voidlinux.org/Cubieboard2_SD-Card)
33-
- [Odroid U2/U3](https://wiki.voidlinux.org/Odroid_U2)
34-
- [USB Armory](https://wiki.voidlinux.org/USB_Armory)
11+
General specific instructions are available [in the
12+
documentation](https://docs.voidlinux.org/installation/guides/arm-devices/index.html).
3513
{% endcapture %}
3614

3715
{% include download_arm.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 allow you to have 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 it using a virtual terminal or via ssh and log in as `root/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)