Skip to content

Commit b00907b

Browse files
committed
Update x86_64.yml
1 parent d706d4c commit b00907b

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/x86_64.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,7 @@ jobs:
8787
run: |
8888
[ -e files ] && mv files openwrt/files
8989
[ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config
90-
cd openwrt
91-
sed -i 's/192.168.1.1/192.168.30.3/g' package/base-files/files/bin/config_generate # Modify default IP
92-
sed -i 's/OpenWrt/OpenWrt-Calmact-x86/g' package/base-files/files/bin/config_generate # Modify hostname
93-
[ -z $(grep "CONFIG_KERNEL_BUILD_USER=" .config) ] &&
94-
echo 'CONFIG_KERNEL_BUILD_USER="Calmact"' >>.config ||
95-
sed -i 's@\(CONFIG_KERNEL_BUILD_USER=\).*@\1$"Calmact"@' .config # Add kernel build user
96-
[ -z $(grep "CONFIG_KERNEL_BUILD_DOMAIN=" .config) ] &&
97-
echo 'CONFIG_KERNEL_BUILD_DOMAIN="GitHub Actions"' >>.config ||
98-
sed -i 's@\(CONFIG_KERNEL_BUILD_DOMAIN=\).*@\1$"GitHub Actions"@' .config # Add kernel build domain
90+
cd openwrt
9991
10092
- name: SSH connection to Actions
10193
uses: P3TERX/ssh2actions@v1.0.0

0 commit comments

Comments
 (0)