Move standard raspberry pi tool setup from notes to docs

This commit is contained in:
KemoNine 2020-07-31 23:44:42 +00:00
parent 7fa37c29f0
commit 28b986d9ad
3 changed files with 17 additions and 12 deletions

View File

@ -6,3 +6,4 @@ This folder contains a bunch of general information on how to get the base of a
* [Finalize Arch Setup](finalize_setup.md)
* [Setup swap (you really do need this)](swap.md)
* [journald Tweaks (make it less chatty and resource hungry)](journald.md)
* [Standard Raspberry Pi Toolchain Setup](rpi_tools.md)

16
docs/rpi_tools.md Normal file
View File

@ -0,0 +1,16 @@
# Raspberry Pi Standard Tools Setup
The below commands will setup and expose the standard Raspberry Pi tools from ```raspbian```. Some of these tools are necessary for additional features like HDMI display on/off support.
``` sh
# Standard tools included by arch linux on arm
sed -i "s/appendpath '\/usr\/bin'/appendpath '\/usr\/bin'\nappendpath '\/opt\/vc\/bin'/g" /etc/profile
source /etc/profile
# raspi-config that's commonly used by tutorials and guides online
pacman -S libnewt
wget https://raw.github.com/chattama/raspi-config-archlinux/archlinux/raspi-config -O /usr/local/bin/raspi-config
chmod a+x /usr/local/bin/raspi-config
```

View File

@ -1,15 +1,3 @@
########################################
# rpi tooling setup
########################################
sed -i "s/appendpath '\/usr\/bin'/appendpath '\/usr\/bin'\nappendpath '\/opt\/vc\/bin'/g" /etc/profile
source /etc/profile
pacman -S libnewt
wget https://raw.github.com/chattama/raspi-config-archlinux/archlinux/raspi-config -O /usr/local/bin/raspi-config
chmod a+x /usr/local/bin/raspi-config
########################################
# cpu power / governor
########################################