forked from lix-project/lix
libstore: move cgroup to linux subclass
Change-Id: I2bf04383d422a46c38183cc944dc7e6489b0dbd2
This commit is contained in:
parent
e6275f8d2f
commit
7cc509f171
|
@ -20,11 +20,6 @@ struct LocalDerivationGoal : public DerivationGoal
|
|||
*/
|
||||
Pid pid;
|
||||
|
||||
/**
|
||||
* The cgroup of the builder, if any.
|
||||
*/
|
||||
std::optional<Path> cgroup;
|
||||
|
||||
/**
|
||||
* The temporary directory.
|
||||
*/
|
||||
|
|
|
@ -41,6 +41,11 @@ class LinuxLocalDerivationGoal : public LocalDerivationGoal
|
|||
public:
|
||||
using LocalDerivationGoal::LocalDerivationGoal;
|
||||
|
||||
/**
|
||||
* The cgroup of the builder, if any.
|
||||
*/
|
||||
std::optional<Path> cgroup;
|
||||
|
||||
private:
|
||||
void materialisePath(const StorePath & path) override;
|
||||
void preStartBuilder() override;
|
||||
|
|
Loading…
Reference in a new issue