Merge "Fix: symlink bin/arm directory is not handled correctly"
This commit is contained in:
commit
c793ebf1ae
|
@ -1031,7 +1031,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext, apexType ap
|
||||||
if f.installDir == "bin" || strings.HasPrefix(f.installDir, "bin/") {
|
if f.installDir == "bin" || strings.HasPrefix(f.installDir, "bin/") {
|
||||||
executablePaths = append(executablePaths, pathInApex)
|
executablePaths = append(executablePaths, pathInApex)
|
||||||
for _, s := range f.symlinks {
|
for _, s := range f.symlinks {
|
||||||
executablePaths = append(executablePaths, filepath.Join("bin", s))
|
executablePaths = append(executablePaths, filepath.Join(f.installDir, s))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
readOnlyPaths = append(readOnlyPaths, pathInApex)
|
readOnlyPaths = append(readOnlyPaths, pathInApex)
|
||||||
|
|
Loading…
Reference in New Issue