mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02:00
gnu: Add %dummy-linux-kernel-for-container.
* gnu/packages/linux.scm (%dummy-linux-kernel-for-container): New variable. * gnu/system/linux-container.scm (containerized-operating-system): Use it. Change-Id: Ica49a0cd0b8ae4a78ba5fca879ae73f94e64474a
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#:use-module (gnu services shepherd)
|
||||
#:use-module (gnu system)
|
||||
#:use-module (gnu system file-systems)
|
||||
#:use-module (gnu packages linux)
|
||||
#:export (system-container
|
||||
containerized-operating-system
|
||||
container-script
|
||||
@@ -152,6 +153,7 @@ containerized OS. EXTRA-FILE-SYSTEMS is a list of file systems to add to OS."
|
||||
(define os-with-base-essential-services
|
||||
(operating-system
|
||||
(inherit os)
|
||||
(kernel %dummy-linux-kernel-for-container)
|
||||
(swap-devices '()) ; disable swap
|
||||
(services
|
||||
(append services-to-add
|
||||
|
||||
Reference in New Issue
Block a user