Отправляет email-рассылки с помощью сервиса Sendsay

KirovLUG: пользователи Linux в Вятке

Установка vmware из rpm на Slackware

Я сделал так:
после rpm2tgz и установки пакета вытряхиваем скрипт POSTIN, который
находится в ./INFO/SCRIPTS/POSTIN при помощи mc.

Ищем там такой кусок:

if [ "$db_answer_INITDIR" = '' ]; then
# No previous INITDIR. Provide the default answer

# The "SuSE version >= 7.1" way
initdir='/etc/init.d'
if [ "`check_answer_initdirpath "$initdir"`" = 'no' ]; then
# The "SuSE version < 7.1" way
initdir='/sbin/init.d'
if [ "`check_answer_initdirpath "$initdir"`" = 'no' ]; then
# The "RedHat" way
initdir='/etc/rc.d'
if [ "`check_answer_initdirpath "$initdir"`" = 'no' ]; then
# The "Debian" way
initdir='/etc'
if [ "`check_answer_initdirpath "$initdir"`" = 'no' ]; then
echo 'Unable to determine the directory that contains the
init directories (rc0.d/ to rc6.d/)'
echo
exit 1
fi
fi
fi
fi
db_add_answer 'db' "$gInstallerMainDB" 'INITDIR' "$initdir"
fi
if [ "$db_answer_INITSCRIPTSDIR" = '' ]; then
# No previous INITSCRIPTSDIR. Provide the default answer

# The usual way
initscriptsdir="$db_answer_INITDIR"'/init.d'
if [ "`check_answer_initscriptsdirpath "$initscriptsdir"`" = 'no' ];
then
# The "SuSE version >= 7.1" way
initscriptsdir="$db_answer_INITDIR"
if [ "`check_answer_initscriptsdirpath "$initscriptsdir"`" = 'no'
]; then
echo 'Unable to determine the directory that contains the init
scripts'
echo
exit 1
fi
fi
db_add_answer 'db' "$gInstallerMainDB" 'INITSCRIPTSDIR'
"$initscriptsdir"
fi

вырезаем его и вместо этого пишем:

db_add_answer 'db' "$gInstallerMainDB" 'INITDIR' '/tmp/rc.d'
db_add_answer 'db' "$gInstallerMainDB" 'INITSCRIPTSDIR' '/tmp/rc.d'

Даем права на запуск для нашего скрипта.
Создаем каталог /tmp/rc.d и в нем подкаталоги /rc0.d, /rc1.d, /rc2.d,
/rc3.d, /rc4.d, /rc5.d, /rc6.d
Запускаем наш скрипт.
После этого можно запускать vmware-config.pl - там все как обычно.
Далее копируем /tmp/rc.d/vmware в /etc/rc.d/vmware
в rc.local прописывем /etc/rc.d/vmware start

P. S. Это было проделано с пакетом VMware-workstation-5.0.0-13124.i386.rpm на
Slackware 10.1

Ответить   Schreibikus Tue, 24 May 2005 16:40:33 +0400 (#372987)

 

Ответы:

на

интересный материал...
на http://kirov.lug.ru/wiki/ забрось его?

Ответить   Wed, 25 May 2005 08:28:52 +0400 (#373368)