Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
catalyst - adding FEATURES
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
oneghost
n00b
n00b


Joined: 23 May 2015
Posts: 13

PostPosted: Tue Mar 26, 2024 9:58 pm    Post subject: catalyst - adding FEATURES Reply with quote

Im trying to use catalyst to generate stages for PS3 CELL CPU (PPC64). Im using this on aarch64 host, so I need to resort to using qemu-ppc64 as an interpreter. The problem Im facing is that in order for it to work, I need to add this entry to guest make.conf:
Code:
FEATURES="-pid-sandbox -network-sandbox"

I was only able to add it manually by editing /var/tmp/catalyst/tmp/stage1*/etc/make.conf, after the script initially fails. I feel that there should be better way to implement this behavior, but couldn't find the way to do this. I tried adding it to /etc/catalyst/catalystrc, and few other options, but none worked. Is there some way to achieve this in better way?
Back to top
View user's profile Send private message
brokendreams
n00b
n00b


Joined: 11 Nov 2018
Posts: 24
Location: clinton,ia US

PostPosted: Wed May 28, 2025 11:00 pm    Post subject: Re: catalyst - adding FEATURES Reply with quote

oneghost wrote:
Im trying to use catalyst to generate stages for PS3 CELL CPU (PPC64). Im using this on aarch64 host, so I need to resort to using qemu-ppc64 as an interpreter. The problem Im facing is that in order for it to work, I need to add this entry to guest make.conf:
Code:
FEATURES="-pid-sandbox -network-sandbox"

I was only able to add it manually by editing /var/tmp/catalyst/tmp/stage1*/etc/make.conf, after the script initially fails. I feel that there should be better way to implement this behavior, but couldn't find the way to do this. I tried adding it to /etc/catalyst/catalystrc, and few other options, but none worked. Is there some way to achieve this in better way?


I'm not sure if you found a solution. But I thought I'd post just in case and for anyone else. You could try to use make.defaults it may not work depending on what order files are sources for variables. This is how I built a stage3 with global ~amd64 keywords though. This would go inside the profile directory. make.defaults should accept any variables that make.conf would accept too. only add what you need on there though as this overrides variables set in the main profiles make.defaults in the repository.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »