From: Sergey <a_s_y@sama.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Сизиф как хост для vmware 4,5
Date: Sat, 2 Apr 2005 20:01:03 +0500
Message-ID: <200504022001.03406.a_s_y@sama.ru> (raw)
In-Reply-To: <424E9E06.2090704@zaz.zp.ua>
On Saturday 02 April 2005 18:28, Gennadiy Redko wrote:
> Здравствуйте.
> Возникла необходимость поставить vmware 4.5 на систему на базе Сизифа.
В виде альтернативы спекам. Только я это наспех пока наковырял...
И не проверяется наличие kernel-headers и kernel-headers-modules.
Надо поставить.
====adjust_paths_to_vmmodules
#!/bin/bash
VMSOURCE="/usr/lib/vmware/modules/source"
VMTEMPDIR=$TMPDIR/vmware
CURDIR=`pwd`
mkdir $VMTEMPDIR
tar -xf $VMSOURCE/vmmon.tar -C $VMTEMPDIR
tar -xf $VMSOURCE/vmnet.tar -C $VMTEMPDIR
KERNEL=linux-`uname -r|sed -e 's/\(2.6...\?-\(std\|wks\)26-\(smp\|up\)\)-alt.*/\1/'`
cat $VMTEMPDIR/vmmon-only/Makefile |sed -e 's/^HEADER_DIR.*$/HEADER_DIR = \/usr\/src\/'$KERNEL'\/include/' >$VMTEMPDIR/vmmon-only/Makefile.tmp
mv -f $VMTEMPDIR/vmmon-only/Makefile.tmp $VMTEMPDIR/vmmon-only/Makefile
cat $VMTEMPDIR/vmmon-only/Makefile |sed -e 's/^BUILD_DIR.*$/BUILD_DIR = \/usr\/src\/'$KERNEL'\//' >$VMTEMPDIR/vmmon-only/Makefile.tmp
mv -f $VMTEMPDIR/vmmon-only/Makefile.tmp $VMTEMPDIR/vmmon-only/Makefile
cat $VMTEMPDIR/vmnet-only/Makefile |sed -e 's/^HEADER_DIR.*$/HEADER_DIR = \/usr\/src\/'$KERNEL'\/include/' >$VMTEMPDIR/vmnet-only/Makefile.tmp
mv -f $VMTEMPDIR/vmnet-only/Makefile.tmp $VMTEMPDIR/vmnet-only/Makefile
cat $VMTEMPDIR/vmnet-only/Makefile |sed -e 's/^BUILD_DIR.*$/BUILD_DIR = \/usr\/src\/'$KERNEL'\//' >$VMTEMPDIR/vmnet-only/Makefile.tmp
mv -f $VMTEMPDIR/vmnet-only/Makefile.tmp $VMTEMPDIR/vmnet-only/Makefile
cd $VMTEMPDIR
tar -cf vmmon.tar vmmon-only/*
tar -cf vmnet.tar vmnet-only/*
cd $CURDIR
mv -f $VMTEMPDIR/vmmon.tar $VMSOURCE/
mv -f $VMTEMPDIR/vmnet.tar $VMSOURCE/
rm -rf $VMTEMPDIR
====
--
С уважением, Сергей
a_s_y@sama.ru
next prev parent reply other threads:[~2005-04-02 15:01 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-02 13:28 Gennadiy Redko
2005-04-02 13:47 ` Andrey Rahmatullin
2005-04-02 14:15 ` Alexander Kuprin
2005-04-02 14:18 ` Andrey Rahmatullin
2005-04-02 14:55 ` Alexander Kuprin
2005-04-02 15:08 ` Andrey Rahmatullin
2005-04-02 15:39 ` Sergey
2005-04-02 16:18 ` Alexander Kuprin
2005-04-02 17:05 ` Artem
2005-04-02 17:16 ` Alexander Kuprin
2005-04-02 16:57 ` Eugene Vlasov
2005-04-03 14:47 ` [sisyphus] Сизиф как хост для vmware 4, 5 Yuri Horoshkov
2005-04-03 14:20 ` [sisyphus] Сизиф как хост для vmware 4,5 Eugene Vlasov
2005-04-03 14:43 ` [sisyphus] Сизиф как хост для vmware 4, 5 Andrey Rahmatullin
2005-04-02 15:00 ` [sisyphus] Сизиф как хост для vmware 4,5 Gennadiy Redko
2005-04-02 15:01 ` Sergey [this message]
2005-04-02 15:02 ` Sergey
2005-04-04 10:46 ` [sisyphus] Сизиф как хост для vmware 4, 5 Yuri Horoshkov
2005-04-04 11:42 ` Andrey Rahmatullin
2005-04-04 14:24 ` Yuri Horoshkov
2005-04-04 14:34 ` Andrey Rahmatullin
2005-04-04 18:26 ` Yuri Horoshkov
2005-04-04 18:45 ` Andrey Rahmatullin
2005-04-05 16:01 ` Yuri Horoshkov
2005-04-05 16:42 ` Andrey Rahmatullin
2005-04-05 17:22 ` Yuri Horoshkov
2005-04-06 3:57 ` Andrey Rahmatullin
2005-04-06 4:27 ` Yuri Horoshkov
2005-04-06 4:33 ` Andrey Rahmatullin
2005-04-06 8:02 ` Yuri Horoshkov
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=200504022001.03406.a_s_y@sama.ru \
--to=a_s_y@sama.ru \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git