Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
oh no, corrected mount options in added /var/lib/lxc/aliendalvik/extr…
…a_config
  • Loading branch information
peterleinchen committed Nov 17, 2021
1 parent ed98ede commit d643abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/harbour-defender.spec
Expand Up @@ -133,7 +133,7 @@ sed -e 's/text: \"[0-9]\.[0-9]\.[0-9]\"/text: \"%{version}\"/' -i %{_datadir}/%{
#temporary hack, until Jolla fixes aliendalvik bind mount of /system/etc/hosts
grep -q '^lxc\.mount\.entry.=./system/etc/hosts system/etc/hosts' /var/lib/lxc/aliendalvik/extra_config
if [ 0 != $? ]; then
echo "lxc.mount.entry = /system/etc/hosts system/etc/hosts none,bind,ro 0 0" >> /var/lib/lxc/aliendalvik/extra_config
echo "lxc.mount.entry = /system/etc/hosts system/etc/hosts none bind,ro 0 0" >> /var/lib/lxc/aliendalvik/extra_config
fi
#temporary hack, until Jolla fixes nsswitch.conf problematic
#if [ 0 != `grep -q '^private-etc.*nsswitch.conf' /etc/sailjail/permissions/Internet.permission` ]; then
Expand Down

0 comments on commit d643abb

Please sign in to comment.