mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
adt-installer: fix sed input file error
When use default install directory, we can't get the environment setup script path. The reason is that opkg-cl list incorrect files paths. This patch sets env_script variable to make us get correct environment setup script path. [YOCTO #6443] (From OE-Core rev: b0ac1ea1f7eaca92b613f874ee2cbf6830743a71) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -163,6 +163,7 @@ for target_type in $YOCTOADT_TARGETS; do
|
||||
|
||||
# opkg will not install packagegroup-cross-canadian package if it was already
|
||||
# installed. So, the environment script is in one place or the other.
|
||||
[ -e "$INSTALL_FOLDER/$env_script_original" ] && env_script=$INSTALL_FOLDER/$env_script_original
|
||||
[ -e "$env_script_original" ] && env_script=$env_script_original
|
||||
[ -e "$env_script_relocated" ] && env_script=$env_script_relocated
|
||||
|
||||
|
||||
Reference in New Issue
Block a user