[Bug 219912] emulators/linux_base-c6: lacks a package manager

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 15 10:44:29 UTC 2017


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

--- Comment #3 from Johannes Jost Meixner <xmj at 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.


More information about the freebsd-emulation mailing list