diff --git a/container/lkp-initrd/run b/container/lkp-initrd/run index 522f5098ddc2..e2bff72ab83b 100755 --- a/container/lkp-initrd/run +++ b/container/lkp-initrd/run @@ -24,3 +24,8 @@ cmd=(
"${cmd[@]}" echo "result: /srv/initrd/lkp/${lkp_initrd_user:-latest}/lkp-${ARCH}.cgz"
+# rsync lkp-${ARCH}.cgz if needed +if [ -f "/usr/local/bin/rsync-lkp-cgz" ]; then
- . "/usr/local/bin/rsync-lkp-cgz"
must add here? how about add a scripy on $CCI_SRC/sbin ?
i think the run scripy should not do this.
Good point.
Here are the reason: 1. if there is no this file in user's env, the normal function of this script won't be effected.
2. if user have the same needs as us, he also could add this custom script to rsync the result lkp.cgz to anywhere he want.
-------- Thanks Yu Chuan
Thanks, Shenwei
+fi
2.23.0