s6-linux-init: init at 1.0.6.0
This commit is contained in:
parent
9af95960e2
commit
01ea0b5722
2 changed files with 42 additions and 0 deletions
39
pkgs/os-specific/linux/s6-linux-init/default.nix
Normal file
39
pkgs/os-specific/linux/s6-linux-init/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, skawarePackages }:
|
||||
|
||||
with skawarePackages;
|
||||
|
||||
buildPackage {
|
||||
pname = "s6-linux-init";
|
||||
version = "1.0.6.0";
|
||||
sha256 = "0kzif3dqhm7h4h7c6npzdbcy7w756222g8ysw116fgb8j385dr6w";
|
||||
|
||||
description = "A set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel";
|
||||
platforms = lib.platforms.linux;
|
||||
|
||||
outputs = [ "bin" "dev" "doc" "out" ];
|
||||
|
||||
configureFlags = [
|
||||
"--bindir=\${bin}/bin"
|
||||
"--includedir=\${dev}/include"
|
||||
"--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
|
||||
"--with-include=${skalibs.dev}/include"
|
||||
"--with-include=${execline.dev}/include"
|
||||
"--with-include=${s6.dev}/include"
|
||||
"--with-lib=${skalibs.lib}/lib"
|
||||
"--with-lib=${s6.out}/lib"
|
||||
"--with-lib=${execline.lib}/lib"
|
||||
"--with-dynlib=${skalibs.lib}/lib"
|
||||
"--with-dynlib=${execline.lib}/lib"
|
||||
"--with-dynlib=${s6.out}/lib"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# remove all s6 executables from build directory
|
||||
rm $(find -name "s6-*" -type f -mindepth 1 -maxdepth 1 -executable)
|
||||
rm libs6_linux_init.* libhpr.*
|
||||
rm -rf skel
|
||||
|
||||
mv doc $doc/share/doc/s6-linux-init/html
|
||||
'';
|
||||
|
||||
}
|
|
@ -7542,6 +7542,8 @@ in
|
|||
|
||||
s6-dns = skawarePackages.s6-dns;
|
||||
|
||||
s6-linux-init = skawarePackages.s6-linux-init;
|
||||
|
||||
s6-linux-utils = skawarePackages.s6-linux-utils;
|
||||
|
||||
s6-networking = skawarePackages.s6-networking;
|
||||
|
@ -16463,6 +16465,7 @@ in
|
|||
|
||||
s6 = callPackage ../tools/system/s6 { };
|
||||
s6-dns = callPackage ../tools/networking/s6-dns { };
|
||||
s6-linux-init = callPackage ../os-specific/linux/s6-linux-init { };
|
||||
s6-linux-utils = callPackage ../os-specific/linux/s6-linux-utils { };
|
||||
s6-networking = callPackage ../tools/networking/s6-networking { };
|
||||
s6-portable-utils = callPackage ../tools/misc/s6-portable-utils { };
|
||||
|
|
Loading…
Reference in a new issue