I am trying to replicate like /etc/portage/package.env type function.
For some packages I had FEATURES="-buildpkg". I cannot seem to
replicate this what so ever with profile.bashrc.

Not sure how via a profile in an overlay/tree, not /etc/portage, one
can add/remove features. I do not seem to have this problem with other
stuff. I_KNOW_WHAT_I_AM_DOING works for skipping pre-merge checks.
I am also able to add CFLAGS/CXXFLAGS. Which I noticed were being added
like 4 times, so I added in a phase check/hook.

https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/profiles/linux/amd64/profile.bashrc

For some reason I cannot seem to add or remove FEATURES. I can see them
in the shell. But they seem to have no effect. At least with regard to
buildpkg FEATURE.

phase: setup features: assume-digests binpkg-logs buildpkg ...
phase: setup features: assume-digests binpkg-logs buildpkg ...

In this case its removed, but still makes a binpkg.

phase: package features: assume-digests binpkg-logs
config-protect-if-modified ...

.Doesn't show but in my output there is a gap, 2 spaces
where it was. I can see the profile.bash being processed and doing its
thing. 

I have tried export and set, neither have effect. Even when replaced
with -buildpkg. Seems like make.conf is sourced or something for that.
I do not think I am setting it to late. I cannot seem to set it for the
build env.

Any way to do this? A bug?

-- 
William L. Thomson Jr.

Attachment: pgpBoa0TfVu_m.pgp
Description: OpenPGP digital signature

Reply via email to