diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:19:08 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:19:08 -0700 |
commit | ece5fda25e70409032a16ea1cd64b0457279607b (patch) | |
tree | e665097fff51ab5443259de511c2649e3393c586 /docs | |
parent | 89a1d8e105de43ae0b3eafd9a37bed33cdabfb3e (diff) | |
download | librebootfr-ece5fda25e70409032a16ea1cd64b0457279607b.tar.gz librebootfr-ece5fda25e70409032a16ea1cd64b0457279607b.zip |
Fix -- bug
Diffstat (limited to 'docs')
-rw-r--r-- | docs/archive_old.md | 2 | ||||
-rw-r--r-- | docs/bsd/openbsd.md | 2 | ||||
-rw-r--r-- | docs/git/index.md | 16 | ||||
-rw-r--r-- | docs/gnulinux/configuring_parabola.md | 2 | ||||
-rw-r--r-- | docs/gnulinux/encrypted_parabola.md | 14 | ||||
-rw-r--r-- | docs/gnulinux/grub_hardening.md | 4 | ||||
-rw-r--r-- | docs/hcl/gm45_remove_me.md | 2 | ||||
-rw-r--r-- | docs/index.md | 2 | ||||
-rw-r--r-- | docs/install/bbb_setup.md | 4 | ||||
-rw-r--r-- | docs/misc/bbb_ehci.md | 2 | ||||
-rw-r--r-- | docs/misc/index.md | 8 | ||||
-rw-r--r-- | docs/misc/patch.md | 2 |
12 files changed, 30 insertions, 30 deletions
diff --git a/docs/archive_old.md b/docs/archive_old.md index c9c42416..f8d3f441 100644 --- a/docs/archive_old.md +++ b/docs/archive_old.md @@ -748,7 +748,7 @@ Revisions for r20140903 (6th beta) (3rd September 2014) - set prefix=(memdisk)/boot/grub - For native graphics (recommended by coreboot wiki):\ gfxpayload=keep\ - terminal\_output \--append gfxterm + terminal\_output --append gfxterm - Play a beep on startup:\ play 480 440 1 - Documentation: updated gnulinux/grub\_cbfs.html to make it safer diff --git a/docs/bsd/openbsd.md b/docs/bsd/openbsd.md index 53086ed1..988b87e6 100644 --- a/docs/bsd/openbsd.md +++ b/docs/bsd/openbsd.md @@ -4,7 +4,7 @@ NOTE: This guide was written for OpenBSD by the person who contributed it, but the libreboot project recommends LibertyBSD. LibertyBSD is a version of OpenBSD without proprietary software in the repositories (OpenBSD distributes firmware blobs for devices inside its kernel). Go -to the [LibertyBSD website](http://libertybsd.net/) \-- TODO: test on +to the [LibertyBSD website](http://libertybsd.net/) -- TODO: test on LibertyBSD and prioritise that in this guide. This section relates to preparing, booting and installing OpenBSD on diff --git a/docs/git/index.md b/docs/git/index.md index 30ba50e2..e9a91ce9 100644 --- a/docs/git/index.md +++ b/docs/git/index.md @@ -64,18 +64,18 @@ First, [install the build dependencies](#build_dependencies). Since libreboot makes extensive use of git, you need to configure git properly. If you have not yet configured git, then the minimum requirement is:\ -\$ **git config \--global user.name "Your Name"**\ -\$ **git config \--global user.email your@emailaddress.com**\ +\$ **git config --global user.name "Your Name"**\ +\$ **git config --global user.email your@emailaddress.com**\ This is what will also appear in git logs if you ever commit your own changes to a given repository. For more information, see <http://git-scm.com/doc>. Another nice config for you (optional, but recommended):\ -\$ **git config \--global core.editor nano**\ -\$ **git config \--global color.status auto**\ -\$ **git config \--global color.branch auto**\ -\$ **git config \--global color.interactive auto**\ -\$ **git config \--global color.diff auto** +\$ **git config --global core.editor nano**\ +\$ **git config --global color.status auto**\ +\$ **git config --global color.branch auto**\ +\$ **git config --global color.interactive auto**\ +\$ **git config --global color.diff auto** After that, run the script:\ \$ **./download all** @@ -257,7 +257,7 @@ that. Tag the current commit, and that version will appear in both the \${version} string on the directory under *release/oldbuildsystem/*, and in the file names of the archives. Otherwise, whatever git uses for *git -describe \--tags HEAD* will be used. +describe --tags HEAD* will be used. Utilities (static executables):\ \$ **./oldbuild release util** diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md index 9d167bce..0739038e 100644 --- a/docs/gnulinux/configuring_parabola.md +++ b/docs/gnulinux/configuring_parabola.md @@ -314,7 +314,7 @@ Finally, the wiki mentions 'temporary' files and the utility for managing them.\ \# **man systemd-tmpfiles**\ The command for 'clean' is:\ -\# **systemd-tmpfiles \--clean**\ +\# **systemd-tmpfiles --clean**\ According to the manpage, this *"cleans all files and directories with an age parameter"*. According to the Arch wiki, this reads information in /etc/tmpfiles.d/ and /usr/lib/tmpfiles.d/ to know what actions to diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md index 2ac5a5ec..afa4d137 100644 --- a/docs/gnulinux/encrypted_parabola.md +++ b/docs/gnulinux/encrypted_parabola.md @@ -167,8 +167,8 @@ Reading through, it seems like Serpent (encryption) and Whirlpool (hash) is the best option. I am initializing LUKS with the following:\ -\# **cryptsetup -v \--cipher serpent-xts-plain64 \--key-size 512 \--hash -whirlpool \--iter-time 500 \--use-random \--verify-passphrase luksFormat +\# **cryptsetup -v --cipher serpent-xts-plain64 --key-size 512 --hash +whirlpool --iter-time 500 --use-random --verify-passphrase luksFormat /dev/sda1** Choose a **secure** passphrase here. Ideally lots of lowercase/uppercase numbers, letters, symbols etc all in a random pattern. The password length should be as long as you are able to handle @@ -273,8 +273,8 @@ signing and verifying packages:\ \# **pacman -Sy parabola-keyring**\ It says that if you get GPG errors, then it's probably an expired key and, therefore, you should do:\ - \# **pacman-key \--populate parabola**\ - \# **pacman-key \--refresh-keys**\ + \# **pacman-key --populate parabola**\ + \# **pacman-key --refresh-keys**\ \# **pacman -Sy parabola-keyring**\ To be honest, you should do the above anyway. Parabola has a lot of maintainers, and a lot of keys. Really!\ @@ -286,7 +286,7 @@ manually set the correct time\ \# **date MMDDhhmm\[\[CC\]YY\]\[.ss\]**\ I also had to install:\ \# **pacman -S archlinux-keyring**\ - \# **pacman-key \--populate archlinux**\ + \# **pacman-key --populate archlinux**\ In my case I saw some conflicting files reported in pacman, stopping me from using it.\ I deleted the files that it mentioned and then it worked. @@ -355,7 +355,7 @@ Time zone:\ (Replace Zone and Subzone to your liking. See /usr/share/zoneinfo) Hardware clock:\ -\# **hwclock \--systohc \--utc** +\# **hwclock --systohc --utc** Hostname: Write your hostname to /etc/hostname. For example, if your hostname is parabola:\ @@ -436,7 +436,7 @@ Or just delete it. Above it, put:\ file=/var/log/faillog*\ To unlock a user manually (if a password attempt is failed 3 times), do:\ -\# **pam\_tally \--user *theusername* \--reset** What the above +\# **pam\_tally --user *theusername* --reset** What the above configuration does is lock the user out for 10 minutes, if they make 3 failed login attempts. diff --git a/docs/gnulinux/grub_hardening.md b/docs/gnulinux/grub_hardening.md index cf0ef67f..9c1a819d 100644 --- a/docs/gnulinux/grub_hardening.md +++ b/docs/gnulinux/grub_hardening.md @@ -77,7 +77,7 @@ remember and easier to crack. Diceware passphrases are harder to crack because of far higher entropy (there are many words available to use, but only about 50 commonly used symbols in pass*words*). -\--> +--> The GRUB password can be entered in two ways: - plaintext @@ -105,7 +105,7 @@ As enabling password protection as above means that you have to input it on every single boot, we will make one menu entry work without it. Remember that we will have GPG signing active, thus a potential attacker will not be able to boot an arbitrary operating system. We do this by -adding option **\--unrestricted** to a menuentry definition: +adding option **--unrestricted** to a menuentry definition: menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o' --unrestricted { ... diff --git a/docs/hcl/gm45_remove_me.md b/docs/hcl/gm45_remove_me.md index 659a878f..fd9ad9b0 100644 --- a/docs/hcl/gm45_remove_me.md +++ b/docs/hcl/gm45_remove_me.md @@ -69,7 +69,7 @@ On GM45 laptops that use flash descriptors, the MAC address or the onboard ethernet chipset is flashed (inside the ROM image). You should generate a descriptor+gbe image with your own MAC address inside (with the Gbe checksum updated to match). Run:\ -\$ **./ich9gen \--macaddress XX:XX:XX:XX:XX:XX**\ +\$ **./ich9gen --macaddress XX:XX:XX:XX:XX:XX**\ (replace the XX chars with the hexadecimal chars in the MAC address that you want) diff --git a/docs/index.md b/docs/index.md index 749f67d6..5dc8b261 100644 --- a/docs/index.md +++ b/docs/index.md @@ -167,7 +167,7 @@ press C at the GRUB console, and use this command to find out what version of libreboot you have:\ **cat (cbfsdisk)/lbversion**\ This will also work on non-release images (the version string is -automatically generated, using *git describe \--tags HEAD*), built from +automatically generated, using *git describe --tags HEAD*), built from the git repository. A file named *version* will also be included in the archives that you downloaded (if you are using release archives). diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index 408972e2..85910bd8 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -77,7 +77,7 @@ Shopping list (pictures of this hardware is shown later): powering with the USB cable, or if you want to use [EHCI debug](../misc/bbb_ehci.html)**. - **Pin header / jumper cables** (2.54mm / 0.1" headers): you should - get male\--male, male\--female and female\--female cables in 10cm + get male--male, male--female and female--female cables in 10cm size. Just get a load of them. Other possible names for these cables/wires/leads are as follows: - flying leads @@ -97,7 +97,7 @@ Shopping list (pictures of this hardware is shown later): - **FTDI TTL cable or debug board**: used for accessing the serial console on the BBB. [This page](http://elinux.org/Beagleboard:BeagleBone_Black_Serial) - contains a list. **OPTIONAL\-\--only needed for serial console on + contains a list. **OPTIONAL\---only needed for serial console on the BBB, if not using SSH via ethernet cable.** [Back to top of page.](#pagetop) diff --git a/docs/misc/bbb_ehci.md b/docs/misc/bbb_ehci.md index db2d1969..4833ff93 100644 --- a/docs/misc/bbb_ehci.md +++ b/docs/misc/bbb_ehci.md @@ -236,7 +236,7 @@ Then:\ CONFIG_CONSOLE_USB=y (Console -> USB dongle console output) -Also Debugging \-\--> Output verbose XYZ ) (**FIXME** somebody verify +Also Debugging \---> Output verbose XYZ ) (**FIXME** somebody verify these): CONFIG_DEBUG_CBFS=y (Output verbose CBFS debug messages ) diff --git a/docs/misc/index.md b/docs/misc/index.md index 05265091..a2f543a4 100644 --- a/docs/misc/index.md +++ b/docs/misc/index.md @@ -25,12 +25,12 @@ Start powertop automatically at boot time {#debian_powertop_autostart} ----------------------------------------- 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 +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. \$ **sudo ./resources/scripts/misc/powertop.debian** -Might want to run with \--calibrate first +Might want to run with --calibrate first If powertop doesn't work, another way (reduces battery life slightly) is to add *processor.max\_cstate=2* to the *linux* line in grub.cfg, @@ -50,7 +50,7 @@ most people can't hear or doesn't bother most people). This is not perfect! The full solution is still not discovered but this is a step towards that. Also, in some instances you will need to run -'sudo powertop \--auto-tune' again. This needs to be implemented +'sudo powertop --auto-tune' again. This needs to be implemented properly in coreboot itself! On the X60 with coreboot or libreboot, there is a high pitched sound @@ -84,7 +84,7 @@ Finally, as root do that:\ The next time you boot the system, the buzz will be gone. -Might want to run with \--calibrate first +Might want to run with --calibrate first If powertop doesn't work, another way (reduces battery life slightly) is to add *processor.max\_cstate=2* to the *linux* line in grub.cfg, diff --git a/docs/misc/patch.md b/docs/misc/patch.md index 8359ecd6..7b44f7be 100644 --- a/docs/misc/patch.md +++ b/docs/misc/patch.md @@ -88,7 +88,7 @@ it really is. Now to apply that patch in the future, just git clone it again and do with the git revision you found from above:\ -**\$ git reset \--hard REVISIONNUMBER** +**\$ git reset --hard REVISIONNUMBER** Now put patch.git in the git clone directory and do:\ **\$ git apply patch.git** |