diff options
Diffstat (limited to 'meta')
3 files changed, 12 insertions, 9 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index b1b497002e..d7a40c2479 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer | |||
@@ -236,12 +236,15 @@ wget "$YOCTOADT_IPKG_REPO/$1" -P $LOCAL_DOWNLOAD --progress=bar:force 2>&1 | tee | |||
236 | #Need two input params, $1 -- arch_type(arm powerpc x86 mips) $2 rootfs_image_type (a list of sdk sato minimal lsb) | 236 | #Need two input params, $1 -- arch_type(arm powerpc x86 mips) $2 rootfs_image_type (a list of sdk sato minimal lsb) |
237 | get_qemu_image() | 237 | get_qemu_image() |
238 | { | 238 | { |
239 | if [ "$1" == "x86" ]; then | 239 | |
240 | qemu_kernel="bzImage-qemu$1.bin" | 240 | local target=`echo "$1" | sed -e 's/x86_64/x86-64/'` |
241 | |||
242 | if [ "$1" == "x86" ] || [ "$1" == "x86_64" ]; then | ||
243 | qemu_kernel="bzImage-qemu$target.bin" | ||
241 | elif [ "$1" == "mips" ]; then | 244 | elif [ "$1" == "mips" ]; then |
242 | qemu_kernel="vmlinux-qemu$1.bin" | 245 | qemu_kernel="vmlinux-qemu$target.bin" |
243 | else | 246 | else |
244 | qemu_kernel="zImage-qemu$1.bin" | 247 | qemu_kernel="zImage-qemu$target.bin" |
245 | fi | 248 | fi |
246 | 249 | ||
247 | #echo_info "[ADT_INST] Downloading qemu kernel binary: $qemu_kernel" | 250 | #echo_info "[ADT_INST] Downloading qemu kernel binary: $qemu_kernel" |
@@ -250,7 +253,7 @@ get_qemu_image() | |||
250 | 253 | ||
251 | for image_type in $select_rootfs; do | 254 | for image_type in $select_rootfs; do |
252 | #echo_info "[ADT_INST] Downloading rootfs file: poky-image-$image_type-qemu$1.tar.bz2" | 255 | #echo_info "[ADT_INST] Downloading rootfs file: poky-image-$image_type-qemu$1.tar.bz2" |
253 | filename="poky-image-$image_type-qemu$1.tar.bz2" | 256 | filename="poky-image-$image_type-qemu$target.tar.bz2" |
254 | download_file qemu$1/$filename | 257 | download_file qemu$1/$filename |
255 | check_result | 258 | check_result |
256 | done | 259 | done |
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index e1d4e63b18..65b1b54c72 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -170,7 +170,9 @@ fi | |||
170 | 170 | ||
171 | echo_info "Installing target sysroot for arch: $1, rootfs type: $target_sysroot_image, location: $target_sysroot" | 171 | echo_info "Installing target sysroot for arch: $1, rootfs type: $target_sysroot_image, location: $target_sysroot" |
172 | 172 | ||
173 | sysroot_image_name="poky-image-$target_sysroot_image-qemu$1.tar.bz2" | 173 | |
174 | qemu_type=`echo "$1" | sed -e 's/x86_64/x86-64/'` | ||
175 | sysroot_image_name="poky-image-$target_sysroot_image-qemu$qemu_type.tar.bz2" | ||
174 | #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..." | 176 | #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..." |
175 | 177 | ||
176 | scripts/extract_rootfs $sysroot_image_name $target_sysroot $POKY_NATIVE_SYSROOT $user_inst_type | 178 | scripts/extract_rootfs $sysroot_image_name $target_sysroot $POKY_NATIVE_SYSROOT $user_inst_type |
@@ -179,8 +181,6 @@ check_result | |||
179 | echo_info "Updating environment script with target sysroot location." | 181 | echo_info "Updating environment script with target sysroot location." |
180 | if [ "$1" == "x86" ]; then | 182 | if [ "$1" == "x86" ]; then |
181 | env_filename=`ls $INSTALL_FOLDER/environment-setup-i586*` | 183 | env_filename=`ls $INSTALL_FOLDER/environment-setup-i586*` |
182 | elif [ "$1" == "ppc" ]; then | ||
183 | env_filename=`ls $INSTALL_FOLDER/environment-setup-powerpc*` | ||
184 | else | 184 | else |
185 | env_filename=`ls $INSTALL_FOLDER/environment-setup-$1*` | 185 | env_filename=`ls $INSTALL_FOLDER/environment-setup-$1*` |
186 | fi | 186 | fi |
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb index ff7afe6623..7e82c92677 100644 --- a/meta/recipes-devtools/installer/adt-installer_1.0.bb +++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb | |||
@@ -82,4 +82,4 @@ do_package_write_rpm[noexec] = "1" | |||
82 | do_package_write_deb[noexec] = "1" | 82 | do_package_write_deb[noexec] = "1" |
83 | do_poplulate_sysroot[noexec] = "1" | 83 | do_poplulate_sysroot[noexec] = "1" |
84 | 84 | ||
85 | addtask deploy before do_populate_sysroot after do_unpack | 85 | addtask deploy before do_populate_sysroot after do_patch |