Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[dcd] Use patched ld.config.28.txt for bionic on hybris-16.0
- Loading branch information
1 parent
cf257e0
commit 24cb8ce
Showing
2 changed files
with
360 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
#!/bin/env bash | ||
#!/bin/bash | ||
# Actions to execute before starting DHI. | ||
|
||
# Nothing is required (for now) so we'll just exit :) | ||
exit 0 | ||
# A patched bionic ld.config.28.txt is required for hybris-16.0 | ||
if ! grep -q hybris /system/etc/ld.config.28.txt; then | ||
echo "using patched bionic ld.config.28.txt for hybris-16.0..." | ||
mount -o bind /usr/libexec/droid-hybris/system/etc/ld.config.28.txt /system/etc/ld.config.28.txt | ||
exit $? | ||
fi | ||
|
||
# Nothing else is required (for now) so we'll just exit :) | ||
exit 0 |
Oops, something went wrong.