Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689150 - app-emulation/lxc - add USE=tools
Summary: app-emulation/lxc - add USE=tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-07-02 11:37 UTC by Stephen Bosch
Modified: 2020-05-19 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with USE="tools" (lxc-3.0.3.ebuild,4.96 KB, text/plain)
2019-07-02 11:37 UTC, Stephen Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bosch 2019-07-02 11:37:12 UTC
Created attachment 581750 [details]
ebuild with USE="tools"

app-emulation/lxd relies on liblxc.

However, upstream maintainers recommend against using lxc (lxc-<function>) and lxd (lxc <function>) tools interchangeably. See https://discuss.linuxcontainers.org/t/comparing-lxd-vs-lxc/24 and https://bugs.gentoo.org/688818

Configure switch '--use-enable=tools' allows building of lxc libraries without the tools.

Define USE="tools" so that users can freely choose whether lxc-* tools are built or not.
Comment 1 Larry the Git Cow gentoo-dev 2020-05-19 07:56:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355c9e38d5aa95657add1cf52e0a11f9df88bd18

commit 355c9e38d5aa95657add1cf52e0a11f9df88bd18
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-05-19 07:53:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-19 07:56:09 +0000

    app-emulation/lxc: add more configure options
    
     - add 'caps', 'ssl' and 'tools' USE flags,
     - make all relevant upstream configure options visible.
    
    Closes: https://bugs.gentoo.org/689150
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/lxc/lxc-4.0.2-r1.ebuild | 157 ++++++++++++++++++++++++++++++++++
 app-emulation/lxc/metadata.xml        |   1 +
 2 files changed, 158 insertions(+)