treewide: lint and format
Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If16d2fd802a2d452234d8b56b41e79d030138a6b
diff --git a/witherspoon-debug/README.md b/witherspoon-debug/README.md
index 3840aba..1e8d977 100644
--- a/witherspoon-debug/README.md
+++ b/witherspoon-debug/README.md
@@ -1,30 +1,28 @@
-Description
-===========
+# Description
-The OpenBMC debugtools tarball clashes with the filesystem layout of
-witherspoon systems, and contains a number of other outstanding issues with
-respect to the tools it deploys. The debug script here documents and executes
-the workarounds necessary to make it functional.
+The OpenBMC debugtools tarball clashes with the filesystem layout of witherspoon
+systems, and contains a number of other outstanding issues with respect to the
+tools it deploys. The debug script here documents and executes the workarounds
+necessary to make it functional.
-Usage
------
-```
+## Usage
+
+```sh
./debug [USER@]HOST TARBALL
```
For example:
-```
-$ ./debug root@my-witherspoon obmc-phosphor-debug-tarball-witherspoon.tar.xz
+```sh
+./debug root@my-witherspoon obmc-phosphor-debug-tarball-witherspoon.tar.xz
```
-Notes
------
+## Notes
The script will:
-1. Ensure `/usr/local` is a tmpfs mountpoint (may not be if system is
- configured for Field Mode)
+1. Ensure `/usr/local` is a tmpfs mountpoint (may not be if system is configured
+ for Field Mode)
2. Deploy the debugtools tarball to `/usr/local`
3. Make `perf(1)` work by
1. Installing a fake `expand(1)` if necessary
diff --git a/witherspoon-debug/debug b/witherspoon-debug/debug
index 42c7581..cfdf0b2 100755
--- a/witherspoon-debug/debug
+++ b/witherspoon-debug/debug
@@ -7,8 +7,8 @@
if [ $# -lt 2 ]
then
- echo Usage: $0 [user@][host] [tarball]
- exit 1
+ echo Usage: $0 [user@][host] [tarball]
+ exit 1
fi
TARGET="$1"