019fef6929
This tool is useful for manipulating the A/B boot status of the image.
13 lines
280 B
Nix
13 lines
280 B
Nix
{
|
|
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
|
|
'';
|
|
}
|