README: update setup instruction

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 153722d7af9482494e9dd85b37c4b3c5c528673f)
This commit is contained in:
Tianling Shen
2022-10-16 10:06:24 +08:00
parent 0bf054cd9e
commit eaed06cb6a

View File

@@ -32,7 +32,7 @@ To build your own firmware you need a GNU/Linux, BSD or MacOSX system (case sens
sudo apt full-upgrade -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler ecj fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool lib32gcc1 libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
git gperf haveged help2man intltool lib32gcc-s1 libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5 libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip python3-ply \
python-docutils qemu-utils re2c rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \
@@ -41,7 +41,7 @@ To build your own firmware you need a GNU/Linux, BSD or MacOSX system (case sens
</details>
- Method 2:
```bash
curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh | sudo bash
sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)'
```
- You can also download and use prebuilt container directly:<br/>