From: Alexey Tourbin <at@altlinux.ru> To: devel@lists.altlinux.org Subject: [devel] qvm86 kernel module Date: Tue, 8 Aug 2006 22:29:31 +0400 Message-ID: <20060808182931.GB16715@localhost.localdomain> (raw) [-- Attachment #1.1: Type: text/plain, Size: 266 bytes --] Как собрать модуль для ядра? То есть я его собрал для std26-up, но остаются некоторые сомнения, нужно ли дублировать спеки для std26-smp, wks26-up и т.д. Кажется был какой-то cvs для ядерных спеков и типа если туда пробиться то всё будет волшебно. Кто знает? [-- Attachment #1.2: kernel-source-qvm86.spec --] [-- Type: text/plain, Size: 1119 bytes --] Name: kernel-source-qvm86 Version: 20050904 Release: alt1 Summary: QEMU x86 virtualization module License: GPL Group: Development/Kernel URL: http://savannah.nongnu.org/projects/qvm86/ # :pserver:anonymous@cvs.savannah.nongnu.org:/sources/qvm86 qvm86 Source: qvm86-%version.tar.bz2 # http://blog.gmane.org/gmane.comp.emulators.qemu.qvm86 Patch0: qvm86-20050904-kqemu_version-0x010300.patch BuildArch: noarch %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 %setup -q -n qvm86-%version %patch0 -p1 %install rm -rf %buildroot%_usrsrc/kernel/sources mkdir -p %buildroot%_usrsrc/kernel/sources cp -a . %buildroot%_usrsrc/kernel/sources/%name-%version cd %buildroot%_usrsrc/kernel/sources tar --remove-files -jcf %name-%version.tar.bz2 %name-%version %files %_usrsrc/kernel/sources/%name-%version.tar.bz2 %changelog * Tue Aug 08 2006 Alexey Tourbin <at@altlinux.ru> 20050904-alt1 - initial revision [-- Attachment #1.3: kernel-modules-qvm86-std26-up.spec --] [-- Type: text/plain, Size: 1363 bytes --] %define module_name qvm86 %define module_version 20050904 %define module_release alt0 %define kversion 2.6.16 %define krelease alt9 %define flavour std26-up Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release Summary: QEMU x86 virtualization module License: GPL Group: System/Kernel and hardware BuildRequires: kernel-source-qvm86 = %version BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease BuildRequires: kernel-build-tools %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 [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-08-08 18:29 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-08 18:29 Alexey Tourbin [this message] 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 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=20060808182931.GB16715@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