diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/contrib.md | 3 | ||||
-rw-r--r-- | www/download.md | 23 | ||||
-rw-r--r-- | www/faq.md | 20 | ||||
-rwxr-xr-x | www/index.sh | 36 | ||||
-rwxr-xr-x | www/publish.sh | 8 | ||||
-rw-r--r-- | www/rsync.md | 47 |
6 files changed, 53 insertions, 84 deletions
diff --git a/www/contrib.md b/www/contrib.md index 2322157e..da619d07 100644 --- a/www/contrib.md +++ b/www/contrib.md @@ -105,8 +105,7 @@ in coreboot, and then helped her integrate the fix in libreboot. Contact Peter Stuge ----------- -Helped write the section about DMA on -[../faq.md\#firmware-hddssd](../faq.md#firmware-hddssd), and provided +Helped write the [FAQ section about DMA](../faq.md#hddssd-firmware), and provided general advice in early days of the project. Contact **CareBear\\** in the \#coreboot IRC channel on freenode. diff --git a/www/download.md b/www/download.md index 8e329a35..18155a9c 100644 --- a/www/download.md +++ b/www/download.md @@ -29,15 +29,13 @@ Do you have a mirror? --------------------- Let us know! We will add it here. Instructions for how to mirror -libreboot releases can be found [here](rsync.md). +libreboot releases can be found [here](#rsync). HTTPS mirrors {#https} ------------- These mirrors are recommended, since they use TLS (https://) encryption. -<https://libreboot.org/release/> (Libreboot project official mirror) - <https://www.mirrorservice.org/sites/libreboot.org/release/> (University of Kent, UK) @@ -51,6 +49,25 @@ Project, USA) <https://elgrande74.net/libreboot/> (elgrande74.net, France) +RSYNC mirrors {#rsync} +------------- + +Useful for mirroring Libreboot's entire set of release archives. + +<rsync://rsync.libreboot.org/mirrormirror/> (Libreboot project official mirror) + +<rsync://rsync.mirrorservice.org/libreboot.org/release/> (University of Kent, +UK) + +<rsync://mirror.math.princeton.edu/pub/libreboot/> (Princeton university, USA) + +<rsync://ftp.linux.ro/libreboot/> (linux.ro, Romania) + +<rsync://libreboot.mirror.si/libreboot/> + +Are you running a mirror? Contact the libreboot project, and the link will be +added to this page! + HTTP mirrors {#http} ------------ @@ -9,7 +9,7 @@ Important issues What version of libreboot do I have? ---------------------------------------------------------------- -See [../docs/\#version](../docs/#version) +[See here](../docs/#version) Flashrom complains about DEVMEM access -------------------------------------- @@ -27,7 +27,7 @@ coreboot-libre, so we just use the default one in coreboot which has this issue on some CCFL panels, but not LED panels. You can work around this in your distribution, by following the notes at -[../docs/misc/\#backlight%20control](../docs/misc/#backlight%20control). +[docs: backlight control](../docs/misc/#finetune-backlight-control-on-intel-gpus). The ethernet doesn't work on my X200/T400/X60/T60 when I plug in it ------------------------------------------------------------------- @@ -76,7 +76,7 @@ Hardware compatibility What systems are compatible with libreboot? ----------------------------------------------------------------------------------- -See [../docs/hardware/](docs/hardware/). +[See here](docs/hardware/). Why is the latest Intel hardware unsupported in libreboot? {#intel} ----------------------------------------------------------- @@ -471,7 +471,7 @@ Will desktop/server hardware be supported? ------------------------------------------------------------------------ Libreboot now supports desktop hardware: -[../docs/hardware/\#supported\_desktops\_x86amdintel](../docs/hardware/#supported_desktops_x86/intel) +[(see list)](../docs/hardware/#supported_desktops_x86/intel) (with full native video initialization). A common issue with desktop hardware is the Video BIOS, when no onboard @@ -519,7 +519,7 @@ General questions How do I install libreboot? ------------------------------------------------------- -See [../docs/install/](docs/install/) +See [installation guide](docs/install/) How do I program an SPI flash chip? --------------------------------------------------------------------------------- @@ -535,9 +535,9 @@ If you are using the GRUB payload, you can add a username and password (salted, hashed) to your GRUB configuration that resides inside the flash chip. The following guides (which also cover full disk encryption, including the /boot/ directory) show how to set a boot password in GRUB: -[../docs/gnulinux/encrypted\_debian.md](../docs/gnulinux/encrypted_debian.md) +[(Installing Debian or Devuan with FDE)](../docs/gnulinux/encrypted_debian.md) and -[../docs/gnulinux/encrypted\_parabola.md](../docs/gnulinux/encrypted_parabola.md) +[(Installing Parabola or Arch GNU+Linux-Libre, with FDE)](../docs/gnulinux/encrypted_parabola.md) How do I write-protect the flash chip? ---------------------------------------------------------------------------- @@ -551,7 +551,7 @@ On some systems, it is possible to write-protect the firmware, such that it is rendered read-only at the OS level (external flashing is still possible, using dedicated hardware). For example, on current GM45 laptops (e.g. ThinkPad X200, T400), you can write-protect (see -[../docs/hardware/gm45\_remove\_me.html\#ich9gen](../docs/hardware/gm45_remove_me.html#ich9gen)). +[ICH9 gen utility](../docs/hardware/gm45_remove_me.html#ich9gen)). It's possible to write-protect on all libreboot systems, but the instructions need to be written. The documentation is in the main git repository, so you are @@ -600,7 +600,7 @@ boot just fine, using the bootloader (GRUB) that is in the flash chip. This also means that even if you remove the HDD or SSD, you'll still have a functioning bootloader installed which could be used to boot a live distribution installer from a USB flash drive. See -[\.../docs/gnulinux/grub\_boot\_installer.md](../docs/gnulinux/grub_boot_installer.md) +[How to install GNU+Linux on a libreboot system](../docs/gnulinux/grub_boot_installer.md) Do I need to re-flash when I re-install a distribution? ------------------------------------------------------------------------------------------- @@ -610,7 +610,7 @@ automatically switch to a GRUB configuration on the HDD or SSD, if it exists. You can also load a different GRUB configuration, from any kind of device that is supported in GRUB (such as a USB flash drive). For more information, see -[../docs/gnulinux/grub\_cbfs.md](../docs/gnulinux/grub_cbfs.md) +[Modifying the GRUB Configuration in Libreboot Systems](../docs/gnulinux/grub_cbfs.md) What does a flash chip look like? ----------------------------------------------------------------- diff --git a/www/index.sh b/www/index.sh index c70c5a7a..938baca1 100755 --- a/www/index.sh +++ b/www/index.sh @@ -24,15 +24,15 @@ title() { } meta() { - URL=$(echo ${f%.md}.html | sed -e s-news/--) + URL=$(printf '%s\n' ${f%.md}.html | sed -e s-news/--) - echo "[$(title)]($URL){.title}" - echo "[$(sed -n 3p $f | sed -e s-^..--)]{.date}" - echo "" + printf '%s\n' "[$(title)]($URL){.title}" + printf '%s\n' "[$(sed -n 3p $f | sed -e s-^..--)]{.date}" + printf '\n' tail -n +5 $f | perl -p0e 's/(\.|\?|\!)( |\n)(.|\n)*/.../g' - echo "" - echo "" + printf '\n' + printf '\n' } # generate the index file @@ -50,12 +50,12 @@ done # generate an RSS index rss() { - echo '<rss version="2.0">' - echo '<channel>' + printf '%s\n' '<rss version="2.0">' + printf '%s\n' '<channel>' - echo "<title>$BLOGTITLE</title>" - echo "<link>"$BLOGBASE"news/</link>" - echo "<description>$BLOGDESCRIPTION</description>" + printf '%s\n' "<title>$BLOGTITLE</title>" + printf '%s\n' "<link>"$BLOGBASE"news/</link>" + printf '%s\n' "<description>$BLOGDESCRIPTION</description>" for f in $FILES do @@ -63,15 +63,15 @@ rss() { desc=$(sed ${f%.md}.bare.html -e 's/</\</g' | sed -e 's/>/\>/g') url="${f%.md}.html" - echo '<item>' - echo "<title>$(title)</title>" - echo "<link>$BLOGBASE$url</link>" - echo "<description>$desc</description>" - echo '</item>' + printf '%s\n' '<item>' + printf '%s\n' "<title>$(title)</title>" + printf '%s\n' "<link>$BLOGBASE$url</link>" + printf '%s\n' "<description>$desc</description>" + printf '%s\n' '</item>' done - echo '</channel>' - echo '</rss>' + printf '%s\n' '</channel>' + printf '%s\n' '</rss>' } rss > news/feed.xml diff --git a/www/publish.sh b/www/publish.sh index f9aabf3e..0be47a78 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -19,7 +19,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -e -echo $1 +printf '%s\n' $1 FILE=${1%.md} cat $1 > temp.md @@ -46,7 +46,7 @@ else fi if [[ $FILE = *suppliers ]]; then - printf "\n<strong><a href=\"/git.html#editing-the-website-and-documentation-wiki-style\">Edit this page</a></strong> -- <a href=\"../\">Back to previous page</a>\n" >> temp.md + printf '\n%s\n' "<strong><a href=\"/git.html#editing-the-website-and-documentation-wiki-style\">Edit this page</a></strong> -- <a href=\"../\">Back to previous page</a>" >> temp.md fi if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then @@ -62,10 +62,10 @@ sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g' sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*]/.html\1]/g' # work around issue #2872 -TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || TOC="" +TOC=$(grep -q "^x-toc-enable: true$" temp.md && printf '%s\n' "--toc --toc-depth=2") || TOC="" # work around heterogenous pandoc versions -SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart") || SMART="" +SMART=$(pandoc -v | grep -q '2\.0' || printf '%s\n' "--smart") || SMART="" # chuck through pandoc pandoc $TOC $SMART temp.md -s --css /global.css $OPTS \ diff --git a/www/rsync.md b/www/rsync.md deleted file mode 100644 index 9ce29aa3..00000000 --- a/www/rsync.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: Rsync repositories for the release archives -... - -Create a directory in your web directory (e.g. libreboot/) and put one -of these in your crontab: - -Libreboot project, UK (main rsync mirror) ------------------------------------------ - -**rsync -avxP --delete --stats rsync.libreboot.org::mirrormirror -/path/to/docroot/libreboot/** - -University of Kent, UK (backup mirror) --------------------------------------- - -**rsync -avxP --delete --stats -rsync://rsync.mirrorservice.org/libreboot.org/release/ -/path/to/docroot/libreboot/** - -Princeton university, USA (backup mirror) ------------------------------------------ - -**rsync -avxP --delete --stats -rsync://mirror.math.princeton.edu/pub/libreboot/ -/path/to/docroot/libreboot/** - -linux.ro, Romania (backup mirror) ---------------------------------- - -**rsync -avxP --delete --stats rsync://ftp.linux.ro/libreboot/ -/path/to/docroot/libreboot/** - -mirror.si, Slovenia (backup mirror) ------------------------------------ - -**rsync -avxP --delete --stats rsync://libreboot.mirror.si/libreboot -/path/to/docroot/libreboot/** - -Are you running a mirror? Contact the libreboot project, and the link will be -added to the [download](download.md) page. - -Libreboot includes statically linked executables. If you need the -sources for those statically linked dependencies inside the executables, -then you can contact the libreboot project using the details on the home -page; source code will be provided. You can download this source code -from [here](ccsource.md). |