Code review comment for lp:~alextu/lxc-android-config/lp1575564_include_rules_in_device_tarball

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Regarding ignoring directories-- no (I mean, obviously the code could be patched to do that but then the timing race would result in different policy depending on who won the race so it doesn't really solve anything).

I don't think 'dpkg -i' of lxc-android-config is what you want. I'm not familiar with /system or that it was a loopback mount. Since this is a loopback mount, simply adjust the loopback file to include these directories and make sure /system is mounted at the time the profiles are run so that they are always there. If the system loopback file is per device, adjust the scripts so that the directories are always there; if the system loopback files is generated from debs, pick a deb common to all the devices that creates those directories.

« Back to merge proposal