libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 55ab419a18bb1ee163a459506c7491076d9416a6
parent d19243ce3cb3c8f02fae23c1af0d127c5d18aa55
Author: Leah Rowe <info@minifree.org>
Date:   Tue, 27 Sep 2016 20:59:33 +0100

Prioritize Debian over Trisquel (Trisquel's leader is Ruben Rodriguez on libreboot.org/gnu)

Diffstat:
docs/git/index.html | 6+++---
docs/gnulinux/configuring_parabola.html | 4++--
docs/gnulinux/encrypted_trisquel.html | 18++++++++++++------
docs/gnulinux/grub_boot_installer.html | 6+++---
docs/gnulinux/index.html | 2+-
docs/grub/index.html | 2+-
docs/hardware/t60_security.html | 2+-
docs/hardware/x60_security.html | 2+-
docs/hcl/ga-g41m-es2l.html | 2+-
docs/hcl/index.html | 2+-
docs/misc/index.html | 10+++++-----
resources/scripts/helpers/build/dependencies/debian | 99+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
resources/scripts/helpers/build/dependencies/trisquel7 | 99-------------------------------------------------------------------------------
resources/scripts/misc/powertop.debian | 50++++++++++++++++++++++++++++++++++++++++++++++++++
resources/scripts/misc/powertop.trisquel7 | 50--------------------------------------------------
15 files changed, 180 insertions(+), 174 deletions(-)

diff --git a/docs/git/index.html b/docs/git/index.html @@ -44,8 +44,8 @@ <div class="important"> <p> - For Trisquel 7, you can run the following command:<br/> - $ <b>sudo ./build dependencies trisquel7</b> + For Debian Stretch (may also work on Debian Jessie, or Trisquel), you can run the following command:<br/> + $ <b>sudo ./build dependencies debian</b> </p> <p> For Parabola, you can run the following command:<br/> @@ -323,7 +323,7 @@ <h2>Preparing release archives (optional)</h2> <p> - <b>This is only confirmed to work (tested) in Trisquel 7. Parabola *fails* at this stage + <b>This is only confirmed to work (tested) in Debian Stretch and Trisquel 7. Parabola *fails* at this stage (for now). For all other distros, YMMV.</b> </p> diff --git a/docs/gnulinux/configuring_parabola.html b/docs/gnulinux/configuring_parabola.html @@ -102,7 +102,7 @@ You do not necessarily have to follow this guide word-for-word; <i>parabola</i> is extremely flexible. The aim here is to provide a common setup that most users will be happy with. While Parabola can seem daunting at first glance (especially for new GNU/Linux users), with a simple guide it can provide - all the same usability as Trisquel, without hiding any details from the user. + all the same usability as Debian, without hiding any details from the user. </p> <p> @@ -157,7 +157,7 @@ <h2 id="pacman_configure">Configure pacman</h2> <p> pacman (<b>pac</b>kage <b>man</b>ager) is the name of the package management system in Arch, which Parabola - (as a deblobbed parallel effort) also uses. Like with 'apt-get' on debian-based systems like Trisquel, + (as a deblobbed parallel effort) also uses. Like with 'apt-get' on Debian, this can be used to add/remove and update the software on your computer. </p> <p> diff --git a/docs/gnulinux/encrypted_trisquel.html b/docs/gnulinux/encrypted_trisquel.html @@ -8,13 +8,19 @@ @import url('../css/main.css'); </style> - <title>Installing Trisquel or Debian GNU/Linux with full disk encryption (including /boot)</title> + <title>Installing Debian or Trisquel GNU/Linux with full disk encryption (including /boot)</title> </head> <body> <div class="section"> - <h1>Installing Trisquel or Debian GNU/Linux with full disk encryption (including /boot)</h1> - <p> + <h1>Installing Debian or Trisquel GNU/Linux with full disk encryption (including /boot)</h1> + <p> + The libreboot project recommends Debian, because it is more stable and up to date, + while still being entirely free software by default. Leah Rowe, libreboot's + lead maintainer, also runs Debian. See: + <a href="../distros/">../distros/</a> + </p> + <p> Libreboot on x86 uses the GRUB <a href="http://www.coreboot.org/Payloads#GRUB_2">payload</a> by default, which means that the GRUB configuration file (where your GRUB menu comes from) is stored directly alongside libreboot @@ -31,9 +37,9 @@ access to the system. </p> <p> - This works in Trisquel 7, and probably Trisquel 6. Boot the 'net installer' (Install Trisquel in Text Mode). + This guide is written for Debian. + This also works in Trisquel 7 (probably Trisquel 8), and probably Trisquel 6. Boot the 'net installer' (Install Trisquel in Text Mode). <a href="grub_boot_installer.html">How to boot a GNU/Linux installer</a>. - This guide also works for the Debian distribution, when you install using the netinstall option in Debian. </p> <p> <b>This guide is *only* for the GRUB payload. If you use the depthcharge payload, ignore this section entirely.</b> @@ -182,7 +188,7 @@ <div class="section"> - <h1>Tasksel</h1> + <h1>Tasksel (Debian or Trisquel)</h1> <p> Choose <i>&quot;Trisquel Desktop Environment&quot;</i> if you want GNOME, diff --git a/docs/gnulinux/grub_boot_installer.html b/docs/gnulinux/grub_boot_installer.html @@ -23,7 +23,7 @@ <li><a href="#prepare">Prepare the USB drive (in GNU/Linux)</a></li> <li><a href="#encryption">Installing GNU/Linux with full disk encryption</a></li> <li><a href="#guix">GNU Guix System Distribution?</a></li> - <li><a href="#trisquel_netinstall">Trisquel net install?</a></li> + <li><a href="#trisquel_netinstall">Debian or Trisquel net install?</a></li> <li><a href="#parse_isolinux">Booting ISOLINUX images (automatic method)</a></li> <li><a href="#manual_isolinux">Booting ISOLINUX images (manual method)</a></li> <li><a href="#troubleshooting">Troubleshooting</a></li> @@ -80,7 +80,7 @@ <h2>Installing GNU/Linux with full disk encryption</h2> <ul> - <li><a href="encrypted_trisquel.html">Installing Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> + <li><a href="encrypted_trisquel.html">Installing Debian or Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> <li><a href="encrypted_parabola.html">Installing Parabola GNU/Linux with full disk encryption (including /boot)</a></li> </ul> @@ -92,7 +92,7 @@ <div id="trisquel_netinstall" class="section"> - <h2>Trisquel net install?</h2> + <h2>Debian or Trisquel net install?</h2> <p> Tip: don't use the official net install image. Download the full GNOME ISO (the ~1.5GiB one). diff --git a/docs/gnulinux/index.html b/docs/gnulinux/index.html @@ -35,7 +35,7 @@ <li>Follow-up tutorial: <a href="configuring_parabola.html">Configuring Parabola (post-install)</a></li> </ul> </li> - <li><a href="encrypted_trisquel.html">Installing Trisquel or Debian GNU/Linux-libre with full disk encryption (including /boot)</a></li> + <li><a href="encrypted_trisquel.html">Installing Debian or Trisquel GNU/Linux-libre with full disk encryption (including /boot)</a></li> </ul> </div> diff --git a/docs/grub/index.html b/docs/grub/index.html @@ -65,7 +65,7 @@ <p>Specifically, the version that I chose was the latest at the time of writing (Saturday 21 June 2014): <a href="http://sourceforge.net/projects/dejavu/files/dejavu/2.34/dejavu-fonts-ttf-2.34.tar.bz2">this one</a></p> - <p>This is a free font that is also contained in GNU/Linux distributions like Trisquel or Parabola.</p> + <p>This is a free font that is also contained in GNU/Linux distributions like Debian, Trisquel or Parabola.</p> <p><b>$ cd libreboot_src/grub</b><br/> compile grub (the build scripts info on how to do this)<br/> diff --git a/docs/hardware/t60_security.html b/docs/hardware/t60_security.html @@ -387,7 +387,7 @@ Further reading material (software security) </h1> <ul> - <li><a href="../gnulinux/encrypted_trisquel.html">Installing Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> + <li><a href="../gnulinux/encrypted_trisquel.html">Installing Debian or Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> <li><a href="../gnulinux/encrypted_parabola.html">Installing Parabola GNU/Linux with full disk encryption (including /boot)</a></li> <li><a href="dock.html">Notes about DMA access and the docking station</a></li> </ul> diff --git a/docs/hardware/x60_security.html b/docs/hardware/x60_security.html @@ -247,7 +247,7 @@ Further reading material (software security) </h1> <ul> - <li><a href="../gnulinux/encrypted_trisquel.html">Installing Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> + <li><a href="../gnulinux/encrypted_trisquel.html">Installing Debian or Trisquel GNU/Linux with full disk encryption (including /boot)</a></li> <li><a href="../gnulinux/encrypted_parabola.html">Installing Parabola GNU/Linux with full disk encryption (including /boot)</a></li> <li><a href="dock.html">Notes about DMA access and the docking station</a></li> </ul> diff --git a/docs/hcl/ga-g41m-es2l.html b/docs/hcl/ga-g41m-es2l.html @@ -29,7 +29,7 @@ <strong>NOTE: This board is unsupported in libreboot 20150518. To use it in libreboot, for now, you must build for it from source using the libreboot git repository.</strong> </p> <p> - You need to set a custom MAC address in GNU/Linux for the NIC to work. In /etc/network/interfaces on debian-based systems like Trisquel, + You need to set a custom MAC address in GNU/Linux for the NIC to work. In /etc/network/interfaces on debian-based systems like Debian or Trisquel, this would be in the entry for your NIC:<br/> hwaddress ether macaddressgoeshere </p> diff --git a/docs/hcl/index.html b/docs/hcl/index.html @@ -623,7 +623,7 @@ EndSection A user submitted a utility to enable 3-finger tap on this laptop. It's available at <i>resources/utilities/macbook21-three-finger-tap</i> in the libreboot git repository. The script is for GNOME, confirmed to - work in Trisquel 7. + work in Trisquel 7. It may also work in Debian, but this is unknown. </p> <p><a href="#pagetop">Back to top of page.</a></p> diff --git a/docs/misc/index.html b/docs/misc/index.html @@ -19,7 +19,7 @@ Or <a href="../index.html">Back to main index</a>. </p> <ul> - <li><a href="#trisquel7_powertop">High Pitched Whining Noise on Idle (how to remove in Trisquel 7)</a></li> + <li><a href="#debian_powertop">High Pitched Whining Noise on Idle (how to remove in Debian or Trisquel 7)</a></li> <li><a href="#high_pitch_parabola">High Pitched Whining Noise on Idle (how to remove in Parabola)</a></li> <li><a href="#serial">X60/T60: Serial port - how to use (for dock owners)</a></li> <li><a href="#powerbeeps">Power Management Beeps on Thinkpads</a></li> @@ -32,15 +32,15 @@ <div class="section"> - <h1 id="trisquel7_powertop">High Pitched Whining Noise on Idle (how to remove in Trisquel 7)</h1> + <h1 id="debian_powertop">High Pitched Whining Noise on Idle (how to remove in Trisquel 7)</h1> <div class="subsection"> - <h2 id="trisquel7_powertop_autostart">Start powertop automatically at boot time</h2> + <h2 id="debian_powertop_autostart">Start powertop automatically at boot time</h2> - <p>Included with libreboot is a script called 'powertop.trisquel7'. Run this as root and it will setup powertop to run with --auto-tune + <p>Included with libreboot is a script called 'powertop.debian'. Run this as root and it will setup powertop to run with --auto-tune at boot time. Load the file in your text editor to see how it does that.</p> - <p>$ <b>sudo ./resources/scripts/misc/powertop.trisquel7</b></p> + <p>$ <b>sudo ./resources/scripts/misc/powertop.debian</b></p> <p> Might want to run with --calibrate first </p> diff --git a/resources/scripts/helpers/build/dependencies/debian b/resources/scripts/helpers/build/dependencies/debian @@ -0,0 +1,99 @@ +#!/bin/bash + +# for_trisquel7 script: installs build dependencies for Trisquel 7 +# +# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# + +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e + +if [ $EUID -ne 0 ]; then + printf "This script must be run as root\n" + exit 1 +fi + +# Duplications are intentional. Please do not re-factor. +# +# This is so that they can moved to separate scripts. +# + +apt-get -y install wget + +# For downloading source code +# ------------------------------------------------------------ + +apt-get -y install git + +# For building the documentation +# ------------------------------------------------------------ + +apt-get -y install pandoc texi2html texinfo texlive + +# For building source code: +# ------------------------------------------------------------ + +apt-get -y install build-essential + +# for cross-compiling ARM binaries +apt-get -y install gcc-arm-linux-gnueabi + +[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ] +arch=${?} + +# For cross-compiling i686 target on x86_64 host. +if [ "${arch}" -eq 0 ]; then + apt-get -y install gcc-multilib libc6-i386 libc6-dev-i386 + apt-get -y install lib32stdc++6 g++-multilib dh-autoreconf + # recommended, but not sure what for: + apt-get -y install lib32tinfo-dev texi2html +fi + +# Memtest86+ build dependencies +# ------------------------------------------------------------ + +apt-get -y install build-essential + +# i945-pwm build dependencies +# ------------------------------------------------------------ + +apt-get -y install build-essential + +# Coreboot build dependencies (also requires build-essential and git) +# ------------------------------------------------------------ + +apt-get -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev + +# For cross-compiling i686 target on x86_64 host. +[ "${arch}" -eq 0 ] && apt-get -y install lib32ncurses5-dev + +# GRUB build dependencies (also requires build-essential, bison and flex) +# ------------------------------------------------------------ + +apt-get -y install ttf-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev + +# BucTS build dependencies (external script) +# ------------------------------------------------------------ + +apt-get -y install build-essential + +# Flashrom build dependencies (also requires build-essential) +# ------------------------------------------------------------ + +apt-get -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 + +# For cross-compiling i686 target on x86_64 host. +[ "${arch}" -eq 0 ] && apt-get -y install lib32z1-dev diff --git a/resources/scripts/helpers/build/dependencies/trisquel7 b/resources/scripts/helpers/build/dependencies/trisquel7 @@ -1,99 +0,0 @@ -#!/bin/bash - -# for_trisquel7 script: installs build dependencies for Trisquel 7 -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -if [ $EUID -ne 0 ]; then - printf "This script must be run as root\n" - exit 1 -fi - -# Duplications are intentional. Please do not re-factor. -# -# This is so that they can moved to separate scripts. -# - -apt-get -y install wget - -# For downloading source code -# ------------------------------------------------------------ - -apt-get -y install git - -# For building the documentation -# ------------------------------------------------------------ - -apt-get -y install pandoc texi2html texinfo texlive - -# For building source code: -# ------------------------------------------------------------ - -apt-get -y install build-essential - -# for cross-compiling ARM binaries -apt-get -y install gcc-arm-linux-gnueabi - -[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ] -arch=${?} - -# For cross-compiling i686 target on x86_64 host. -if [ "${arch}" -eq 0 ]; then - apt-get -y install gcc-multilib libc6-i386 libc6-dev-i386 - apt-get -y install lib32stdc++6 g++-multilib dh-autoreconf - # recommended, but not sure what for: - apt-get -y install lib32tinfo-dev texi2html -fi - -# Memtest86+ build dependencies -# ------------------------------------------------------------ - -apt-get -y install build-essential - -# i945-pwm build dependencies -# ------------------------------------------------------------ - -apt-get -y install build-essential - -# Coreboot build dependencies (also requires build-essential and git) -# ------------------------------------------------------------ - -apt-get -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev - -# For cross-compiling i686 target on x86_64 host. -[ "${arch}" -eq 0 ] && apt-get -y install lib32ncurses5-dev - -# GRUB build dependencies (also requires build-essential, bison and flex) -# ------------------------------------------------------------ - -apt-get -y install ttf-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev - -# BucTS build dependencies (external script) -# ------------------------------------------------------------ - -apt-get -y install build-essential - -# Flashrom build dependencies (also requires build-essential) -# ------------------------------------------------------------ - -apt-get -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 - -# For cross-compiling i686 target on x86_64 host. -[ "${arch}" -eq 0 ] && apt-get -y install lib32z1-dev diff --git a/resources/scripts/misc/powertop.debian b/resources/scripts/misc/powertop.debian @@ -0,0 +1,50 @@ +#!/bin/bash + +# powertop.trisquel7: automatically sets up powertop --auto-tune on startup in trisquel 7 +# +# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# + +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e + +if [ $EUID -ne 0 ]; then + printf "This script must be run as root\n" + exit 1 +fi + +# For Trisquel 7 users. + +apt-get -y install powertop + +# Remove startup symlink if it exists +update-rc.d powertop remove +# Remove previous file if it exists +rm -Rf "/etc/init.d/powertop" + +# write the correct commands there: +printf "#!/bin/sh\n" > "/etc/init.d/powertop" +printf "/usr/sbin/powertop --auto-tune\n" >> "/etc/init.d/powertop" + +# make it executable: +chmod +x "/etc/init.d/powertop" + +# Add the service to make it run automatically at boot time: +update-rc.d powertop defaults + +# Run powertop now and tell the user +powertop --auto-tune +printf "Done. Run 'powertop --auto-tune' now. This will also run automatically at boot time. Run it again at any time, if needed. This has also been done for you just now.\n" diff --git a/resources/scripts/misc/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7 @@ -1,50 +0,0 @@ -#!/bin/bash - -# powertop.trisquel7: automatically sets up powertop --auto-tune on startup in trisquel 7 -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -if [ $EUID -ne 0 ]; then - printf "This script must be run as root\n" - exit 1 -fi - -# For Trisquel 7 users. - -apt-get -y install powertop - -# Remove startup symlink if it exists -update-rc.d powertop remove -# Remove previous file if it exists -rm -Rf "/etc/init.d/powertop" - -# write the correct commands there: -printf "#!/bin/sh\n" > "/etc/init.d/powertop" -printf "/usr/sbin/powertop --auto-tune\n" >> "/etc/init.d/powertop" - -# make it executable: -chmod +x "/etc/init.d/powertop" - -# Add the service to make it run automatically at boot time: -update-rc.d powertop defaults - -# Run powertop now and tell the user -powertop --auto-tune -printf "Done. Run 'powertop --auto-tune' now. This will also run automatically at boot time. Run it again at any time, if needed. This has also been done for you just now.\n"