diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 17:55:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:30 +0100 |
| commit | 74695278555a35e2145a65f2e372edb70b380c20 (patch) | |
| tree | d8f9bae7d5b60eecafb44b81fb427d09044a0102 /meta/recipes-devtools/installer | |
| parent | 0441fe20e77907237a04e42a06991f3163daabb3 (diff) | |
| download | poky-74695278555a35e2145a65f2e372edb70b380c20.tar.gz | |
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer')
| -rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 10 | ||||
| -rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs | 2 |
2 files changed, 6 insertions, 6 deletions
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 0fd9e47e98..7e76cc0744 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
| @@ -29,11 +29,11 @@ parse_config() | |||
| 29 | case $INST_ARCH in | 29 | case $INST_ARCH in |
| 30 | i[3-6]86) | 30 | i[3-6]86) |
| 31 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 | 31 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 |
| 32 | POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-pokysdk-linux/" | 32 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-pokysdk-linux/" |
| 33 | ;; | 33 | ;; |
| 34 | x86_64) | 34 | x86_64) |
| 35 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 | 35 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 |
| 36 | POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-pokysdk-linux/" | 36 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-pokysdk-linux/" |
| 37 | ;; | 37 | ;; |
| 38 | *) | 38 | *) |
| 39 | echo_info "[ADT_INST] Error: Installation Machine is not supported!" | 39 | echo_info "[ADT_INST] Error: Installation Machine is not supported!" |
| @@ -124,9 +124,9 @@ for native_target_type in $YOCTOADT_TARGETS; do | |||
| 124 | done | 124 | done |
| 125 | 125 | ||
| 126 | # Link the ld.so.cache file into the hosts filesystem | 126 | # Link the ld.so.cache file into the hosts filesystem |
| 127 | if [ ! -f "$POKY_NATIVE_SYSROOT/etc/ld.so.cache" ]; then | 127 | if [ ! -f "$OECORE_NATIVE_SYSROOT/etc/ld.so.cache" ]; then |
| 128 | echo_info "Link the ld.so.cache file into the host filesystem" | 128 | echo_info "Link the ld.so.cache file into the host filesystem" |
| 129 | sudo ln -s /etc/ld.so.cache $POKY_NATIVE_SYSROOT/etc/ld.so.cache | 129 | sudo ln -s /etc/ld.so.cache $OECORE_NATIVE_SYSROOT/etc/ld.so.cache |
| 130 | check_result | 130 | check_result |
| 131 | fi | 131 | fi |
| 132 | 132 | ||
| @@ -175,7 +175,7 @@ qemu_type=`echo "$1" | sed -e 's/x86_64/x86-64/'` | |||
| 175 | sysroot_image_name="core-image-$target_sysroot_image-qemu$qemu_type.tar.bz2" | 175 | sysroot_image_name="core-image-$target_sysroot_image-qemu$qemu_type.tar.bz2" |
| 176 | #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..." | 176 | #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..." |
| 177 | 177 | ||
| 178 | scripts/extract_rootfs $sysroot_image_name $target_sysroot $POKY_NATIVE_SYSROOT $user_inst_type | 178 | scripts/extract_rootfs $sysroot_image_name $target_sysroot $OECORE_NATIVE_SYSROOT $user_inst_type |
| 179 | check_result | 179 | check_result |
| 180 | 180 | ||
| 181 | echo_info "Updating environment script with target sysroot location." | 181 | echo_info "Updating environment script with target sysroot location." |
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs index 3dd47f0f75..62dc170c8a 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs +++ b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs | |||
| @@ -61,7 +61,7 @@ extract_rootfs() | |||
| 61 | 61 | ||
| 62 | #Parameter detail is listed below: | 62 | #Parameter detail is listed below: |
| 63 | #Param 4: Silent install or customize install | 63 | #Param 4: Silent install or customize install |
| 64 | #Param 3: POKY_NATIVE_SYSROOT | 64 | #Param 3: OECORE_NATIVE_SYSROOT |
| 65 | #Param 2: user defined rootfs extraction directory | 65 | #Param 2: user defined rootfs extraction directory |
| 66 | #param 1: sysroot image name | 66 | #param 1: sysroot image name |
| 67 | extract_rootfs $1 $2 $3 $4 | 67 | extract_rootfs $1 $2 $3 $4 |
