You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,17 +26,18 @@ or just ignore khack entirely and do your own thing.
26
26
## Details
27
27
Inside the VM home directory, there will be:
28
28
*`linux-source`: Linux kernel sources ready to be compiled with the minimal configuration from `linux-config`.
29
-
*`linux-config`: Premade kernel configs.
30
-
*`boot-backup`: A backup of `/boot`, just in case.
31
29
*`khack`: The khack utility.
32
30
*`module`: Scaffold code for a kernel module.
31
+
*`linux-config`: Premade kernel configs.
32
+
*`system-config`: Configuration files for different system-related programs, there's usually no need to touch this.
33
+
*`boot-backup`: A backup of `/boot`, just in case.
33
34
34
35
`khack`, `module` and `linux-config` are set up to be shared with the host operating system, so you can use your favorite editor to edit files in them.
35
-
To edit the kernel source, see below.
36
+
**To edit the kernel source, see below.**
36
37
Everything else can be done the traditional way (compile and install the kernel, etc) or using khack for convenience.
37
38
38
39
## Editing from host
39
-
We reveal the source via CIFS, to avoid issues with building the kernel on a VirtualBox shared directory.
40
+
We reveal the source via SMB/CIFS, to avoid issues with building the kernel on a VirtualBox shared directory.
40
41
To mount:
41
42
42
43
### Ubuntu
@@ -56,6 +57,7 @@ Via terminal:
56
57
sudo mount -t smbfs '//vagrant:vagrant@localhost:10139/kernel-source' WHERE_TO_MOUNT
57
58
```
58
59
Via Finder:
60
+
59
61
Use Connect to Server (cmd+K) with the URL `smb://vagrant:vagrant@localhost:10139/`.
0 commit comments