build: fix po path for snapshot

pull/853/head
John Doe 2021-09-14 00:55:23 +08:00
parent f1fa155c2f
commit 8fed95e9f4
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ mv $GITHUB_WORKSPACE/patches/99-disallow-aaaa.patch `find package/ -follow -type
if [ $DEVICE != 'r1s' ]; then
# fix po path for snapshot
find package/ -follow -type d -path '*/po/zh-cn' | xargs dirname | xargs -n1 -i sh -c "rm -f {}/zh_Hans; ln -sf zh-cn {}/zh_Hans"
# remove non-exist package from x86 profile
sed -i 's/kmod-i40evf//' target/linux/x86/Makefile