lxcfs: 5.0.4 -> 6.0.0

This commit is contained in:
Adam Stephens 2024-03-29 22:29:52 -04:00
parent 248dc21a54
commit 811965cd34
No known key found for this signature in database
5 changed files with 6 additions and 8 deletions

View File

@ -7,6 +7,7 @@
makeWrapper, makeWrapper,
meson, meson,
ninja, ninja,
nix-update-script,
nixosTests, nixosTests,
pkg-config, pkg-config,
python3, python3,
@ -15,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lxcfs"; pname = "lxcfs";
version = "5.0.4"; version = "6.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxc"; owner = "lxc";
repo = "lxcfs"; repo = "lxcfs";
rev = "lxcfs-${version}"; rev = "v${version}";
sha256 = "sha256-vusxbFV7cnQVBOOo7E+fSyaE63f5QiE2xZhYavc8jJU="; sha256 = "sha256-Mx2ZTul3hUEL9SloYSOh+MGoc2QmZg88MTsfIOvaIZU=";
}; };
patches = [ patches = [
@ -35,7 +36,6 @@ stdenv.mkDerivation rec {
./pidfd.patch ./pidfd.patch
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
help2man help2man
@ -60,14 +60,13 @@ stdenv.mkDerivation rec {
patchelf --set-rpath "$(patchelf --print-rpath "$out/bin/lxcfs"):$out/lib" "$out/bin/lxcfs" patchelf --set-rpath "$(patchelf --print-rpath "$out/bin/lxcfs"):$out/lib" "$out/bin/lxcfs"
''; '';
passthru.tests = {
incus-container-old-init = nixosTests.incus.container-old-init;
incus-container-new-init = nixosTests.incus.container-new-init;
passthru = { passthru = {
tests = { tests = {
incus-container-legacy-init = nixosTests.incus.container-legacy-init; incus-container-legacy-init = nixosTests.incus.container-legacy-init;
incus-container-systemd-init = nixosTests.incus.container-systemd-init; incus-container-systemd-init = nixosTests.incus.container-systemd-init;
}; };
updateScript = nix-update-script { };
}; };
meta = { meta = {

View File

@ -10587,7 +10587,6 @@ with pkgs;
lwc = callPackage ../tools/misc/lwc { }; lwc = callPackage ../tools/misc/lwc { };
lxc = callPackage ../os-specific/linux/lxc { }; lxc = callPackage ../os-specific/linux/lxc { };
lxcfs = callPackage ../os-specific/linux/lxcfs { };
lxd = callPackage ../tools/admin/lxd/wrapper.nix { }; lxd = callPackage ../tools/admin/lxd/wrapper.nix { };
lxd-unwrapped = callPackage ../tools/admin/lxd { lxd-unwrapped = callPackage ../tools/admin/lxd {