Skip to content

Commit b997de3

Browse files
committed
kernelconfig: organize kernel directory as linuxkit
As the files are properly named with the kernel version, is time to move the directory to be similar as linuxkit. This commit moves the content from kernelconfig/4.11 to kernel directory, and updates customosbuildinstructions document. Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
1 parent da6797e commit b997de3

9 files changed

Lines changed: 5 additions & 5 deletions

docs/customosbuildinstructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ A LCOW custom Linux OS image was divided into two parts: a Linux kernel module a
99

1010
- Have your 4.11 kernel source tree ready
1111

12-
- Apply additional [4.11 patches](../kernelconfig/4.11/patches_readme.md) to your 4.11 kernel source tree
12+
- Apply additional [4.11 patches](../kernel/patches_readme.md) to your 4.11 kernel source tree
1313

14-
- Use the recommended [Kconfig](../kernelconfig/4.11/kconfig_for_4_11/) to include all LCOW necessary kernel components
14+
- Use the recommended [Kconfig](../kernel/kernel_config-4.11.x) to include all LCOW necessary kernel components
1515

1616
- Build your kernel
1717

@@ -21,7 +21,7 @@ A LCOW custom Linux OS image was divided into two parts: a Linux kernel module a
2121

2222
## How to construct user-mode components
2323

24-
The expected user mode directory structure is required to constructed as follows: [See the complete user-mode file list](../kernelconfig/4.11/completeUsermodeFileLists.md/)
24+
The expected user mode directory structure is required to constructed as follows: [See the complete user-mode file list](../kernel/completeUsermodeFileLists.md)
2525

2626
Under the / directory, it should have the following subdirectories:
2727

@@ -46,7 +46,7 @@ Here are the expected contents of each subdirectory /file
4646
1. Subdirectories with **empty** contents: /tmp /proc /dev /run /etc /usr /mnt /sys
4747

4848
2. **/init**
49-
This is the [init script file](../kernelconfig/4.11/scripts/init_script)
49+
This is the [init script file](../kernel/scripts/init_script)
5050

5151
3. **/root** : this is the home directory of the root account.
5252

@@ -82,7 +82,7 @@ Here are the expected contents of each subdirectory /file
8282

8383
7. **/bin** : binaries in this subdir are categorised into four groups
8484

85-
- [GCS binaries](gcsbuildinstructions.md/)
85+
- [GCS binaries](gcsbuildinstructions.md)
8686

8787
/bin/exportSandbox
8888
/bin/gcs
File renamed without changes.
File renamed without changes.

kernelconfig/4.11/patches-4.11.x/0001-Added-vsock-transport-support-to-9pfs.patch renamed to kernel/patches-4.11.x/0001-Added-vsock-transport-support-to-9pfs.patch

File renamed without changes.

kernelconfig/4.11/patches-4.11.x/0002-NVDIMM-reducded-ND_MIN_NAMESPACE_SIZE-from-4MB-to-4K.patch renamed to kernel/patches-4.11.x/0002-NVDIMM-reducded-ND_MIN_NAMESPACE_SIZE-from-4MB-to-4K.patch

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)