Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:guide-developer:selinux_policy_development [2022/04/23 09:47] – created colodocs:guide-developer:selinux_policy_development [2022/04/23 11:00] (current) – [Installing and setting up build requirements] colo
Line 22: Line 22:
 ===== Installing and setting up build requirements ===== ===== Installing and setting up build requirements =====
  
-We're going to start by creating an OpenWrt Image Builder (IB) archive that can be used to assemble OpenWrt factory and sysupgrade images with included SELinux support. We have to ensure that we have all required build dependencies installed on our build system. In addition to the usual required host packages, we also need the ''secilc'' program, so that we can compile SELinux policy written in "CIL".+We're going to start by creating an OpenWrt Image Builder (IB) archive that can be used to assemble OpenWrt factory and sysupgrade images with included SELinux support. We have to ensure that we have all required build dependencies installed on our build system. In addition to the usual required host packages, we also need the ''secilc'' program, so that we can compile SELinux policy written in [[https://github.com/SELinuxProject/selinux/blob/master/secilc/docs/README.md|Common Intermediate Language (CIL)]].
  
 <code> <code>
Line 101: Line 101:
 At this point, you are essentially forking the policy. Publish your forked Git repository and ensure that the forked Git repository is accessible with the HTTPS protocol. You can for example use GitLab or Github for this but we'll use Github in this example. At this point, you are essentially forking the policy. Publish your forked Git repository and ensure that the forked Git repository is accessible with the HTTPS protocol. You can for example use GitLab or Github for this but we'll use Github in this example.
  
-==== Creating a new selinux-policy-myfork empty repository on Github ====+==== Creating a new selinux-policy-myfork repository on Github ====
  
 === Forking selinux-policy === === Forking selinux-policy ===
  • Last modified: 2022/04/23 09:47
  • by colo