diff mbox series

[oe-layersetup,master,v1,1/1] oe-layersetup: Bringing meta-selinux into Yocto builds

Message ID 20241114054100.2945239-2-a-shenai@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series Downloading SELinux for TISDK | expand

Commit Message

Aashvij Shenai Nov. 14, 2024, 5:41 a.m. UTC
This patch downloads the meta-selinux layer for the scarthgap branch

Signed-off-by: Aashvij Shenai <a-shenai@ti.com>
---
 configs/arago-scarthgap-config.txt      | 1 +
 configs/arago-scarthgap-next-config.txt | 1 +
 configs/arago-scarthgap-wip-config.txt  | 1 +
 3 files changed, 3 insertions(+)

Comments

Ryan Eatmon Nov. 14, 2024, 8:47 p.m. UTC | #1
NAK.

There is a new system for maintaining the configs in oe-layersetup.  You 
can view the README for more info.

Basically, you need to modify the XML source files, then run make to 
generate all of the various configs.  We do not edit the configs 
directly anymore.

Also, if you are going to add something like then, then you need to make 
sure you are including ALL of the configs that we do, otherwise I have 
go through and copy these changes to the other configs as well.

You are missing:
arago-scarthgap-chromium-config

and the master configs:
arago-master-chromium-config
arago-master-config
arago-master-next-config
arago-master-wip-config


On 11/13/2024 11:41 PM, Aashvij Shenai wrote:
> This patch downloads the meta-selinux layer for the scarthgap branch
> 
> Signed-off-by: Aashvij Shenai <a-shenai@ti.com>
> ---
>   configs/arago-scarthgap-config.txt      | 1 +
>   configs/arago-scarthgap-next-config.txt | 1 +
>   configs/arago-scarthgap-wip-config.txt  | 1 +
>   3 files changed, 3 insertions(+)
> 
> diff --git a/configs/arago-scarthgap-config.txt b/configs/arago-scarthgap-config.txt
> index f95056d..1fd092b 100644
> --- a/configs/arago-scarthgap-config.txt
> +++ b/configs/arago-scarthgap-config.txt
> @@ -2,6 +2,7 @@
>   # repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
>   
>   bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
>   meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>   #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>   meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
> diff --git a/configs/arago-scarthgap-next-config.txt b/configs/arago-scarthgap-next-config.txt
> index cd69c01..dbdec3a 100644
> --- a/configs/arago-scarthgap-next-config.txt
> +++ b/configs/arago-scarthgap-next-config.txt
> @@ -10,6 +10,7 @@ MOTD: NOTE: to point the recipe to the appropriate cicd/next branch for that rec
>   MOTD: NOTE:
>   
>   bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
>   meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-next,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>   #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>   meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
> diff --git a/configs/arago-scarthgap-wip-config.txt b/configs/arago-scarthgap-wip-config.txt
> index 2dd8209..b93f76f 100644
> --- a/configs/arago-scarthgap-wip-config.txt
> +++ b/configs/arago-scarthgap-wip-config.txt
> @@ -2,6 +2,7 @@
>   # repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
>   
>   bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
>   meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-wip,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>   #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>   meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
Chirag Shilwant Nov. 17, 2024, 4:41 p.m. UTC | #2
Hi,
On 15/11/24 02:17, Ryan Eatmon wrote:
>
> NAK.
>
> There is a new system for maintaining the configs in oe-layersetup.  
> You can view the README for more info.
>
> Basically, you need to modify the XML source files, then run make to 
> generate all of the various configs.  We do not edit the configs 
> directly anymore.
>
> Also, if you are going to add something like then, then you need to 
> make sure you are including ALL of the configs that we do, otherwise I 
> have go through and copy these changes to the other configs as well.
>
> You are missing:
> arago-scarthgap-chromium-config


Before adding it in chromium configs we need to ensure
that meta-browser:meta-chromium & meta-selinux go well together

I believe Aashvij's entire selinux bringup on Arago distribution
was with scarthgap config which has meta-browser disabled by default


--
Chirag


>
> and the master configs:
> arago-master-chromium-config
> arago-master-config
> arago-master-next-config
> arago-master-wip-config
>
>
> On 11/13/2024 11:41 PM, Aashvij Shenai wrote:
>> This patch downloads the meta-selinux layer for the scarthgap branch
>>
>> Signed-off-by: Aashvij Shenai <a-shenai@ti.com>
>> ---
>>   configs/arago-scarthgap-config.txt      | 1 +
>>   configs/arago-scarthgap-next-config.txt | 1 +
>>   configs/arago-scarthgap-wip-config.txt  | 1 +
>>   3 files changed, 3 insertions(+)
>>
>> diff --git a/configs/arago-scarthgap-config.txt 
>> b/configs/arago-scarthgap-config.txt
>> index f95056d..1fd092b 100644
>> --- a/configs/arago-scarthgap-config.txt
>> +++ b/configs/arago-scarthgap-config.txt
>> @@ -2,6 +2,7 @@
>>   # repo name,repo uri,repo branch,repo 
>> commit[,layers=layer1:layer2...:layern]
>>     bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
>> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37 
>>
>> meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>> #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>> meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
>> diff --git a/configs/arago-scarthgap-next-config.txt 
>> b/configs/arago-scarthgap-next-config.txt
>> index cd69c01..dbdec3a 100644
>> --- a/configs/arago-scarthgap-next-config.txt
>> +++ b/configs/arago-scarthgap-next-config.txt
>> @@ -10,6 +10,7 @@ MOTD: NOTE: to point the recipe to the appropriate 
>> cicd/next branch for that rec
>>   MOTD: NOTE:
>>     bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
>> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37 
>>
>> meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-next,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>> #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>> meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
>> diff --git a/configs/arago-scarthgap-wip-config.txt 
>> b/configs/arago-scarthgap-wip-config.txt
>> index 2dd8209..b93f76f 100644
>> --- a/configs/arago-scarthgap-wip-config.txt
>> +++ b/configs/arago-scarthgap-wip-config.txt
>> @@ -2,6 +2,7 @@
>>   # repo name,repo uri,repo branch,repo 
>> commit[,layers=layer1:layer2...:layern]
>>     bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
>> +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37 
>>
>> meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-wip,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
>> #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
>> meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
>
diff mbox series

Patch

diff --git a/configs/arago-scarthgap-config.txt b/configs/arago-scarthgap-config.txt
index f95056d..1fd092b 100644
--- a/configs/arago-scarthgap-config.txt
+++ b/configs/arago-scarthgap-config.txt
@@ -2,6 +2,7 @@ 
 # repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
 
 bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
+meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
 meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
 #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
 meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
diff --git a/configs/arago-scarthgap-next-config.txt b/configs/arago-scarthgap-next-config.txt
index cd69c01..dbdec3a 100644
--- a/configs/arago-scarthgap-next-config.txt
+++ b/configs/arago-scarthgap-next-config.txt
@@ -10,6 +10,7 @@  MOTD: NOTE: to point the recipe to the appropriate cicd/next branch for that rec
 MOTD: NOTE:
 
 bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
+meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
 meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-next,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
 #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
 meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=
diff --git a/configs/arago-scarthgap-wip-config.txt b/configs/arago-scarthgap-wip-config.txt
index 2dd8209..b93f76f 100644
--- a/configs/arago-scarthgap-wip-config.txt
+++ b/configs/arago-scarthgap-wip-config.txt
@@ -2,6 +2,7 @@ 
 # repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
 
 bitbake,https://git.openembedded.org/bitbake,2.8,HEAD
+meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,3aff015697fa056b4af83b1c9ba44eca346a8a37
 meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-wip,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test
 #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium
 meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers=