Update neo2.yml
This commit is contained in:
13
.github/workflows/neo2.yml
vendored
13
.github/workflows/neo2.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: v18_code_and_v18_config Build
|
name: neo2 Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo rm -rf /etc/apt/sources.list.d
|
sudo rm -rf /etc/apt/sources.list.d
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++ python python3 file ecj fastjar java-propose-classpath
|
sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||||
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
|
||||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
|
||||||
|
|
||||||
@@ -40,11 +40,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd friendlywrt-h5
|
cd friendlywrt-h5
|
||||||
rm -f .repo/manifests/h5.xml
|
rm -f .repo/manifests/h5.xml
|
||||||
cp ../h5-18.06.xml .repo/manifests/h5.xml
|
cp ../19s_master_config.xml .repo/manifests/h5.xml
|
||||||
repo sync -c --no-clone-bundle
|
repo sync -c --no-clone-bundle
|
||||||
|
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/286a065e7832458ccd17a5d4cf4dd52a547fa34d/h5/nanopi_r1s.mk' > device/friendlyelec/h5/nanopi_neo2.mk
|
||||||
|
curl 'https://raw.githubusercontent.com/friendlyarm/friendlywrt_device_h5/a198d92e1d64bcde2d4169f2e680f5fff1dc80a9/h5/common-files/etc/opkg/distfeeds.conf' > device/friendlyelec/h5/common-files/etc/opkg/distfeeds.conf
|
||||||
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
sed -i '/=m/d;/CONFIG_ALL_KMODS/d;/CONFIG_ALL_NONSHARED/d;/CONFIG_DEVEL/d;/docker/d;/DOCKER/d;/CONFIG_DISPLAY_SUPPORT/d' configs/config_h5
|
||||||
sed -i '/CONFIG_TARGET_MULTI_PROFILE/d' configs/config_h5
|
sed -i '1cCONFIG_TARGET_sunxi=y' configs/config_h5
|
||||||
sed -i 's/CONFIG_TARGET_DEVICE/CONFIG_TARGET/' configs/config_h5
|
sed -i '2cCONFIG_TARGET_sunxi_cortexa53=y' configs/config_h5
|
||||||
|
sed -i '3cCONFIG_TARGET_sunxi_cortexa53_DEVICE_sun50i-h5-nanopi-neo-plus2=y' configs/config_h5
|
||||||
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||||
|
|
||||||
- name: Clean Feeds
|
- name: Clean Feeds
|
||||||
|
|||||||
Reference in New Issue
Block a user