-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStep
43 lines (25 loc) · 1.34 KB
/
Step
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apt update -y
apt upgrade -y
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 \
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 \
vim wget xmlto xxd zlib1g-dev
adduser hi
cd /home/hi
git clone --branch "openwrt-18.06-k5.4" --single-branch "https://github.com/immortalwrt/immortalwrt" "immortalwrt"
git clone https://github.com/ThingsWhy/nanopi-r2s-openwrt.git
chown -R hi:hi "immortalwrt"
chown -R hi:hi "nanopi-r2s-openwrt"
cd /
su hi
screen -S hello
cd /home/hi/immortalwrt
./scripts/feeds update -a && ./scripts/feeds install -a
patch -p1 < "/home/hi/nanopi-r2s-openwrt/patches/1806-modify_for_r2s.patch"
cp -f "/home/hi/nanopi-r2s-openwrt/configs/1806-seed.config" ".config"
make defconfig
make -j1 V=s
## ./scripts/diffconfig.sh > 1806-seed.config