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

@ -79,6 +79,7 @@ in {
lzma = callPackage ./lzma {}; lzma = callPackage ./lzma {};
mac80211 = callPackage ./mac80211 {}; mac80211 = callPackage ./mac80211 {};
zyxel-bootconfig = callPackage ./zyxel-bootconfig {};
min-collect-garbage = callPackage ./min-collect-garbage {}; min-collect-garbage = callPackage ./min-collect-garbage {};
min-copy-closure = callPackage ./min-copy-closure {}; min-copy-closure = callPackage ./min-copy-closure {};
netlink-lua = callPackage ./netlink-lua {}; netlink-lua = callPackage ./netlink-lua {};

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