extract-utils: Make symlink_target account for moved blobs
It can happen that a blob is being moved for example from /product
to /system_ext. Obviously the desired symlink_target associated
with that blob must respect that.
Example:
product/lib64/libimscamera_jni.so:system_ext/lib64/libimscamera_jni.so;SYMLINK=system_ext/priv-app/ims/lib/arm64/libimscamera_jni.so
Resulting diff:
install_symlink {
name: "libimscamera_jni_libimscamera_jni_symlink64",
system_ext_specific: true,
installed_location: "priv-app/ims/lib/arm64/libimscamera_jni.so",
- symlink_target: "/product/lib64/libimsmedia_jni.so",
+ symlink_target: "/system_ext/lib64/libimscamera_jni.so",
}
Change-Id: I4a2580be1d5da4c0f35ae47029e16431f72343db
1 file changed