Skip to content

Commit

Permalink
lxc docker action readme
Browse files Browse the repository at this point in the history
  • Loading branch information
5kind committed Dec 20, 2023
1 parent 2855fef commit bc11f79
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,34 @@ LTO 用于优化内核,但有些时候会导致错误

例如: https://raw.githubusercontent.com/xiaoleGun/KernelSU_action/main/boot/boot-wayne-from-Miku-UI-latest.img

# LXC-DOCKER Action

### KERNEL_DEPTH

内核源码深度,一般为 1 已经足够

### CUT_PYTHON

修改默认 python 为 python2

### LXC_DOCKER | ENABLE_KVM | ANDROID_PARANOID_NETWORK_OFF

启用 lxc-docker | kvm 的内核配置 | 关闭 Android 网络配置(防止容器网络问题)

### ENABLE_NETHUNTER

启用 nethunter 的内核配置,并运行[patch脚本](scripts/patch/kali-nethunter-kernel.sh),按需自定义

### LXC_PATCH | MAKEFILE_PATCH

进行 lxc-docker | Makefile 的 patch
- lxc-docker: 运行[patch脚本](scripts/patch/lxc-docker.sh),按需自定义
- Makefile: 如果默认的配置覆盖了使用的配置时[进行patch](patches/Makefile.patch),按需自定义

### CUSTOM_SCRIPT

是否运行[自定义脚本](scripts/customize.sh),按需自定义

## 感谢

- [AnyKernel3](https://github.com/osm0sis/AnyKernel3)
Expand Down
28 changes: 28 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,34 @@ As the name suggests, it provides a boot image source system that can boot norma

For example: https://raw.githubusercontent.com/xiaoleGun/KernelSU_action/main/boot/boot-wayne-from-Miku-UI-latest.img

# LXC-DOCKER Action

### KERNEL_DEPTH

Kernel source code depth, usually 1 is sufficient.

### CUT_PYTHON

Change the default Python to Python2.

### LXC_DOCKER | ENABLE_KVM | ANDROID_PARANOID_NETWORK_OFF

Enable the kernel configuration for lxc-docker | kvm | turn off Android network configuration (to prevent container network issues).

### ENABLE_NETHUNTER

Enable the kernel configuration for nethunter, and run the [patch script](scripts/patch/kali-nethunter-kernel.sh) to customize as needed.

### LXC_PATCH | MAKEFILE_PATCH

Perform patching for lxc-docker | Makefile.
- lxc-docker: run the [patch script](scripts/patch/lxc-docker.sh) to customize as needed.
- Makefile: if the default configuration overrides the used configuration, [perform patching](patches/Makefile.patch) and customize as needed.

### CUSTOM_SCRIPT

Whether to run the [customization script](scripts/customize.sh) and customize as needed.

## Thanks

- [AnyKernel3](https://github.com/osm0sis/AnyKernel3)
Expand Down

0 comments on commit bc11f79

Please sign in to comment.