forked from DGNum/liminix
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:
parent
63007859c2
commit
019fef6929
2 changed files with 14 additions and 0 deletions
|
@ -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 {};
|
||||||
|
|
13
pkgs/zyxel-bootconfig/default.nix
Normal file
13
pkgs/zyxel-bootconfig/default.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue