Merge pull request #294497 from cmspam/patch-1
incus.ui: Added incus-specific patches to fix branding and API
This commit is contained in:
commit
8b8bc2c64b
7 changed files with 12 additions and 0 deletions
|
@ -29,6 +29,7 @@ in
|
|||
|
||||
incus.enable = true;
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -67,6 +67,7 @@ import ../make-test-python.nix (
|
|||
|
||||
incus.enable = true;
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -48,6 +48,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... } :
|
|||
];
|
||||
};
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -12,6 +12,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... } :
|
|||
incus.enable = true;
|
||||
incus.socketActivation = true;
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -10,6 +10,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... }: {
|
|||
incus.enable = true;
|
||||
incus.ui.enable = true;
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
|
||||
environment.systemPackages =
|
||||
let
|
||||
|
|
|
@ -32,6 +32,7 @@ in
|
|||
|
||||
incus.enable = true;
|
||||
};
|
||||
networking.nftables.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -22,5 +22,11 @@ lxd.ui.overrideAttrs(prev: rec {
|
|||
echo "applying patch $p"
|
||||
git apply -p1 "$p"
|
||||
done
|
||||
sed -i "s/LXD/Incus/g" src/*/*.ts* src/*/*/*.ts* src/*/*/*/*.ts*
|
||||
sed -i "s/devlxd/guestapi/g" src/*/*.ts* src/*/*/*.ts* src/*/*/*/*.ts*
|
||||
sed -i "s/dev\/lxd/dev\/incus/g" src/*/*.ts* src/*/*/*.ts* src/*/*/*/*.ts*
|
||||
sed -i "s/lxd_/incus_/g" src/*/*.ts* src/*/*/*.ts* src/*/*/*/*.ts*
|
||||
sed -i "s/\"lxd\"/\"incus\"/g" src/*/*.ts* src/*/*/*.ts* src/*/*/*/*.ts*
|
||||
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue