diff options
| author | Hilton Chain <hako@ultrarare.space> | 2025-06-14 14:25:59 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-28 22:50:50 +0800 |
| commit | 3ddadfc0fbb0097b1fd23b698bc586806bd2a92b (patch) | |
| tree | 35770a25aab01acf705e3999eee95ff7dbe30f1b /gnu/system/linux-container.scm | |
| parent | 4b2f52e9989f4e380359778fe161570bcb21ed56 (diff) | |
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
Diffstat (limited to 'gnu/system/linux-container.scm')
| -rw-r--r-- | gnu/system/linux-container.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm index e9be2c9d8a4..23298638b7a 100644 --- a/gnu/system/linux-container.scm +++ b/gnu/system/linux-container.scm | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | #:use-module (gnu services shepherd) | 40 | #:use-module (gnu services shepherd) |
| 41 | #:use-module (gnu system) | 41 | #:use-module (gnu system) |
| 42 | #:use-module (gnu system file-systems) | 42 | #:use-module (gnu system file-systems) |
| 43 | #:use-module (gnu packages linux) | ||
| 43 | #:export (system-container | 44 | #:export (system-container |
| 44 | containerized-operating-system | 45 | containerized-operating-system |
| 45 | container-script | 46 | container-script |
| @@ -152,6 +153,7 @@ containerized OS. EXTRA-FILE-SYSTEMS is a list of file systems to add to OS." | |||
| 152 | (define os-with-base-essential-services | 153 | (define os-with-base-essential-services |
| 153 | (operating-system | 154 | (operating-system |
| 154 | (inherit os) | 155 | (inherit os) |
| 156 | (kernel %dummy-linux-kernel-for-container) | ||
| 155 | (swap-devices '()) ; disable swap | 157 | (swap-devices '()) ; disable swap |
| 156 | (services | 158 | (services |
| 157 | (append services-to-add | 159 | (append services-to-add |
