mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-08 10:23:47 +08:00
README: futher style fixes
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 70c1b0e2f63a6f88ab6267e71bdbf8bf8944cd27)
This commit is contained in:
parent
dd16833e95
commit
d801983c8f
17
README.md
17
README.md
@ -37,17 +37,14 @@ To build your own firmware you need a GNU/Linux, BSD or MacOSX system (case sens
|
||||
curl -s https://build-scripts.project-openwrt.eu.org/init_build_environment.sh | sudo bash
|
||||
```
|
||||
|
||||
- You can also download and use prebuilt container directly:
|
||||
```bash
|
||||
docker pull immortalwrt/opde:base
|
||||
# docker run --rm -it immortalwrt/opde:base
|
||||
```
|
||||
- You can also download and use prebuilt container directly:<br/>
|
||||
See #Quickstart - Build image via OPDE
|
||||
|
||||
Note:
|
||||
- For the for love of god please do __not__ use ROOT user to build your image.
|
||||
- Using CPUs based on other architectures should be fine to compile ImmortalWrt, but more hacks are needed - No warranty at all.
|
||||
- You must __not__ have spaces in PATH or in the work folders on the drive.
|
||||
- If you're using Windows Subsystem for Linux (or WSL), removing Windows folders from PATH are required, please see [Build system setup WSL](https://openwrt.org/docs/guide-developer/build-system/wsl) documentation.
|
||||
- If you're using Windows Subsystem for Linux (or WSL), removing Windows folders from PATH is required, please see [Build system setup WSL](https://openwrt.org/docs/guide-developer/build-system/wsl) documentation.
|
||||
- Using macOS as the host build OS is __not__ recommended. No warranty at all. You can get tips from [Build system setup macOS](https://openwrt.org/docs/guide-developer/build-system/buildroot.exigence.macosx) documentation.
|
||||
- As you're building ImmortalWrt, patching or disabling UPX tools is also required.
|
||||
- For more details, please see [Build system setup](https://openwrt.org/docs/guide-developer/build-system/install-buildsystem) documentation.
|
||||
@ -65,6 +62,12 @@ To build your own firmware you need a GNU/Linux, BSD or MacOSX system (case sens
|
||||
<details>
|
||||
<summary>Build image via OPDE</summary>
|
||||
|
||||
- Pull the prebuilt container:
|
||||
```bash
|
||||
docker pull immortalwrt/opde:base
|
||||
# docker run --rm -it immortalwrt/opde:base
|
||||
```
|
||||
|
||||
- For Linux User:
|
||||
```bash
|
||||
git clone -b <branch> --single-branch https://github.com/immortalwrt/immortalwrt && cd immortalwrt
|
||||
@ -107,7 +110,7 @@ To build your own firmware you need a GNU/Linux, BSD or MacOSX system (case sens
|
||||
```bash
|
||||
docker run --rm -v <D:\path\to\dir>:/dst -v openwrt:/openwrt -w /dst immortalwrt:base cp /openwrt/bin /dst
|
||||
```
|
||||
> Make sure `D:\path]to\dir` has been appended in [File Sharing](https://docs.docker.com/docker-for-windows/#file-sharing).
|
||||
> Make sure `D:\path\to\dir` has been appended in [File Sharing](https://docs.docker.com/docker-for-windows/#file-sharing).
|
||||
|
||||
</details>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user