From 614b63922b6fd8bcc28760fa52c495f55fa35800 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sun, 26 Feb 2023 21:25:28 -0800 Subject: [PATCH] ubootTools: add man pages As far as I can tell, there are no makefile targets to install these, or anything like that, so we have to do it by hand. This adds man pages for dumpimage, kwboot, mkeficapsule, and mkimage. There are no man pages in other sections than 1. --- pkgs/misc/uboot/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 517f9e784a61..81b37d7632c1 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -8,6 +8,7 @@ , fetchurl , flex , gnutls +, installShellFiles , libuuid , meson-tools , ncurses @@ -66,6 +67,7 @@ let bison dtc flex + installShellFiles openssl (buildPackages.python3.withPackages (p: [ p.libfdt @@ -136,6 +138,12 @@ in { dontStrip = false; extraMeta.platforms = lib.platforms.linux; extraMakeFlags = [ "HOST_TOOLS_ALL=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ]; + + outputs = [ "out" "man" ]; + + postInstall = '' + installManPage doc/*.1 + ''; filesToInstall = [ "tools/dumpimage" "tools/fdtgrep"