commit 019fef6929007c7ab0bec2912190afe2a24348f3 parent 63007859c26c6c1d7210cab5b04f88b5e2d62243 Author: Raito Bezarius <masterancpp@gmail.com> Date: Mon, 4 Dec 2023 16:04:24 +0100 zyxel-bootconfig: init at no version This tool is useful for manipulating the A/B boot status of the image. Diffstat:
| M | pkgs/default.nix | | | 1 | + |
| A | pkgs/zyxel-bootconfig/default.nix | | | 13 | +++++++++++++ |
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -79,6 +79,7 @@ in { lzma = callPackage ./lzma {}; mac80211 = callPackage ./mac80211 {}; + zyxel-bootconfig = callPackage ./zyxel-bootconfig {}; min-collect-garbage = callPackage ./min-collect-garbage {}; min-copy-closure = callPackage ./min-copy-closure {}; netlink-lua = callPackage ./netlink-lua {}; diff --git a/pkgs/zyxel-bootconfig/default.nix b/pkgs/zyxel-bootconfig/default.nix @@ -0,0 +1,13 @@ +{ + stdenv +, openwrt +}: +stdenv.mkDerivation { + name = "zyxel-bootconfig"; + inherit (openwrt) src; + sourceRoot = "openwrt-source/package/utils/zyxel-bootconfig/src"; + installPhase = '' + mkdir -p $out/bin + install -Dm644 zyxel-bootconfig $out/bin/zyxel-bootconfig + ''; +}