@@ -35,6 +35,8 @@ Quick start
35
35
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
36
36
$ cd linux
37
37
$ vng --build --commit v6.2-rc4
38
+ ...
39
+ $ vng --run
38
40
_ _
39
41
__ _(_)_ __| |_ _ __ ___ ___ _ __ __ _
40
42
\ \ / / | __| __| _ _ \ / _ \_____| _ \ / _ |
@@ -103,13 +105,13 @@ Examples
103
105
$ vng -r ./arch/x86/boot/bzImage
104
106
```
105
107
106
- - Test the currently running kernel in a safe snapshot of the system :
108
+ - Test the kernel recompiled in the current working directory :
107
109
```
108
110
$ vng -r
109
111
```
110
112
111
- - Test installed kernel 6.2.0-21-generic kernel in a safe snapshot of the
112
- system (NOTE: /boot/vmlinuz-6.2.0-21-generic needs to be accessible):
113
+ - Test installed kernel 6.2.0-21-generic kernel
114
+ (NOTE: /boot/vmlinuz-6.2.0-21-generic needs to be accessible):
113
115
```
114
116
$ vng -r 6.2.0-21-generic
115
117
```
@@ -136,7 +138,8 @@ Examples
136
138
--build-host-exec-prefix "schroot -c chroot:kinetic-amd64 -- "
137
139
```
138
140
139
- - Run the previously compiled kernel and enable networking:
141
+ - Run the previously compiled kernel from the current working directory and
142
+ enable networking:
140
143
```
141
144
$ vng -r . --network user
142
145
```
@@ -153,8 +156,8 @@ Examples
153
156
$ vng --build RUSTC=rustc-1.62 BINDGEN=bindgen-0.56 RUSTFMT=rustfmt-1.62
154
157
```
155
158
156
- - Build and test the arm64 kernel (using a separate chroot in
157
- /opt/chroot/arm64 as the main filesystem):
159
+ - Build the arm64 kernel (using a separate chroot in /opt/chroot/arm64 as the
160
+ main filesystem):
158
161
```
159
162
$ vng --build --arch arm64 --root /opt/chroot/arm64/
160
163
```
@@ -216,8 +219,8 @@ Examples
216
219
(virtme-ng is started in graphical mode)
217
220
```
218
221
219
- - Run the ` steam ` snap inside a virtme-ng instance using the
220
- 6.2.0-1003-lowlatency kernel:
222
+ - Run the ` steam ` snap (tested in Ubuntu) inside a virtme-ng instance using
223
+ the 6.2.0-1003-lowlatency kernel:
221
224
```
222
225
$ vng -r 6.2.0-1003-lowlatency --snaps --net user -g /snap/bin/steam
223
226
@@ -230,7 +233,8 @@ Implementation details
230
233
virtme-ng allows to automatically configure, build and run kernels using the
231
234
main command-line interface called ` vng ` .
232
235
233
- A minimal custom ` .config ` is automatically generated if not already present.
236
+ A minimal custom ` .config ` is automatically generated if not already present
237
+ when --build is specified.
234
238
235
239
It is possible to specify a set of custom configs (.config chunk) in
236
240
` ~/.config/virtme-ng/kernel.config ` , these user-specific settings will override
0 commit comments