Merge pull request #294497 from cmspam/patch-1

incus.ui: Added incus-specific patches to fix branding and API
This commit is contained in:
Maciej Krüger 2024-03-09 18:32:40 +01:00 committed by GitHub
commit 8b8bc2c64b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 12 additions and 0 deletions

View file

@ -29,6 +29,7 @@ in
incus.enable = true;
};
networking.nftables.enable = true;
};
testScript = ''

View file

@ -67,6 +67,7 @@ import ../make-test-python.nix (
incus.enable = true;
};
networking.nftables.enable = true;
};
testScript = ''

View file

@ -48,6 +48,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... } :
];
};
};
networking.nftables.enable = true;
};
testScript = ''

View file

@ -12,6 +12,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... } :
incus.enable = true;
incus.socketActivation = true;
};
networking.nftables.enable = true;
};
testScript = ''

View file

@ -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

View file

@ -32,6 +32,7 @@ in
incus.enable = true;
};
networking.nftables.enable = true;
};
testScript = ''

View file

@ -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*
'';
})