On 01/23/2013 06:49 PM, Pau Oliva Fora wrote:
Hello,

I'm new to SEAndroid, I was willing to test the revoke-perms branch but
I see there is no local manifest file for it. Does it mean it has been
merged into master? if not, how can I get it? (I see the commits in
frameworks/base for various revoke-perms-* branches, but not sure how to
use repo to sync with that).

Thanks in advance.

Should only require a change to the frameworks/base project, and a revoke_permissions.xml configuration (sample one in the old external/mac-policy project, where the mac_permissions.xml file also used to live before we moved it to external/sepolicy).

Sample local_manifest.xml file attached that switches frameworks/base to revoke-perms and adds external/mac-policy. Or you can directly edit your current one - it is just a xml config that specifies the list of projects to add or replace and what revision/branch to use. Or you can always use git directly as well, e.g. cd frameworks/base; git checkout bitbucket/revoke-perms. However, you'll likely want to re-sync as I just merged latest seandroid into it; it was a bit stale.





<manifest>
  <remote  name="bitbucket"
           fetch="https://bitbucket.org/seandroid"; />

  <project path="packages/apps/SEAndroidManager" remote="bitbucket" name="packages-apps-seandroidmanager" revision="master"/>
  <project path="packages/apps/SEAndroidAdmin" remote="bitbucket" name="packages-apps-seandroidadmin" revision="master"/>

  <project path="kernel/goldfish" remote="bitbucket" name="kernel-goldfish" revision="seandroid-goldfish-2.6.29"/>
  <project path="kernel/tegra" remote="bitbucket" name="kernel-tegra" revision="seandroid-tegra3-grouper-3.1-jb-mr1"/>
  <project path="kernel/omap" remote="bitbucket" name="kernel-omap" revision="seandroid-omap-tuna-3.0-jb-mr1"/>
  <project path="kernel/msm" remote="bitbucket" name="kernel-msm" revision="seandroid-msm-mako-3.4-jb-mr1"/>
  <project path="kernel/exynos" remote="bitbucket" name="kernel-exynos" revision="seandroid-exynos-manta-3.4-jb-mr1"/>

  <remove-project name="platform/build"/>
  <project path="build" remote="bitbucket" name="build" revision="seandroid">
    <copyfile src="core/root.mk" dest="Makefile" />
  </project>

  <remove-project name="platform/external/libselinux"/>
  <project path="external/libselinux" remote="bitbucket" name="external-libselinux" revision="seandroid"/>

  <remove-project name="platform/external/sepolicy"/>
  <project path="external/sepolicy" remote="bitbucket" name="external-sepolicy" revision="seandroid"/>

  <project path="external/mac-policy" remote="bitbucket" name="external-mac-policy" revision="master"/>

  <remove-project name="platform/frameworks/base"/>
  <project path="frameworks/base" remote="bitbucket" name="frameworks-base" revision="revoke-perms" />

  <remove-project name="platform/system/core"/>
  <project path="system/core" remote="bitbucket" name="system-core" revision="seandroid" />

  <remove-project name="device/samsung/tuna"/>
  <project path="device/samsung/tuna" remote="bitbucket" name="device-samsung-tuna" revision="seandroid" />

  <remove-project name="device/samsung/manta"/>
  <project path="device/samsung/manta" remote="bitbucket" name="device-samsung-manta" revision="seandroid" />

  <remove-project name="device/asus/grouper"/>
  <project path="device/asus/grouper" remote="bitbucket" name="device-asus-grouper" revision="seandroid" />

  <remove-project name="device/lge/mako"/>
  <project path="device/lge/mako" remote="bitbucket" name="device-lge-mako" revision="seandroid" />

</manifest>

Reply via email to