Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Restrict one package to amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Mar 17, 2017 7:38 pm    Post subject: Restrict one package to amd64 Reply with quote

~amd64 is set globally, how can I keyword one package to be always amd64?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Mar 17, 2017 7:43 pm    Post subject: Reply with quote

Not sure but try with this
Code:
# echo "category/package -~amd64" >> /etc/portage/package.accept_keywords

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Mar 17, 2017 8:07 pm    Post subject: Reply with quote

Thanks! It worked. Facepalm. :D
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Mar 17, 2017 8:07 pm    Post subject: Reply with quote

jaglover, fedeliallalinea ...

actually it's this:

/etc/portage/package.accept_keywords:
category/package amd64

best ... khay
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Mar 17, 2017 8:17 pm    Post subject: Reply with quote

khayyam,

I tried this before posting, didn't work.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Mar 17, 2017 8:33 pm    Post subject: Reply with quote

jaglover ...

yes, I see, and man portage does support the '-~amd64' syntax. However I'm sure I recently used 'category/package x86' on a hardened-musl-x86 (which has ACCEPT_KEYWORDS="~x86") and it did what I expected, and I'd thought for that reason negation wasn't necessary.

best ... khay
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Mar 17, 2017 8:46 pm    Post subject: Reply with quote

khayyam, it seems not work
Code:
# echo "kde-apps/dragon amd64" >> /etc/portage/package.accept_keywords
# emerge dragon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] kde-apps/dragon-16.12.3:5::gentoo  USE="handbook -debug" 0 KiB
# echo "kde-apps/dragon -~amd64" >> /etc/portage/package.accept_keywords
# emerge dragon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] kde-apps/dragon-16.08.3:5::gentoo [16.12.3:5::gentoo] USE="handbook -debug" 469 KiB

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Mar 17, 2017 10:09 pm    Post subject: Reply with quote

fedeliallalinea wrote:
khayyam, it seems not work

fedeliallalinea ... yes, I just checked the hardened/linux/musl/x86 install and I had used '-~x86' ... so never trust my memory ;)

sorry for the noise & best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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