[yocto] [selinux] sumo compilation

Sinan Kaya okaya at kernel.org
Thu Oct 18 09:15:31 PDT 2018


Thanks Steve,

We'll give it a try.

On 10/18/2018 11:46 AM, Steve Scott wrote:
> You may also need
>      PREFERRED_PROVIDER_virtual/refpolicy = "refpolicy-standard"
> in local.conf.
> 
> -steve
> 
>> -----Original Message-----
>> From: Sinan Kaya [mailto:okaya at kernel.org]
>> Sent: Thursday, October 18, 2018 8:06 AM
>> To: sscott at san.rr.com; 'Stefano Cappa' <stefano.cappa.ks89 at gmail.com>
>> Cc: yocto at yoctoproject.org
>> Subject: Re: [yocto] [selinux] sumo compilation
>>
>> Sorry for confusing names, not enough coffee yet...
>>
>> I was trying to say that Steve's suggestion to use
>>
>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>
>> didn't work on sumo branch.
>>
>> On 10/18/2018 10:49 AM, Sinan Kaya wrote:
>>> CC'ing the selinux maintainers:
>>>
>>> I was told that using the master branch and reverting the e2fs change
>>> (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78e
>>> ca8242ea5397c4dc0654d62244453b4260151)
>>> works on sumo.
>>>
>>> Stefano's suggestion unfortunately didn't work.
>>>
>>> Maybe, it is time to create the sumo branch?
>>>
>>> On 10/18/2018 9:48 AM, Steve Scott wrote:
>>>> I did not try it on sumo.
>>>>
>>>>
>>>> From: Stefano Cappa [mailto:stefano.cappa.ks89 at gmail.com]
>>>> Sent: Wednesday, October 17, 2018 11:15 PM
>>>> To: sscott at san.rr.com
>>>> Cc: Sinan Kaya <okaya at kernel.org>; yocto at yoctoproject.org
>>>> Subject: Re: [yocto] [selinux] sumo compilation
>>>>
>>>>
>>>> Exactly the same issue since September.
>>>>
>>>>
>>>> Here is my discussion
>>>> https://lists.yoctoproject.org/pipermail/yocto/2018-
>> September/042711.html.
>>>> With that trick did you find a solution also on sumo?
>>>>
>>>>
>>>> Il gio 18 ott 2018, 01:42 <sscott at san.rr.com
>>>> <mailto:sscott at san.rr.com> > ha
>>>> scritto:
>>>>
>>>>
>>>> It was broken in rocko too. I added this to local.conf to workaround the
>> problem:
>>>>
>>>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>>>
>>>> -steve
>>>>
>>>> ---- Sinan Kaya <okaya at kernel.org <mailto:okaya at kernel.org> > wrote:
>>>>> Hi,
>>>>>
>>>>> We realized today that SELinux does not compile on sumo branch.
>>>>>
>>>>> Is it possible for someone to branch the last working version to a sumo
>> branch?
>>>>>
>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
>>>>>
>>>>> NOTE: Running task 352 of 2707
>>>>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fspr
>>>>> ogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
>>>>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
>>>>> NOTE: Running task 1413 of 2707
>>>>> (/sources/poky/meta/recipes-
>> devtools/e2fsprogs/e2fsprogs_1.43.8.bb:d
>>>>> o_patch)
>>>>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
>>>>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt
>>>>> --quiltrc Applying patch misc_create_inode.c-label_rootfs.patch
>>>>> patching file misc/create_inode.c
>>>>> Hunk #1 FAILED at 979.
>>>>> Hunk #2 FAILED at 987.
>>>>>
>>>>> Sinan
>>>>> --
>>>>> _______________________________________________
>>>>> yocto mailing list
>>>>> yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
> 
> 



More information about the yocto mailing list