diff options
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4a0946c8e3..f1e62f1454 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -4,7 +4,7 @@ inherit populate_sdk_base | |||
4 | 4 | ||
5 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" | 5 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" |
6 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY}" | 6 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY}" |
7 | POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_install_complementary populate_sdk; " | 7 | POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_install_complementary populate_sdk; rootfs_sysroot_relativelinks; " |
8 | 8 | ||
9 | inherit gzipnative | 9 | inherit gzipnative |
10 | 10 | ||
@@ -617,6 +617,11 @@ rootfs_trim_schemas () { | |||
617 | done | 617 | done |
618 | } | 618 | } |
619 | 619 | ||
620 | # Make any absolute links in a sysroot relative | ||
621 | rootfs_sysroot_relativelinks () { | ||
622 | sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT} | ||
623 | } | ||
624 | |||
620 | EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup | 625 | EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup |
621 | 626 | ||
622 | do_fetch[noexec] = "1" | 627 | do_fetch[noexec] = "1" |