Skip to content

Commit

Permalink
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
JamiKettunen committed Oct 18, 2019
1 parent cf257e0 commit 24cb8ce
Show file tree
Hide file tree
Showing 2 changed files with 360 additions and 3 deletions.
13 changes: 10 additions & 3 deletions sparse/usr/bin/droid/droid-hal-early-init.sh
@@ -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

0 comments on commit 24cb8ce

Please sign in to comment.