Difference between pages "HyperV Kernel Configuration" and "Package:Layman"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
(Provided preliminary Hyper-V kernel configuration information)
 
m
 
Line 1: Line 1:
For a Hyper-V generation 2 system, you'll need certain options enabled in the Kernel in this order because latter options aren't available until earlier options are enabled:
{{Ebuild
* CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support
|Summary=Tool to manage Gentoo overlays
* CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code
|CatPkg=app-portage/layman
* CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks
|Homepage=http://layman.sourceforge.net/
* CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers
}}
* CONFIG_HYPERV_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver
Layman is an "overlay" external repository management tool.
* CONFIG_HYPERV_BALLOON: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Balloon driver
 
* CONFIG_HYPERV_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver
=== Installation ===
* CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage driver
<console>###i## emerge layman</console>
* CONFIG_HYPERV_KEYBOARD: Device Drivers > Input device support > Hardware I/O ports > Microsoft Synthetic Keyboard driver
[[make.conf]] must source laymans overlays for emerge to pull in packages from external sources.  This line needs to be below everything else in make.conf.
* CONFIG_FB_HYPERV: Device Drivers > Graphics support > Frame buffer Devices > Microsoft Hyper-V Synthetic Video support
<console>###i## echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf</console>
* CONFIG_HID_HYPERV_MOUSE: Device Drivers > HID support > Special HID drivers > Microsoft Hyper-V mouse driver
 
[[Category:Hardware Compatibility]]
=== Using Layman ===
Fetch, and display a list of overlays:
<console>###i## layman -L</console>
 
Add an overlay to your system:
<console>###i## layman -a <overlay name></console>
 
Delete an overlay from your system:
<console>###i## layman -d <overlay name></console>
 
==== Masking Overlay Packages ====
Overlays have the power to override distro packages.  To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.
 
{{file|name=/etc/portage/package.mask|lang=|desc=mask all packages in an overlay|body=
*/*::overlay-name
}}
 
{{file|name=/etc/portage/package.unmask|lang=|desc=unmask packages to be used|body=
cat-egory/pack-age1
cat-egory/pack-age2
}}
 
==== Sync ====
 
Sync a specific overlays ebuilds:
<console>###i## layman -s <overlay name></console>
 
Sync all overlays:
<console>###i## layman -S</console>
 
Sync all overlays via eix:
<console>###i## eix-sync</console>
 
=== Troubleshooting ===
Problem:
Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']
 
Solution:
<console>###i## layman -L</console>
 
{{EbuildFooter}}

Revision as of 12:00, February 3, 2015

Layman

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Layman is an "overlay" external repository management tool.

Installation

root # emerge layman

make.conf must source laymans overlays for emerge to pull in packages from external sources. This line needs to be below everything else in make.conf.

root # echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

Using Layman

Fetch, and display a list of overlays:

root # layman -L

Add an overlay to your system:

root # layman -a <overlay name>

Delete an overlay from your system:

root # layman -d <overlay name>

Masking Overlay Packages

Overlays have the power to override distro packages. To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.

   /etc/portage/package.mask - mask all packages in an overlay
*/*::overlay-name
   /etc/portage/package.unmask - unmask packages to be used
cat-egory/pack-age1
cat-egory/pack-age2

Sync

Sync a specific overlays ebuilds:

root # layman -s <overlay name>

Sync all overlays:

root # layman -S

Sync all overlays via eix:

root # eix-sync

Troubleshooting

Problem: Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']

Solution:

root # layman -L