Pacotes Xen 3.4.2 para Slackware

Abaixo seguem os passos para a criação de pacotes do xen para Slackware 12.2. É necessário ter acesso à Internet, pois o xen irá baixar alguns arquivos.

Preparação

wget http://bits.xensource.com/oss-xen/release/3.4.2/xen-3.4.2.tar.gz
tar zxvf xen-3.4.2.tar.gz
cd xen-3.4.2

Edite o arquivo “stubdom/Makefile” e altere a linha 196, substituindo

( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \

por

( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/xen/include/xen include/xen/libelf ) && \

Você também pode aplicar o patch “stubdom_Makefile.patch” com o seguinte comando:

patch stubdom/Makefile stubdom_makefile.patch

Criação dos pacotes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
make docs
cd dist/install
makepkg -l y -c n /tmp/xen-3.4.2-docs-noarch-1.tgz
cd ../.. && rm -rf dist/install
 
make stubdom
cd dist/install
makepkg -l y -c n /tmp/xen-3.4.2-stubdom-i686-1.tgz
cd ../.. && rm -rf dist/install
 
make tools
cd dist/install
makepkg -l y -c n /tmp/xen-3.4.2-tools-i686-1.tgz
cd ../.. && rm -rf dist/install
 
make xen
cd dist/install
makepkg -l y -c n /tmp/xen-3.4.2-hypervisor-i686-1.tgz
cd ../.. && rm -rf dist/install

Pronto. Seus pacotes do Xen para o Slackware estão prontos e já podem ser instalados.

Deixe uma resposta

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">