mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
Merge branch 'devel' into 'main'
reworking glicid cgroups See merge request glicid-public/guix-glicid!139
This commit is contained in:
commit
ecd958a1db
1 changed files with 19 additions and 0 deletions
|
@ -5,6 +5,24 @@
|
||||||
|
|
||||||
(define %cgroups
|
(define %cgroups
|
||||||
(append (list
|
(append (list
|
||||||
|
(file-system
|
||||||
|
(device "none")
|
||||||
|
(mount-point "/run/systemd")
|
||||||
|
(type "tmpfs")
|
||||||
|
(check? #f)
|
||||||
|
(flags '(no-suid no-dev no-exec))
|
||||||
|
(options "mode=0755")
|
||||||
|
(create-mount-point? #t)
|
||||||
|
)
|
||||||
|
(file-system
|
||||||
|
(device "none")
|
||||||
|
(mount-point "/run/user")
|
||||||
|
(type "tmpfs")
|
||||||
|
(check? #f)
|
||||||
|
(flags '(no-suid no-dev no-exec))
|
||||||
|
(options "mode=0755")
|
||||||
|
(create-mount-point? #t)
|
||||||
|
)
|
||||||
(file-system
|
(file-system
|
||||||
(device "cgroup")
|
(device "cgroup")
|
||||||
(mount-point "/sys/fs/cgroup/hugetlb")
|
(mount-point "/sys/fs/cgroup/hugetlb")
|
||||||
|
@ -41,5 +59,6 @@
|
||||||
(create-mount-point? #t)
|
(create-mount-point? #t)
|
||||||
(dependencies (list (car %control-groups)))
|
(dependencies (list (car %control-groups)))
|
||||||
)
|
)
|
||||||
|
%control-groups
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue