ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] qvm86 kernel module
Date: Sat, 12 Aug 2006 04:02:31 +0400
Message-ID: <20060812000231.GA24054@localhost.localdomain> (raw)
In-Reply-To: <3337.127.0.0.1.1155114499.squirrel@mojo.unsafe.ru>


[-- Attachment #1.1: Type: text/plain, Size: 1011 bytes --]

On Wed, Aug 09, 2006 at 01:08:19PM +0400, Konstantin A. Lepikhov wrote:
> 
> <цитата от="Alexey Tourbin">
> > On Wed, Aug 09, 2006 at 10:54:16AM +0600, Andrey Rahmatullin wrote:
> >> On Wed, Aug 09, 2006 at 05:42:34AM +0400, Alexey Tourbin wrote:
> >> > Короче я направил в Сизиф kernel-source-qvm86-20050904-alt1.src.rpm.
> >> > Из него получится noarch.rpm.  Что теперь дальше делать?
> >> Писать шаблон спека (с @foo@ вместо всяких там версий ядра) и коммитить.
> >
> > Написал вроде kernel-modules-qvm86.spec.  Write-commit access у меня
> > есть?  Или может просто отдать кому?
> если вы хотите что им занималась kmt, а занимались -source, то отдайте его
> kmt. Либо поддерживайте его самостоятельно, просто синхронизируясь с
> kernel cvs.

Короче, я так понял что у меня нет доступа в kernel cvs.
Пакет kernel-source-qvm86 в сизиф прошел.

Константин, вы можете положить вот этот спек куда следует?
И внести мелкие исправления, если они потребуются.
И собрать модуль к текущим ядрам.

[-- Attachment #1.2: kernel-modules-qvm86.spec --]
[-- Type: text/plain, Size: 1912 bytes --]

%define module_name qvm86
%define module_version 20050904
%define module_release alt1.@kreleasebuild@

%define kversion @kversion@
%define krelease @krelease@
%define flavour @kflavour@

Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release

Summary: QEMU x86 virtualization module
License: GPL
Group: System/Kernel and hardware 

URL: http://savannah.nongnu.org/projects/qvm86/

BuildRequires: kernel-source-qvm86 = %version
BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease
BuildRequires: kernel-build-tools

Requires(pre,postun): modutils
Requires(pre,postun): kernel-image-%flavour = %kversion-%krelease

Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release

%description
qvm86 is a kernel module to provide x86 virtualisation capabilities for the
qemu emulator. Virtualisation allows "emulated" code to be run natively on
the host cpu, using the CPU protection mechanisms to intercept and emulate
priveleged events.

%prep
rm -rf kernel-source-qvm86-%version
tar jxf %kernel_src/kernel-source-qvm86-%version.tar.bz2
%setup -DT -n kernel-source-qvm86-%version

%build
. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
make CONFIG_KBUILD26=1 KERNEL_PATH=%_usrsrc/linux-%kversion-%flavour

%install
%define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name
install -pD -m644 qvm86.ko %buildroot%module_dir/qvm86.ko

%post
%post_kernel_modules %kversion-%flavour-%krelease

%postun
%postun_kernel_modules %kversion-%flavour-%krelease

%files
%module_dir

%changelog
* Wed Aug 09 2006 Alexey Tourbin <at@altlinux.ru> 20050904-alt1.@kreleasebuild@
- initial revision

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-08-12  0:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 18:29 Alexey Tourbin
2006-08-08 19:02 ` Michael Shigorin
2006-08-08 20:18   ` Konstantin A. Lepikhov
2006-08-09  1:42     ` Alexey Tourbin
2006-08-09  4:54       ` Andrey Rahmatullin
2006-08-09  5:09         ` Alexey Tourbin
2006-08-09  9:08           ` Konstantin A. Lepikhov
2006-08-12  0:02             ` Alexey Tourbin [this message]
2006-08-12  7:22               ` Konstantin A. Lepikhov
2006-08-15 17:15               ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060812000231.GA24054@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git