aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:24:56 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:24:56 -0700
commit224a941f4c7d56295a8ec10bf5e655971b1deb66 (patch)
tree538f931a35e1506422a3fa6fda13baf47dbc432d /docs
parent731e383e52f56d6bc84df340982348851081c3a4 (diff)
downloadlibrebootfr-224a941f4c7d56295a8ec10bf5e655971b1deb66.tar.gz
librebootfr-224a941f4c7d56295a8ec10bf5e655971b1deb66.zip
Fix missing code tops
Diffstat (limited to 'docs')
-rw-r--r--docs/git/index.md2
-rw-r--r--docs/gnulinux/configuring_parabola.md2
-rw-r--r--docs/gnulinux/encrypted_debian.md1
-rw-r--r--docs/gnulinux/encrypted_parabola.md2
-rw-r--r--docs/gnulinux/grub_cbfs.md1
-rw-r--r--docs/hardware/gm45_remove_me.md2
-rw-r--r--docs/hardware/t500.md1
-rw-r--r--docs/install/index.md1
-rw-r--r--docs/misc/index.md2
9 files changed, 14 insertions, 0 deletions
diff --git a/docs/git/index.md b/docs/git/index.md
index b3191589..81cb5dd3 100644
--- a/docs/git/index.md
+++ b/docs/git/index.md
@@ -21,10 +21,12 @@ statically compiled executables for the utilities are included.**
For Debian Stretch (may also work on Debian Jessie), you can run the
following command:
+
$ sudo ./oldbuild dependencies debian
(this will also work in Devuan)
For Parabola, you can run the following command:
+
$ sudo ./oldbuild dependencies parabola\
or:
# ./oldbuild dependencies parabola
diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md
index e28b34b5..c6c1d6f4 100644
--- a/docs/gnulinux/configuring_parabola.md
+++ b/docs/gnulinux/configuring_parabola.md
@@ -545,6 +545,7 @@ start lxde without lxdm. Read
<https://wiki.archlinux.org/index.php/Xinitrc>.
Open LXterminal:
+
$ cp /etc/skel/.xinitrc \~
Open .xinitrc and add the following plus a line break at the bottom of
the file.\
@@ -556,6 +557,7 @@ export LANG=en\_GB.UTF-8\
\# Start lxde desktop\
exec startlxde\
* Now make sure that it is executable:
+
$ chmod +x .xinitrc
### LXDE - clock {#lxde_clock}
diff --git a/docs/gnulinux/encrypted_debian.md b/docs/gnulinux/encrypted_debian.md
index 27e5be35..12070be9 100644
--- a/docs/gnulinux/encrypted_debian.md
+++ b/docs/gnulinux/encrypted_debian.md
@@ -182,6 +182,7 @@ If you didn't encrypt your home directory, then you can safely ignore
this section.
Immediately after logging in, do that:
+
$ sudo ecryptfs-unwrap-passphrase
This will be needed in the future if you ever need to recover your home
diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md
index 25c4e5c6..f8b97fe8 100644
--- a/docs/gnulinux/encrypted_parabola.md
+++ b/docs/gnulinux/encrypted_parabola.md
@@ -542,8 +542,10 @@ If flashrom complains about multiple flash chips detected, add a *-c*
option at the end, with the name of your chosen chip is quotes.\
You can check if everything is in there (*grub.cfg* and *grubtest.cfg*
would be really nice):
+
$ ./cbfstool libreboot.rom print
Extract grubtest.cfg:
+
$ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg\
And modify:
diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md
index 3a13481e..223be4ee 100644
--- a/docs/gnulinux/grub_cbfs.md
+++ b/docs/gnulinux/grub_cbfs.md
@@ -106,6 +106,7 @@ image file is named *libreboot.rom*, so please make sure to adapt.
ROM images are included pre-compiled in libreboot. You can also dump
your current firmware, using flashrom:
+
$ sudo flashrom -p internal -r libreboot.rom
# flashrom -p internal -r libreboot.rom
If you are told to specify the chip, add the option **-c {your chip}**
diff --git a/docs/hardware/gm45_remove_me.md b/docs/hardware/gm45_remove_me.md
index a5343ac9..b697d244 100644
--- a/docs/hardware/gm45_remove_me.md
+++ b/docs/hardware/gm45_remove_me.md
@@ -37,11 +37,13 @@ factory.bin dump.
ich9gen executables can be found under ./ich9deblob/ statically compiled
in libreboot\_util. If you are using src or git, build ich9gen from
source with:
+
$ ./oldbuild module ich9deblob
The executable will appear under resources/utilities/ich9deblob/
Run:
+
$ ./ich9gen
Running ich9gen this way (without any arguments) generates a default
diff --git a/docs/hardware/t500.md b/docs/hardware/t500.md
index 66d6a37d..7a0ac85c 100644
--- a/docs/hardware/t500.md
+++ b/docs/hardware/t500.md
@@ -72,6 +72,7 @@ The patches above are based on the output from ich9deblob on a
factory.rom image dumped from the T500 with a SOIC-8 4MiB flash chip.
The patch re-creates the X200 descriptor/gbe source, so the commands
were something like:
+
$ diff -u t500gbe x200gbe
$ diff -u t500descriptor x200descriptor
diff --git a/docs/install/index.md b/docs/install/index.md
index 4bd14cf1..4ae683e6 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -268,6 +268,7 @@ appropriate executable. It is also possible for you to build these
executables from the libreboot source code archives.
How to update the flash chip contents:
+
$ sudo ./flash update [yourrom.rom](#rom)
Ocassionally, coreboot changes the name of a given board. If flashrom
diff --git a/docs/misc/index.md b/docs/misc/index.md
index 6abd95ad..a3fdcd6f 100644
--- a/docs/misc/index.md
+++ b/docs/misc/index.md
@@ -201,10 +201,12 @@ is included in libreboot, and can be used to enable or disable this
behaviour.
Disable or enable beeps when removing/adding the charger:
+
$ sudo ./nvramtool -w power\_management\_beeps=Enable
$ sudo ./nvramtool -w power\_management\_beeps=Disable
Disable or enable beeps when battery is low:
+
$ sudo ./nvramtool -w low\_battery\_beep=Enable
$ sudo ./nvramtool -w low\_battery\_beep=Disable