zyxel-bootconfig: init at no version

This tool is useful for manipulating the A/B boot status of the image.
This commit is contained in:
Raito Bezarius
2023-12-04 16:04:24 +01:00
parent 63007859c2
commit 019fef6929
2 changed files with 14 additions and 0 deletions

View File

@@ -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
'';
}