Announce and release GNU Boot 0.1 RC2 and project status.
The file adding the news is named gnuboot-december-2023.md instead of gnuboot-0.1-rc1.md as the later is understood as a translation in the '1-rc1' lang. Renaming the file to gnuboot-0.1-rc1.en.md instead makes untitled detect the lang correctly but then it assumes this is a translation and adds a broken link for "English" on the new page. For now the older Libreboot news were kept as this shows the history of the project and since GNU Boot is a continuation of the Libreboot project it makes sense to also keep them. The CSS also needed to be separated from the template because otherwise the generated news page would be incomplete and miss all what comes before the CSS like '<!DOCTYPE html>' for instance. Finally x-reviewed was changed into x-unreviewed because we can't set x-reviewed for the news, so the only way to remove the banner for the individual news is to default to reviewed (and to mark all unreviewed files as such). As for the Untitled patch it is needed to make the news page work. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
a2b122343c
commit
0e3ff8047f
5
site.cfg
5
site.cfg
|
@ -1,3 +1,4 @@
|
||||||
TITLE="GNU Boot"
|
TITLE="GNU Boot"
|
||||||
DOMAIN="https://libreboot.at/"
|
CSS="/software/gnuboot/web/global.css"
|
||||||
BLOGDIR="news/" # leave as empty string if you want the blog to be the homepage
|
DOMAIN="https://gnu.org/software/gnuboot/web/"
|
||||||
|
BLOGDIR="news/"
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Contact
|
title: Contact
|
||||||
x-toc-enable: true
|
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Project contributors
|
title: Project contributors
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This list does not necessarily reflect who is currently working on the project,
|
This list does not necessarily reflect who is currently working on the project,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: How to install FreeBSD on x86 GNU GRUB payload
|
title: How to install FreeBSD on x86 GNU GRUB payload
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
FreeBSD might show graphical corruption during bootup. You can fix this by
|
FreeBSD might show graphical corruption during bootup. You can fix this by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: BSD operating systems
|
title: BSD operating systems
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This section is largely x86-centric, pertaining to use of BSD operating systems.
|
This section is largely x86-centric, pertaining to use of BSD operating systems.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: How to install NetBSD on x86 GNU GRUB payload
|
title: How to install NetBSD on x86 GNU GRUB payload
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
GRUB supports booting NetBSD kernels directly. However, you're better off
|
GRUB supports booting NetBSD kernels directly. However, you're better off
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: How to install OpenBSD on x86 GNU GRUB payload
|
title: How to install OpenBSD on x86 GNU GRUB payload
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is written for OpenBSD 6.1, but it can be adapted easily for other
|
This guide is written for OpenBSD 6.1, but it can be adapted easily for other
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Build GNU Boot binaries
|
title: Build GNU Boot binaries
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide documents how to compile GNU Boot binaries from the
|
This guide documents how to compile GNU Boot binaries from the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Depthcharge payload
|
title: Depthcharge payload
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
**This documentation is retained from Libreboot 20160907, but it may also be
|
**This documentation is retained from Libreboot 20160907, but it may also be
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Encrypted Debian GNU+Linux
|
title: Encrypted Debian GNU+Linux
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is written for the Debian distribution, but it should also
|
This guide is written for the Debian distribution, but it should also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Installing GNU+Linux
|
title: Installing GNU+Linux
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Modifying grub.cfg in CBFS
|
title: Modifying grub.cfg in CBFS
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Before you follow this guide, it is advisable that you have the ability to
|
Before you follow this guide, it is advisable that you have the ability to
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Hardening GNU GRUB
|
title: Hardening GNU GRUB
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This article only applies to those people who use the GNU GRUB bootloader as
|
This article only applies to those people who use the GNU GRUB bootloader as
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Encrypted Guix GNU+Linux
|
title: Encrypted Guix GNU+Linux
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Objective
|
Objective
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: GNU+Linux guides
|
title: GNU+Linux guides
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This page is useful for those who wish to use the GNU GRUB payload directly.
|
This page is useful for those who wish to use the GNU GRUB payload directly.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: GRUB payload
|
title: GRUB payload
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
TODO: this guide should be reviewed and updated. Some info might be out of
|
TODO: this guide should be reviewed and updated. Some info might be out of
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ASUS Chromebook C201
|
title: ASUS Chromebook C201
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
NOTE: support for this machine is dropped in recent Libreboot releases. It will
|
NOTE: support for this machine is dropped in recent Libreboot releases. It will
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Intel D510MO and D410PT desktop boards
|
title: Intel D510MO and D410PT desktop boards
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This is a desktop board using intel hardware (circa \~2009, ICH7
|
This is a desktop board using intel hardware (circa \~2009, ICH7
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Intel D945GCLF desktop board
|
title: Intel D945GCLF desktop board
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
If you just want flashing instructions, go to
|
If you just want flashing instructions, go to
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Gigabyte GA-G41M-ES2L desktop board
|
title: Gigabyte GA-G41M-ES2L desktop board
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This is a desktop board using intel hardware (circa \~2009, ICH7
|
This is a desktop board using intel hardware (circa \~2009, ICH7
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Apple iMac 5,2
|
title: Apple iMac 5,2
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Information to be written soon, but this board is merged in libreboot.
|
Information to be written soon, but this board is merged in libreboot.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Hardware compatibility list
|
title: Hardware compatibility list
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This sections relates to known hardware compatibility in libreboot.
|
This sections relates to known hardware compatibility in libreboot.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ASUS KCMA-D8 desktop/workstation board
|
title: ASUS KCMA-D8 desktop/workstation board
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ASUS KFSN4-DRE server/workstation board
|
title: ASUS KFSN4-DRE server/workstation board
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This is a server board using AMD hardware (Fam10h). It can also be used
|
This is a server board using AMD hardware (Fam10h). It can also be used
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ASUS KGPE-D16 server/workstation board
|
title: ASUS KGPE-D16 server/workstation board
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Changing the MAC address
|
title: Changing the MAC address
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction (GM45+e1000)
|
Introduction (GM45+e1000)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: MacBook2,1 and MacBook1,1
|
title: MacBook2,1 and MacBook1,1
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
There is an Apple laptop called the macbook1,1 from 2006 which uses the
|
There is an Apple laptop called the macbook1,1 from 2006 which uses the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad R400
|
title: ThinkPad R400
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
It is believed that all or most R400 laptops are compatible. See notes
|
It is believed that all or most R400 laptops are compatible. See notes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad R500
|
title: ThinkPad R500
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This board as basically identical to the T500, and has very similar disassembly.
|
This board as basically identical to the T500, and has very similar disassembly.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad T400
|
title: ThinkPad T400
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad T500
|
title: ThinkPad T500
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad X200
|
title: ThinkPad X200
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Documentation
|
title: Documentation
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Always check [libreboot.srht.site](https://libreboot.srht.site/) for the latest updates to
|
Always check [libreboot.srht.site](https://libreboot.srht.site/) for the latest updates to
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ASUS Chromebook C201 installation guide
|
title: ASUS Chromebook C201 installation guide
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
**Libreboot 20160907 only. This board was dropped in subsequent releases, but
|
**Libreboot 20160907 only. This board was dropped in subsequent releases, but
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: D510MO flashing tutorial
|
title: D510MO flashing tutorial
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is for those who want libreboot on their Intel D510MO
|
This guide is for those who want libreboot on their Intel D510MO
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Intel D945GCLF flashing tutorial
|
title: Intel D945GCLF flashing tutorial
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is for those who want libreboot on their Intel D945GCLF
|
This guide is for those who want libreboot on their Intel D945GCLF
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: GA-G41M-ES2L flashing tutorial
|
title: GA-G41M-ES2L flashing tutorial
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is for those who want libreboot on their Intel GA-G41M-ES2L
|
This guide is for those who want libreboot on their Intel GA-G41M-ES2L
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ich9utils
|
title: ich9utils
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Installation instructions
|
title: Installation instructions
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This section relates to installing Libreboot on supported targets.
|
This section relates to installing Libreboot on supported targets.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: KGPE-D16 external flashing instructions
|
title: KGPE-D16 external flashing instructions
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Initial flashing instructions for KGPE-D16.
|
Initial flashing instructions for KGPE-D16.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Flashing the ThinkPad R400
|
title: Flashing the ThinkPad R400
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Initial flashing instructions for R400.
|
Initial flashing instructions for R400.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Read/write 25XX NOR flash via SPI protocol
|
title: Read/write 25XX NOR flash via SPI protocol
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide will teach you how to use various tools for externally reprogramming
|
This guide will teach you how to use various tools for externally reprogramming
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Flashing the ThinkPad T400 externally
|
title: Flashing the ThinkPad T400 externally
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Initial flashing instructions for T400.
|
Initial flashing instructions for T400.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Flashing the T500 with a BeagleBone Black
|
title: Flashing the T500 with a BeagleBone Black
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Initial flashing instructions for T500.
|
Initial flashing instructions for T500.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad T60 Recovery guide
|
title: ThinkPad T60 Recovery guide
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This section documents how to recover from a bad flash that prevents
|
This section documents how to recover from a bad flash that prevents
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: First-time ThinkPad X200 flashing
|
title: First-time ThinkPad X200 flashing
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This guide is for those who want libreboot on their ThinkPad X200 while
|
This guide is for those who want libreboot on their ThinkPad X200 while
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad X60 Recovery guide
|
title: ThinkPad X60 Recovery guide
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This section documents how to recover from a bad flash that prevents
|
This section documents how to recover from a bad flash that prevents
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: ThinkPad X60 Tablet Recovery guide
|
title: ThinkPad X60 Tablet Recovery guide
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This section documents how to recover from a bad flash that prevents
|
This section documents how to recover from a bad flash that prevents
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Product Codenames
|
title: Product Codenames
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
TODO: this page could do with an update. More info, about more boards
|
TODO: this page could do with an update. More info, about more boards
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Miscellaneous
|
title: Miscellaneous
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
TODO: this page is very old, and could do with an update.
|
TODO: this page is very old, and could do with an update.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Libreboot releases
|
title: Libreboot releases
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This page has [merged with the main news section](/news/)
|
This page has [merged with the main news section](/news/)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Libreboot releases
|
title: Libreboot releases
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
This page has merged with the default news section.
|
This page has merged with the default news section.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Downloads
|
title: Downloads
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
New releases are announced in the [main news section](news/).
|
New releases are announced in the [main news section](news/).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Frequently Asked Questions
|
title: Frequently Asked Questions
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
AKA Frequently Questioned Answers
|
AKA Frequently Questioned Answers
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
.warning_banner {
|
||||||
|
background:#000000;
|
||||||
|
color:#ffffff;
|
||||||
|
margin:0 auto;
|
||||||
|
font-family:sans-serif;
|
||||||
|
line-height:5
|
||||||
|
}
|
||||||
|
|
||||||
|
html{
|
||||||
|
background:#fff;
|
||||||
|
color:#222;
|
||||||
|
}
|
||||||
|
|
||||||
|
table, th, td {
|
||||||
|
border: solid;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date,.author,.h a{display:none}
|
||||||
|
code,pre,#TOC,a:hover{background:#eee}
|
||||||
|
:not(p),a:hover {
|
||||||
|
max-width:60em;
|
||||||
|
margin:0 auto;
|
||||||
|
font-family:sans-serif;
|
||||||
|
line-height:1.4
|
||||||
|
}
|
||||||
|
a{color:#22d}
|
||||||
|
.title>*, header ul>li, .nav ul>li,
|
||||||
|
#footer ul>li, .h:hover>*
|
||||||
|
ul>li
|
||||||
|
{
|
||||||
|
display:inline;
|
||||||
|
margin:.7%;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.title>*,span.date{display:block}
|
||||||
|
img,video,iframe{max-width:100%}
|
||||||
|
#TOC{
|
||||||
|
float:left;
|
||||||
|
margin:1em
|
||||||
|
}
|
||||||
|
html,ul,#TOC{padding:1em}
|
||||||
|
@media (min-width:60em) {
|
||||||
|
.title-logo{display:none}
|
||||||
|
div.title {background-position:right}
|
||||||
|
h1.title {padding:0 4em}
|
||||||
|
#TOC{min-width:25%}
|
||||||
|
}
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Free your BIOS today!
|
title: Free your BIOS today!
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
### What is this? ####
|
### What is this? ####
|
||||||
|
@ -12,7 +11,7 @@ boot firmware that comes with computers with free boot software.
|
||||||
|
|
||||||
Right now GNU Boot is still in its early stage.
|
Right now GNU Boot is still in its early stage.
|
||||||
|
|
||||||
It should be relatively safe to use the [last release
|
It should be relatively safe to use the [previous release
|
||||||
candidate](https://ftp.gnu.org/gnu/gnuboot/) (GNU Boot 0.1-rc1) as is
|
candidate](https://ftp.gnu.org/gnu/gnuboot/) (GNU Boot 0.1-rc1) as is
|
||||||
has minimal changes on top of Libreboot 20220710 (the last 100% free
|
has minimal changes on top of Libreboot 20220710 (the last 100% free
|
||||||
release of Libreboot) and also because several people tested it and
|
release of Libreboot) and also because several people tested it and
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: License
|
title: License
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
Unless otherwise stated, every page and image (e.g. JPG/PNG files) on
|
Unless otherwise stated, every page and image (e.g. JPG/PNG files) on
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Libreboot logo license
|
title: Libreboot logo license
|
||||||
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
The Libreboot logo is copyright 2014 Marcus Moeller, and it was also created by
|
The Libreboot logo is copyright 2014 Marcus Moeller, and it was also created by
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
gnuboot-december-2023.md
|
||||||
translations.md
|
translations.md
|
||||||
libreboot20211122.md
|
libreboot20211122.md
|
||||||
libreboot20210522.md
|
libreboot20210522.md
|
||||||
|
|
|
@ -0,0 +1,213 @@
|
||||||
|
% GNU Boot December 2023 News
|
||||||
|
% GNU Boot Maintainers
|
||||||
|
% December 2023
|
||||||
|
|
||||||
|
GNU Boot December 2023 News
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Announcements:
|
||||||
|
--------------
|
||||||
|
|
||||||
|
The last project announcement was made in the gnuboot mailing
|
||||||
|
list[1][2] at a time where we didn't have a website or an announce
|
||||||
|
mailing list yet.
|
||||||
|
|
||||||
|
So this announce and the next ones will be published in multiple
|
||||||
|
places:
|
||||||
|
|
||||||
|
- On the gnuboot[3] and gnuboot-announce[4] mailing lists
|
||||||
|
|
||||||
|
- On the GNU Boot website[5].
|
||||||
|
|
||||||
|
GNU Boot 0.1 RC2:
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
We just released GNU Boot 0.1 RC2. We also need help from testers for
|
||||||
|
this release, especially because few intrusive changes were made.
|
||||||
|
|
||||||
|
Website:
|
||||||
|
--------
|
||||||
|
|
||||||
|
Since the last announce a lot of work was done on the code to deploy
|
||||||
|
the website to make to make it easy for contributors and maintainers
|
||||||
|
to do changes to the website and review them.
|
||||||
|
|
||||||
|
The website has also been published. Not everything is ready in
|
||||||
|
it, but it contains enough to understand how to contribute to GNU Boot.
|
||||||
|
|
||||||
|
The pages that are not ready yet were also published with a special
|
||||||
|
banner to indicate that.
|
||||||
|
|
||||||
|
Since we now have a website, contribution instructions[6], and even a
|
||||||
|
list of areas where we are looking for contributions[6], we can now
|
||||||
|
accept patches.
|
||||||
|
|
||||||
|
The website is also now integrated in the GNU Boot source code and we
|
||||||
|
have special code to make it easy to test it locally (and deploy it
|
||||||
|
semi-automatically). So it should make contributions easier.
|
||||||
|
|
||||||
|
Testing:
|
||||||
|
--------
|
||||||
|
|
||||||
|
We would also like to thank all the people who tested GNU Boot 0.1 RC1
|
||||||
|
since the last announce, especially since this can be a lot of
|
||||||
|
work, especially because there are many computers to test.
|
||||||
|
|
||||||
|
The following computers were tested with GNU Boot 0.1 RC1 and they all
|
||||||
|
boot fine:
|
||||||
|
* Lenovo Thinkpad R400, T400, T500, T60, W500, X60, X60T, X200, X301
|
||||||
|
* Asus: KGPE-D16
|
||||||
|
* Apple: MacBook 2.1
|
||||||
|
|
||||||
|
Since some popular computers were tested[7], we are now also looking
|
||||||
|
for testers and contributions on the installation instructions. Even
|
||||||
|
if GNU Boot 0.1 RC2 has already been published, it's probably easier
|
||||||
|
to do the tests with GNU Boot 0.1 RC1 and a computer that was already
|
||||||
|
tested as there is no changes that could affect the installation
|
||||||
|
instructions between 0.1 RC1 and 0.1 RC2.
|
||||||
|
|
||||||
|
The following computers / mainboards weren't tested yet with the 0.1
|
||||||
|
RC1 yet so we also need testers for them (ideally on the 0.1 RC2):
|
||||||
|
|
||||||
|
* Chromebook: C201
|
||||||
|
* Intel: D410PT, D510MO, D945GCLF2D
|
||||||
|
* Gigabyte: D945GCLF, GA-G41M-ES2L
|
||||||
|
* Asus: KCMA-D8, KFSN4-DRE
|
||||||
|
* Apple: MacBook 1.1, iMac 5,2
|
||||||
|
* Lenovo Thinkpads: R500, T400s, X60s, X200s, X200T, X60T.
|
||||||
|
|
||||||
|
And as stated above we also need to re-test with the RC2 the computers
|
||||||
|
that were already tested with the RC1 to make sure that we didn't
|
||||||
|
break anything.
|
||||||
|
|
||||||
|
Nonfree software found in the source release of GNU Boot 0.1 RC1.
|
||||||
|
-----------------------------------------------------------------
|
||||||
|
|
||||||
|
In the GNU Boot source release (gnuboot-0.1-rc1_src.tar.xz) we found
|
||||||
|
the 3 files (F12MicrocodePatch03000002.c, F12MicrocodePatch0300000e.c,
|
||||||
|
F12MicrocodePatch03000027.c) that contain microcode in binary form,
|
||||||
|
without corresponding source code. They already have been removed from
|
||||||
|
GNU Boot and an RC2 release without these files is on its way.
|
||||||
|
|
||||||
|
GNU Boot running nonfree software:
|
||||||
|
----------------------------------
|
||||||
|
GNU Boot is still in its early stages and many of the directions the
|
||||||
|
project can take are still being evaluated.
|
||||||
|
|
||||||
|
So it's a good time to warn people that in some cases GNU Boot does
|
||||||
|
run nonfree software on computers other than laptops, and that it
|
||||||
|
may change in the future (we have to decide how to deal with this
|
||||||
|
problem).
|
||||||
|
|
||||||
|
The issue is that ATI and Nvidia external GPUs do contain nonfree
|
||||||
|
software. That nonfree software is stored on the card in a memory chip.
|
||||||
|
|
||||||
|
At least in some configurations[8], if such GPU is present, GNU Boot
|
||||||
|
downloads and executes that software. Then later on in the boot,
|
||||||
|
Linux-libre also downloads and execute another nonfree software from
|
||||||
|
that same GPU.
|
||||||
|
|
||||||
|
If we decide to block that (it's relatively easy to do that in GNU
|
||||||
|
Boot) then users won't be able to use such GPU anymore. If we don't
|
||||||
|
block it, many users will not know about this freedom issue and will
|
||||||
|
think that they only run free software while nonfree software is
|
||||||
|
being executed behind their back.
|
||||||
|
|
||||||
|
This is also why the FSF RYF (Respect Your freedom) certification[9] is
|
||||||
|
important: it takes care of details like that and these GPUs or systems
|
||||||
|
with such GPUs are not certified by it.
|
||||||
|
|
||||||
|
Work in progress and future directions:
|
||||||
|
---------------------------------------
|
||||||
|
Work also started to improve the build system to make it easier to
|
||||||
|
understand and contribute. We also started adding tests along the way.
|
||||||
|
|
||||||
|
Though we still use old versions of Coreboot especially for the Asus
|
||||||
|
KCMA-D8, KFSN4-DRE and KGPE D16. Compiling GNU Boot images for these
|
||||||
|
computers requires specific distributions like PureOS 10 (byzantium)
|
||||||
|
or Trisquel 10 (nabia).
|
||||||
|
|
||||||
|
We plan to try to change that after the GNU Boot 0.1 release.
|
||||||
|
|
||||||
|
To do it we plan to update the versions of the software we build (like
|
||||||
|
Coreboot, GRUB, etc) but also to progressively switch to Guix to build
|
||||||
|
more and more parts of the images.
|
||||||
|
|
||||||
|
So far we managed to use Guix to building a GRUB payload (part of
|
||||||
|
that work was already upstreamed in Guix) and to build a custom Flashrom
|
||||||
|
that can be used to do installation on the I945 Thinkpads (X60, T60,
|
||||||
|
etc) but more work is needed (code cleanup, documentation, making it
|
||||||
|
easy to use for contributors) before we can integrate that code.
|
||||||
|
|
||||||
|
Integrating it now instead of waiting for the release would increase
|
||||||
|
the risk of introducing new bugs and inconsistencies (for instance in
|
||||||
|
the documentation), and reduce the amount of help we can get, and
|
||||||
|
since it is a big task there is also the risk of never finishing
|
||||||
|
it[10]. So we chose to do that step by step without breaking the
|
||||||
|
documentation or current usage of GNU Boot.
|
||||||
|
|
||||||
|
As for the website we are currently using Untitled, a static website
|
||||||
|
generator that use files in markdown with a custom header format.
|
||||||
|
|
||||||
|
We plan to migrate at least part of the website to Texinfo to generate a
|
||||||
|
proper manual with it and we already have code to convert from the
|
||||||
|
special markdown used to Texinfo, but the conversion sometimes needs
|
||||||
|
some manual intervention.
|
||||||
|
|
||||||
|
We're also not ready yet to do that conversion as keeping the markdown
|
||||||
|
a bit longer might make it easier for contributors to help us fix the
|
||||||
|
website.
|
||||||
|
|
||||||
|
We also evaluated Haunt, a static website generator that supports
|
||||||
|
markdown and Texinfo and that is also used by Guix for their website.
|
||||||
|
|
||||||
|
We managed to validate that we could easily write code to make it use
|
||||||
|
the custom markdown used by untitled. However we didn't invest time in
|
||||||
|
trying to make it generate a website (by default it generate blog
|
||||||
|
posts), so if some people already know haunt well or want to learn it
|
||||||
|
and are interested in helping it could be very useful. For that the
|
||||||
|
best would be to contact us on the gnuboot mailing list.
|
||||||
|
|
||||||
|
This is also important because according to its author, Untitled has
|
||||||
|
some design issues (and it is written in shell scripts) and so it will
|
||||||
|
most likely be rewritten from scratch in another programming language
|
||||||
|
by its author at some point.
|
||||||
|
|
||||||
|
In the meantime we sent patches upstream to fix some of the issues we
|
||||||
|
had with it and the patches were accepted.
|
||||||
|
|
||||||
|
Toward the 0.1 release:
|
||||||
|
------------------------
|
||||||
|
What is missing before we release GNU Boot 0.1 is basically more
|
||||||
|
testing and help on the website, especially the installation
|
||||||
|
instructions.
|
||||||
|
|
||||||
|
References:
|
||||||
|
-----------
|
||||||
|
|
||||||
|
[1]"Testers needed for GNU Boot 0.1 RC1".
|
||||||
|
|
||||||
|
[2]https://lists.gnu.org/archive/html/gnuboot/2023-09/msg00000.html
|
||||||
|
|
||||||
|
[3]https://lists.gnu.org/mailman/listinfo/gnuboot
|
||||||
|
|
||||||
|
[4]https://lists.gnu.org/mailman/listinfo/gnuboot-announce
|
||||||
|
|
||||||
|
[5]https://gnu.org/software/gnuboot/web/news/gnuboot-0.1-rc2.html
|
||||||
|
|
||||||
|
[6]https://www.gnu.org/software/gnuboot/web/git.html
|
||||||
|
|
||||||
|
[7]https://savannah.gnu.org/bugs/?64754
|
||||||
|
|
||||||
|
[8]We know for sure that when SeaBIOS is used, it will download and
|
||||||
|
execute nonfree software from GPU cards that are added to the
|
||||||
|
computer. But we're not sure what happens if SeaBIOS is not
|
||||||
|
used. An easy way to find out is if the GPU works under GNU/Linux
|
||||||
|
and that the display is initialized, then at least some nonfree
|
||||||
|
bytecode has been downloaded and executed by the operating system.
|
||||||
|
|
||||||
|
[9]https://ryf.fsf.org/
|
||||||
|
|
||||||
|
[10]See "General tips on maintaining GNU software" in
|
||||||
|
https://www.gnu.org/software/maintainer-tips for more details
|
||||||
|
about common issues when maintaining a new project.
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Libreboot news
|
title: GNU Boot news
|
||||||
x-toc-enable: true
|
x-toc-enable: true
|
||||||
...
|
...
|
||||||
|
|
||||||
News about libreboot, both technical and organisational. Releases are also
|
News about GNU Boot, both technical and organisational. Releases are also
|
||||||
announced here.
|
announced here.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
BLOGTITLE="News for Libreboot.org"
|
BLOGTITLE="GNU Boot news"
|
||||||
BLOGDESCRIPTION="News for Libreboot.org"
|
BLOGDESCRIPTION="GNU Boot news"
|
||||||
|
|
131
site/status.md
131
site/status.md
|
@ -1,8 +1,104 @@
|
||||||
---
|
---
|
||||||
title: Code review
|
title: Code review
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
GNU Boot 0.1 RC2 status
|
||||||
|
=======================
|
||||||
|
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Vendor | Product | Stability | Installation instructions |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Apple | MacBook 1.1 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Apple | MacBook 2.1 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Apple | iMac 5,2 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Asus | Chromebook C201 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Asus | KCMA-D8 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Asus | KFSN4-DRE | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Asus | KGPE-D16 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Gigabyte | D945GCLF2D | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Gigabyte | GA-G41M-ES2L | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Intel | D410PT | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Intel | D510MO | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Intel | D945GCLF | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad R400 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad R500 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad T400 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad T400S | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad T500 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad T60 | Untested | Untested, can be simplified |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad W500 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X200 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X200S | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X200T | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X301 | Untested | Untested |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X60 | Untested | Untested, can be simplified |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X60T | Untested | Untested, can be simplified |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Lenovo | Thinkpad X60s | Untested | Untested, can be simplified |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
| Qemu | PC (i440FX) | Untested | Missing |
|
||||||
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
|
||||||
|
Stability:
|
||||||
|
----------
|
||||||
|
|
||||||
|
* Untested: The GNU Boot maintainers are not aware of anybody who
|
||||||
|
tested GNU Boot 0.1 RC1 on that computer. If you have GNU Boot on
|
||||||
|
this computer please report if it works or not (for instance by
|
||||||
|
opening a bug report).
|
||||||
|
|
||||||
|
* Tested: Someone tested GNU Boot 0.1 RC1 on that computer and
|
||||||
|
reported to the GNU Boot that it at least booted fine.
|
||||||
|
|
||||||
|
* Daily users: Some people contacted the GNU Boot maintainers and
|
||||||
|
volunteered to send bug reports if installing GNU Boot made the
|
||||||
|
computer unusable or very hard to use (like a memory corruption that
|
||||||
|
makes it impossible to boot certain GNU/Linux distributions or
|
||||||
|
crashes the computer randomly). If you want to help GNU Boot
|
||||||
|
with that, please contact the maintainers through a bug report.
|
||||||
|
|
||||||
|
Installation instructions:
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
* Untested: Nobody tested the GNU Boot installation instructions for
|
||||||
|
this computer.
|
||||||
|
|
||||||
|
* Can be simplified: There is work in progress to simplify the
|
||||||
|
instructions by having GNU Boot release the tools required to do the
|
||||||
|
installation and by requiring to keep the computer connected to the
|
||||||
|
electricity (by keeping its power supply connected) instead of
|
||||||
|
requiring to disassemble it to check a battery voltage.
|
||||||
|
|
||||||
|
* Tested: The installation instructions worked well.
|
||||||
|
|
||||||
|
* Missing: There are no installation instructions for this device and
|
||||||
|
we need help from contributors to add them.
|
||||||
|
|
||||||
|
|
||||||
GNU Boot 0.1 RC1 status
|
GNU Boot 0.1 RC1 status
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|
@ -62,37 +158,8 @@ GNU Boot 0.1 RC1 status
|
||||||
| Lenovo | Thinkpad X60s | Untested | Untested, can be simplified |
|
| Lenovo | Thinkpad X60s | Untested | Untested, can be simplified |
|
||||||
+----------+-----------------+-----------+-----------------------------+
|
+----------+-----------------+-----------+-----------------------------+
|
||||||
|
|
||||||
Stability:
|
See the status of GNU Boot 0.1 RC2 above for the meaning of the
|
||||||
----------
|
various fields.
|
||||||
|
|
||||||
* Untested: The GNU Boot maintainers are not aware of anybody who
|
|
||||||
tested GNU Boot 0.1 RC1 on that computer. If you have GNU Boot on
|
|
||||||
this computer please report if it works or not (for instance by
|
|
||||||
opening a bug report).
|
|
||||||
|
|
||||||
* Tested: Someone tested GNU Boot 0.1 RC1 on that computer and
|
|
||||||
reported to the GNU Boot that it at least booted fine.
|
|
||||||
|
|
||||||
* Daily users: Some people contacted the GNU Boot maintainers and
|
|
||||||
volunteered to send bug reports if installing GNU Boot made the
|
|
||||||
computer unusable or very hard to use (like a memory corruption that
|
|
||||||
makes it impossible to boot certain GNU/Linux distributions or
|
|
||||||
crashes the computer randomly). If you want to help GNU Boot
|
|
||||||
with that, please contact the maintainers through a bug report.
|
|
||||||
|
|
||||||
Installation instructions:
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
* Untested: Nobody tested the GNU Boot installation instructions for
|
|
||||||
this computer.
|
|
||||||
|
|
||||||
* Can be simplified: There is work in progress to simplify the
|
|
||||||
instructions by having GNU Boot release the tools required to do the
|
|
||||||
installation and by requiring to keep the computer connected to the
|
|
||||||
electricity (by keeping its power supply connected) instead of
|
|
||||||
requiring to disassemble it to check a battery voltage.
|
|
||||||
|
|
||||||
* Tested: The installation instructions worked well.
|
|
||||||
|
|
||||||
Upstream status
|
Upstream status
|
||||||
===============
|
===============
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Tasks
|
title: Tasks
|
||||||
x-toc-enable: true
|
x-unreviewed: true
|
||||||
...
|
...
|
||||||
|
|
||||||
Help the Libreboot project
|
Help the Libreboot project
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Template license
|
title: Template license
|
||||||
x-reviewed: true
|
|
||||||
...
|
...
|
||||||
|
|
||||||
This website is written in Markdown, and compiled into static HTML using
|
This website is written in Markdown, and compiled into static HTML using
|
||||||
|
|
|
@ -14,57 +14,6 @@ $if(keywords)$
|
||||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
|
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
|
||||||
$endif$
|
$endif$
|
||||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
.warning_banner {
|
|
||||||
background:#000000;
|
|
||||||
color:#ffffff;
|
|
||||||
margin:0 auto;
|
|
||||||
font-family:sans-serif;
|
|
||||||
line-height:5
|
|
||||||
}
|
|
||||||
|
|
||||||
html{
|
|
||||||
background:#fff;
|
|
||||||
color:#222;
|
|
||||||
}
|
|
||||||
|
|
||||||
table, th, td {
|
|
||||||
border: solid;
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date,.author,.h a{display:none}
|
|
||||||
code,pre,#TOC,a:hover{background:#eee}
|
|
||||||
:not(p),a:hover {
|
|
||||||
max-width:60em;
|
|
||||||
margin:0 auto;
|
|
||||||
font-family:sans-serif;
|
|
||||||
line-height:1.4
|
|
||||||
}
|
|
||||||
a{color:#22d}
|
|
||||||
.title>*, header ul>li, .nav ul>li,
|
|
||||||
#footer ul>li, .h:hover>*
|
|
||||||
ul>li
|
|
||||||
{
|
|
||||||
display:inline;
|
|
||||||
margin:.7%;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
.title>*,span.date{display:block}
|
|
||||||
img,video,iframe{max-width:100%}
|
|
||||||
#TOC{
|
|
||||||
float:left;
|
|
||||||
margin:1em
|
|
||||||
}
|
|
||||||
html,ul,#TOC{padding:1em}
|
|
||||||
@media (min-width:60em) {
|
|
||||||
.title-logo{display:none}
|
|
||||||
div.title {background-position:right}
|
|
||||||
h1.title {padding:0 4em}
|
|
||||||
#TOC{min-width:25%}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
$if(quotes)$
|
$if(quotes)$
|
||||||
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
||||||
$endif$
|
$endif$
|
||||||
|
@ -118,8 +67,7 @@ $endif$
|
||||||
<li><strong><a href="https://ryf.fsf.org/categories/laptops">Buy preinstalled</a></strong></li>
|
<li><strong><a href="https://ryf.fsf.org/categories/laptops">Buy preinstalled</a></strong></li>
|
||||||
</ul>
|
</ul>
|
||||||
<hr/>
|
<hr/>
|
||||||
$if(x-reviewed)$
|
$if(x-unreviewed)$
|
||||||
$else$
|
|
||||||
<div class="warning_banner">
|
<div class="warning_banner">
|
||||||
<p>
|
<p>
|
||||||
The information on this page could be outdated or refer to other
|
The information on this page could be outdated or refer to other
|
||||||
|
@ -131,6 +79,7 @@ $else$
|
||||||
</p>
|
</p>
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
|
$else$
|
||||||
$endif$
|
$endif$
|
||||||
</header>
|
</header>
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -19,8 +19,10 @@ EX_USAGE=64
|
||||||
|
|
||||||
untitled_uri="https://notabug.org/untitled/untitled.git"
|
untitled_uri="https://notabug.org/untitled/untitled.git"
|
||||||
untitled_path=""
|
untitled_path=""
|
||||||
untitled_commit="6941ffefe04375296732565a4628b549eea54a64"
|
untitled_commit="a147a4303b5608db8fde08abd08b7cc21f1a0c03"
|
||||||
|
untitled_patches=" \
|
||||||
|
patches/0001-Enable-to-deploy-websites-in-subdirectories.patch \
|
||||||
|
"
|
||||||
help()
|
help()
|
||||||
{
|
{
|
||||||
echo "Usage: $0 [options]"
|
echo "Usage: $0 [options]"
|
||||||
|
@ -44,6 +46,7 @@ sync_repo()
|
||||||
src_uri="$2"
|
src_uri="$2"
|
||||||
src_path="$3"
|
src_path="$3"
|
||||||
src_revision="$4"
|
src_revision="$4"
|
||||||
|
src_patches="$5"
|
||||||
|
|
||||||
if [ -z "${src_path}" ] && [ ! -d "${dst_path}" ] ; then
|
if [ -z "${src_path}" ] && [ ! -d "${dst_path}" ] ; then
|
||||||
git clone "${src_uri}" "${dst_path}"
|
git clone "${src_uri}" "${dst_path}"
|
||||||
|
@ -68,6 +71,18 @@ sync_repo()
|
||||||
git -C "${dst_path}" checkout "${src_revision}"
|
git -C "${dst_path}" checkout "${src_revision}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if git -C "${dst_path}" status | \
|
||||||
|
grep '^rebase in progress;' > /dev/null ; then
|
||||||
|
git -C "${dst_path}" am --abort
|
||||||
|
fi
|
||||||
|
|
||||||
|
for patch in ${src_patches} ; do
|
||||||
|
GIT_COMMITTER_EMAIL="noreply@gnuboot.gnu.org" \
|
||||||
|
GIT_COMMITTER_NAME="website-build" \
|
||||||
|
git -C "${dst_path}" am $(realpath ${patch})
|
||||||
|
done
|
||||||
else
|
else
|
||||||
rm -rf "${dst_path}"
|
rm -rf "${dst_path}"
|
||||||
cp -a "${src_path}" "${dst_path}"
|
cp -a "${src_path}" "${dst_path}"
|
||||||
|
@ -126,7 +141,8 @@ done
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
sync_repo "untitled" \
|
sync_repo "untitled" \
|
||||||
"${untitled_uri}" "${untitled_path}" "${untitled_commit}"
|
"${untitled_uri}" "${untitled_path}" \
|
||||||
|
"${untitled_commit}" "${untitled_patches}"
|
||||||
|
|
||||||
if [ "${download_only}" -eq 0 ] ; then
|
if [ "${download_only}" -eq 0 ] ; then
|
||||||
copy_website "untitled/www/lbwww/"
|
copy_website "untitled/www/lbwww/"
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
From 638abbd35c41a4695ecaf7e569027c83a355d385 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||||
|
Date: Wed, 6 Dec 2023 21:29:31 +0100
|
||||||
|
Subject: [PATCH] Enable to deploy websites in subdirectories.
|
||||||
|
|
||||||
|
Sometimes people just have shell accounts on a server and the machine
|
||||||
|
is setup to serve web pages from their home directory. In that case
|
||||||
|
the domains typically looks like https://domain.org/~username/.
|
||||||
|
|
||||||
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||||
|
---
|
||||||
|
include/news.sh | 22 ++++++++++++++++++----
|
||||||
|
1 file changed, 18 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/news.sh b/include/news.sh
|
||||||
|
index 1886fcb..5d33987 100755
|
||||||
|
--- a/include/news.sh
|
||||||
|
+++ b/include/news.sh
|
||||||
|
@@ -51,7 +51,16 @@ mkarticle()
|
||||||
|
fi
|
||||||
|
while read -r f; do
|
||||||
|
_page="$(sanitizefilename "${f#"${_sitedir}/site/"}")"
|
||||||
|
- meta "${_page}" "${_sitedir}/site" \
|
||||||
|
+
|
||||||
|
+ _protocol="$(echo "${DOMAIN%/}" | sed 's#://.*##')"
|
||||||
|
+
|
||||||
|
+ _domain="$(echo "${DOMAIN%/}" | \
|
||||||
|
+ sed "s#${_protocol}://##" | sed 's#/.*##')"
|
||||||
|
+
|
||||||
|
+ _path="$(echo "${DOMAIN%/}" | \
|
||||||
|
+ sed "s#^${_protocol}://${_domain}/\?##")"
|
||||||
|
+
|
||||||
|
+ meta "${_page}" "${_sitedir}/site" "${_path}" \
|
||||||
|
>> "${_sitedir}/site/${_manifestdir}/index.md"
|
||||||
|
done < "${tmpdir}/xnews"
|
||||||
|
|
||||||
|
@@ -78,11 +87,16 @@ mkarticle()
|
||||||
|
mkhtml "$_sitedir/site/${_manifestdir}/index.md" "${_sitedir##*/}"
|
||||||
|
}
|
||||||
|
|
||||||
|
-# usage: meta file
|
||||||
|
+# usage: meta file filedir
|
||||||
|
meta()
|
||||||
|
{
|
||||||
|
- printf '%s\n' \
|
||||||
|
- "[$(mktitle "${2}/${1}")](/${1}){.title}"
|
||||||
|
+ if [ -n "${3}" ] ; then
|
||||||
|
+ printf '%s\n' \
|
||||||
|
+ "[$(mktitle "${2}/${1}")](/${3}/${1}){.title}"
|
||||||
|
+ else
|
||||||
|
+ printf '%s\n' \
|
||||||
|
+ "[$(mktitle "${2}/${1}")](/${1}){.title}"
|
||||||
|
+ fi
|
||||||
|
|
||||||
|
printf '%s\n' \
|
||||||
|
"[$(sed -n 3p "${2}/${1}" | sed -e s-^..--)]{.date}"
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
Loading…
Reference in New Issue