Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 10:44:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 219912] emulators/linux_base-c6: lacks a package manager
Message-ID:  <bug-219912-4077-BM1M4N7nJO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219912-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219912-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219912

--- Comment #3 from Johannes Jost Meixner <xmj@FreeBSD.org> ---
So, currently the way to install stuff into /compat/linux is using the readily
available linux-c6- / linux-c7- modules. They're handled by pkg and libarchive:
We take the rpm, extract it, install things to [port]/work/stage/compat/linux,
hash files, package it, ship it as .txz.

Now the obvious problem with the status quo is that at no point does it involve
yum, so any yum database would have *no idea* which base packages are
installed. 

So if we shipped yum with linux_base-[c6/c7/whatever] this'd require:
1. integration of yum and pkg to a degree that doesn't exist nor is currently
planned on the pkg side [afair]
2. a rework of the current linux infrastructure to use pkg-yum glue instead of
libarchive.

That aside, some documentation can be found in the handbook:

https://www.freebsd.org/doc/handbook/linuxemu.html#linuxemu-synopsis

And we do have metapackages "linux-c6" / "linux-c7" that will pull in any
possible linux package that is available, and (most likely) contains what
you're looking for.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219912-4077-BM1M4N7nJO>