diff --git a/README.md b/README.md index c78984a..a06ab8b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Following packages must be installed: * `imagemagick` (for `convert` command) * `util-linux` (for `uuidparse` command) -* [coreboot's cbfstool]( +* [coreboot's cbfstool](https://github.com/coreboot/coreboot/tree/master/util/cbfstool) The script will exit with an error if any of above are not present. diff --git a/dcu b/dcu index 2360fbd..76c0a58 100755 --- a/dcu +++ b/dcu @@ -387,9 +387,10 @@ parse_requirements() { else printf "missing dependency: cbfstool\n" >&2 printf "%s\n" "You can build one from source code: - https://github.com/coreboot/coreboot/tree/main/util/cbfstool - Or download pre-built version: - https://dl.3mdeb.com/open-source-firmware/utilities/cbfstool + https://github.com/Dasharo/dcu#compiling-cbfstool + Or download and install pre-built version with following commands: + sudo wget -O /usr/local/bin/cbfstool https://dl.3mdeb.com/open-source-firmware/utilities/cbfstool + sudo chmod +x /usr/local/bin/cbfstool " >&2 exit 1 fi diff --git a/src/bashly.yml b/src/bashly.yml index cd8f297..fcae62e 100644 --- a/src/bashly.yml +++ b/src/bashly.yml @@ -48,9 +48,10 @@ dependencies: command: [cbfstool] help: > You can build one from source code: - https://github.com/coreboot/coreboot/tree/main/util/cbfstool - Or download pre-built version: - https://dl.3mdeb.com/open-source-firmware/utilities/cbfstool + https://github.com/Dasharo/dcu#compiling-cbfstool + Or download and install pre-built version with following commands: + sudo wget -O /usr/local/bin/cbfstool https://dl.3mdeb.com/open-source-firmware/utilities/cbfstool + sudo chmod +x /usr/local/bin/cbfstool uuidparse: command: [uuidparse] help: "Please install util-linux package"