forked from DGNum/liminix
422f3edab1
This adds a simple boot blessing module, to be used, with the Zyxel NWA50AX. There's a lot of elephant in the rooms: how do you upgrade kernel, etc. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
16 lines
334 B
Nix
16 lines
334 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
|
|
'';
|
|
meta = {
|
|
mainProgram = "zyxel-bootconfig";
|
|
};
|
|
}
|