1
0
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:
Hilton Chain
2025-06-14 14:25:59 +08:00
parent 4b2f52e998
commit 3ddadfc0fb
2 changed files with 21 additions and 0 deletions
+2
View File
@@ -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