From 8fed95e9f4895141d8504f8efc9eb42ae50d3fb9 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 14 Sep 2021 00:55:23 +0800 Subject: [PATCH] build: fix po path for snapshot --- scripts/patches.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/patches.sh b/scripts/patches.sh index a5ecbab..e90f9f7 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -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