Skip to content

Commit

Permalink
update packages for openwrt
Browse files Browse the repository at this point in the history
  • Loading branch information
breakings committed Feb 16, 2024
1 parent a31f5ee commit 7edd016
Show file tree
Hide file tree
Showing 71 changed files with 3,164 additions and 670 deletions.
41 changes: 32 additions & 9 deletions .github/workflows/build-openwrt-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,50 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@main

- name: Check server configuration
run: |
echo "警告⚠"
echo "若分配的服务器性能不足,务必及时取消,重新运行!"
echo "已知编译成功CPU型号:8370C,8171M"
echo "已知性能不足CPU型号:8272CL"
echo -e "-------------- ------------CPU信息------------------------------------------\n"
echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)"
echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n"
echo "-------------------------------内存信息-------------------------------------------"
echo "已安装内存详细信息:"
sudo lshw -short -C memory | grep GiB
echo -e "\n"
echo "-----------------------------硬盘信息---------------------------------------------"
echo -e "硬盘数量:$(ls /dev/sd* | grep -v [1-9] | wc -l) \n"
echo "硬盘详情:"
df -Th
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo -E apt-get -qq update
sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004)
sudo -E apt-get -qq autoremove --purge
sudo -E apt-get -qq clean
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null
sudo -E apt -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true
[[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
sudo -E apt update
sudo -E apt -y install $(curl -fsSL https://is.gd/depends_ubuntu_2004)
sudo -E apt -y autoremove --purge
sudo -E systemctl daemon-reload
sudo -E apt clean && sudo -E apt autoclean
sudo timedatectl set-timezone "$TZ"
sudo mkdir -p /workdir
sudo chown $USER:$GROUPS /workdir
sudo mkdir -p /mnt/workdir
sudo chown $USER:$GROUPS /mnt/workdir
echo "status=success" >> ${GITHUB_OUTPUT}
df -Th
- name: Clone source code
working-directory: /workdir
working-directory: /mnt/workdir
run: |
df -hT $PWD
git clone $REPO_URL -b $REPO_BRANCH openwrt
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt
cd openwrt
useVersionInfo=$(git show -s --date=short --format="Author: %an<br/>date: %cd<br/>commit: %s<br/>commit hash: %H")
echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-openwrt-huge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,26 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android
sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* aspnetcore*
[ -n "$AGENT_TOOLSDIRECTORY" ] && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null
sudo -E apt -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true
[[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
sudo -E apt update
sudo -E apt -y install $(curl -fsSL https://is.gd/depends_ubuntu_2204)
sudo -E apt -y autoremove --purge
sudo -E systemctl daemon-reload
sudo -E apt clean
sudo -E apt clean && sudo -E apt autoclean
sudo timedatectl set-timezone "$TZ"
sudo mkdir -p /workdir
sudo chown $USER:$GROUPS /workdir
sudo mkdir -p /mnt/workdir
sudo chown $USER:$GROUPS /mnt/workdir
echo "status=success" >> ${GITHUB_OUTPUT}
df -Th
- name: Clone source code
working-directory: /workdir
working-directory: /mnt/workdir
run: |
df -hT $PWD
git clone $REPO_URL -b $REPO_BRANCH openwrt
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt
cd openwrt
useVersionInfo=$(git show -s --date=short --format="Author: %an<br/>date: %cd<br/>commit: %s<br/>commit hash: %H")
echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,26 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android
sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* aspnetcore*
[ -n "$AGENT_TOOLSDIRECTORY" ] && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null
sudo -E apt -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true
[[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
sudo -E apt update
sudo -E apt -y install $(curl -fsSL https://is.gd/depends_ubuntu_2204)
sudo -E apt -y autoremove --purge
sudo -E systemctl daemon-reload
sudo -E apt clean
sudo -E apt clean && sudo -E apt autoclean
sudo timedatectl set-timezone "$TZ"
sudo mkdir -p /workdir
sudo chown $USER:$GROUPS /workdir
sudo mkdir -p /mnt/workdir
sudo chown $USER:$GROUPS /mnt/workdir
echo "status=success" >> ${GITHUB_OUTPUT}
df -Th
- name: Clone source code
working-directory: /workdir
working-directory: /mnt/workdir
run: |
df -hT $PWD
git clone $REPO_URL -b $REPO_BRANCH openwrt
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt
cd openwrt
useVersionInfo=$(git show -s --date=short --format="Author: %an<br/>date: %cd<br/>commit: %s<br/>commit hash: %H")
echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,26 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android
sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* aspnetcore*
[ -n "$AGENT_TOOLSDIRECTORY" ] && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null
sudo -E apt -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true
[[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
sudo -E apt update
sudo -E apt -y install $(curl -fsSL https://is.gd/depends_ubuntu_2204)
sudo -E apt -y autoremove --purge
sudo -E systemctl daemon-reload
sudo -E apt clean
sudo -E apt clean && sudo -E apt autoclean
sudo timedatectl set-timezone "$TZ"
sudo mkdir -p /workdir
sudo chown $USER:$GROUPS /workdir
sudo mkdir -p /mnt/workdir
sudo chown $USER:$GROUPS /mnt/workdir
echo "status=success" >> ${GITHUB_OUTPUT}
df -Th
- name: Clone source code
working-directory: /workdir
working-directory: /mnt/workdir
run: |
df -hT $PWD
git clone $REPO_URL -b $REPO_BRANCH openwrt
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt
cd openwrt
useVersionInfo=$(git show -s --date=short --format="Author: %an<br/>date: %cd<br/>commit: %s<br/>commit hash: %H")
echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV
Expand Down
8 changes: 5 additions & 3 deletions ARMv8/lede-gcc11.config
Original file line number Diff line number Diff line change
Expand Up @@ -5338,7 +5338,7 @@ CONFIG_PACKAGE_luci-app-kodexplorer=m
# CONFIG_PACKAGE_luci-app-lxc is not set
CONFIG_PACKAGE_luci-app-minidlna=y
# CONFIG_PACKAGE_luci-app-mjpg-streamer is not set
# CONFIG_PACKAGE_luci-app-mosdns is not set
CONFIG_PACKAGE_luci-app-mosdns=y
# CONFIG_PACKAGE_luci-app-music-remote-center is not set
# CONFIG_PACKAGE_luci-app-mwan3 is not set
# CONFIG_PACKAGE_luci-app-mwan3helper is not set
Expand Down Expand Up @@ -5733,6 +5733,8 @@ CONFIG_PACKAGE_luci-i18n-kodexplorer-zh-cn=m
# CONFIG_PACKAGE_luci-i18n-minidlna-vi is not set
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
# CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw is not set
CONFIG_PACKAGE_luci-i18n-mosdns-zh-cn=y
# CONFIG_PACKAGE_luci-i18n-mosdns-zh_Hans is not set
CONFIG_PACKAGE_luci-i18n-n2n-zh-cn=y
CONFIG_PACKAGE_luci-i18n-netdata-zh-cn=y
CONFIG_PACKAGE_luci-i18n-nfs-zh-cn=y
Expand Down Expand Up @@ -6365,7 +6367,7 @@ CONFIG_PACKAGE_dnsproxy=y
# CONFIG_PACKAGE_mdns-utils is not set
# CONFIG_PACKAGE_mdnsd is not set
# CONFIG_PACKAGE_mdnsresponder is not set
# CONFIG_PACKAGE_mosdns is not set
CONFIG_PACKAGE_mosdns=y
# CONFIG_PACKAGE_nsd is not set
# CONFIG_PACKAGE_nsd-control is not set
# CONFIG_PACKAGE_nsd-control-setup is not set
Expand Down Expand Up @@ -8197,7 +8199,7 @@ CONFIG_PACKAGE_usbutils=y
# CONFIG_PACKAGE_uuidd is not set
CONFIG_PACKAGE_uuidgen=y
# CONFIG_PACKAGE_uvcdynctrl is not set
# CONFIG_PACKAGE_v2dat is not set
CONFIG_PACKAGE_v2dat=y
# CONFIG_PACKAGE_v4l-utils is not set
# CONFIG_PACKAGE_view1090 is not set
# CONFIG_PACKAGE_viewadsb is not set
Expand Down
8 changes: 5 additions & 3 deletions ARMv8/lede-huge.config
Original file line number Diff line number Diff line change
Expand Up @@ -5340,7 +5340,7 @@ CONFIG_PACKAGE_luci-app-kodexplorer=y
# CONFIG_PACKAGE_luci-app-lxc is not set
CONFIG_PACKAGE_luci-app-minidlna=y
CONFIG_PACKAGE_luci-app-mjpg-streamer=y
# CONFIG_PACKAGE_luci-app-mosdns is not set
CONFIG_PACKAGE_luci-app-mosdns=y
CONFIG_PACKAGE_luci-app-music-remote-center=y
CONFIG_PACKAGE_luci-app-mwan3=y
CONFIG_PACKAGE_luci-app-mwan3helper=y
Expand Down Expand Up @@ -5744,6 +5744,8 @@ CONFIG_PACKAGE_luci-i18n-kodexplorer-zh-cn=y
# CONFIG_PACKAGE_luci-i18n-minidlna-vi is not set
CONFIG_PACKAGE_luci-i18n-minidlna-zh-cn=y
# CONFIG_PACKAGE_luci-i18n-minidlna-zh-tw is not set
CONFIG_PACKAGE_luci-i18n-mosdns-zh-cn=y
# CONFIG_PACKAGE_luci-i18n-mosdns-zh_Hans is not set
# CONFIG_PACKAGE_luci-i18n-mjpg-streamer-ja is not set
# CONFIG_PACKAGE_luci-i18n-mjpg-streamer-pt-br is not set
# CONFIG_PACKAGE_luci-i18n-mjpg-streamer-ru is not set
Expand Down Expand Up @@ -6441,7 +6443,7 @@ CONFIG_PACKAGE_dnsproxy=y
# CONFIG_PACKAGE_mdns-utils is not set
# CONFIG_PACKAGE_mdnsd is not set
# CONFIG_PACKAGE_mdnsresponder is not set
# CONFIG_PACKAGE_mosdns is not set
CONFIG_PACKAGE_mosdns=y
# CONFIG_PACKAGE_nsd is not set
# CONFIG_PACKAGE_nsd-control is not set
# CONFIG_PACKAGE_nsd-control-setup is not set
Expand Down Expand Up @@ -8388,7 +8390,7 @@ CONFIG_PACKAGE_usbutils=y
# CONFIG_PACKAGE_uuidd is not set
CONFIG_PACKAGE_uuidgen=y
# CONFIG_PACKAGE_uvcdynctrl is not set
# CONFIG_PACKAGE_v2dat is not set
CONFIG_PACKAGE_v2dat=y
# CONFIG_PACKAGE_v4l-utils is not set
# CONFIG_PACKAGE_view1090 is not set
# CONFIG_PACKAGE_viewadsb is not set
Expand Down
Loading

0 comments on commit 7edd016

Please sign in to comment.