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: e0080f279d5ebb320c2ba285765048fcca523fe7) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dc6a9a9435
commit
fd1aacc798
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue