Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

emerge-amd64-usr exclude tests in production build

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
jprins
n00b
n00b
Posts: 6
Joined: Thu Dec 14, 2023 4:25 pm

emerge-amd64-usr exclude tests in production build

  • Quote

Post by jprins » Sun Dec 17, 2023 3:14 pm

Hello,

For a production build of Flatcar Linux I'm building zfs and zfs-kmod.
The ebuild file for zfs includes a whole test suite and these tests pull Python 3.x into the image.
Is there a way to exclude all test dependencies in the build process?
For emerge I found you can add an option --with-test-deps=n, but this doesn't seem to do anything for emerge-amd64-usr.

I really don't know if this emerge-amd64-usr is something that is Flatcar / Coreos specific, or if it is a standard part of emerge, so forgive me if this is unsupported and doesn't belong here.

Jan Hugo Prins
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Dec 17, 2023 4:13 pm

I have no file by that name on my amd64 system, and have never heard of it before. The only hit I get on an Internet search for emerge-amd64-usr is an old Github issue specific to Flatcar, so I think this is another thing they changed from base Gentoo. As a result, I expect you will find few users here who know what this is or how it works. If you tell us how it differs from emerge, we may be able to help you.
Top
jprins
n00b
n00b
Posts: 6
Joined: Thu Dec 14, 2023 4:25 pm

It's indeed Flatcar specific script.

  • Quote

Post by jprins » Mon Dec 18, 2023 8:43 am

Looking closer at the script I found that it is indeed a Flatcar specific script that just sets some variables specific for Flatcar build process and then runs emerge.
I'm currently testing if I can drop the testing content from the build by adding the --with-test-deps=n flag to the emerge call in this script.

Jan Hugo Prins
Top
Post Reply

3 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy