twister

Peer-to-peer microblogging

用户工具

站点工具


zh:使用:如何:已配置好的_gitian_virtualbox_镜像

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

zh:使用:如何:已配置好的_gitian_virtualbox_镜像 [2014/09/28 03:36] (当前版本)
xiaolan 创建
行 1: 行 1:
 +====== ​ 已配置好的 Gitian VirtualBox 镜像 ======
  
 +(请帮助提高这个页面)
 +
 +一个已经配置好的基于 Ubuntu 12.04 LTS x86_64 + gitian + twister 源代码的VirtualBox镜像文件现在可以下载 (3.2 GB 文件):
 +
 +[[http://​mab.to/​0j3LkpPxT|ubuntu_12.04_amd64_gitian_twister.ova (download from My Air Bridge)]]
 +
 +[[https://​www.dropbox.com/​s/​kqxfyyvts9yzvva/​ubuntu_12.04_amd64_gitian_twister.ova|ubuntu_12.04_amd64_gitian_twister.ova (download from Dropbox)]]
 +
 +[[https://​drive.google.com/​file/​d/​0BziKIN0Q3QEmRlRZZVNpODJIaWs/​edit?​usp=sharing|ubuntu_12.04_amd64_gitian_twister.ova (download from Google Drive)]]
 +
 +MD5校验码是
 +
 +<​code>​
 +48f62fce1ba105cdcd172b8de6a2466a ​ ubuntu_12.04_amd64_gitian_twister.ova
 +</​code>​
 +
 +Ubuntu桌面包含一个 <​code>​README</​code>​ 文本文件写了非常基本的 gitian 介绍在编译 32 和 64 位的原生windows可执行文件 (使用 mingw, 非 cygwin).
 +
 +One just have to boot the VirtualBox and execute a couple of commands to create an updated <​code>​twisterd.exe</​code>​ from twister-core github repository.
 +
 +更多说明请看 <a href="​https://​github.com/​devrandom/​gitian-builder"​ title="​Gitian documentation">​Gitian 文档</​a>​.
 +
 +***
 +====== 制作您的 Gitian 编译,无需VirtualBox (需要Ubuntu) ======
 +
 +来看更多最新的说明请看:​
 +[[https://​github.com/​miguelfreitas/​twister-core/​tree/​master/​contrib/​gitian-descriptors]]
 +
 +[[https://​github.com/​miguelfreitas/​twister-core/​blob/​master/​doc/​release-process.md]]
 +
 +您需要正确的硬件:​ 您需要一个 64-bit-capable CPU 和硬件虚拟化支持 (Intel VT-x or AMD-V). 不是所有的现代CPU都支持硬件虚拟化
 +您或许需要启用硬件虚拟化在您的机器BIOS中
 +
 +您需要运行一个最近的 64-bit-Ubuntu 版本, 并且您需要安装一些包:
 +
 + sudo apt-get install ruby apache2 git apt-cacher-ng python-vm-builder qemu-kvm
 +
 +Sanity 检查:
 +
 + sudo service apt-cacher-ng status ​ # Should return apt-cacher-ng is running
 + ls -l /​dev/​kvm ​  # Should show a /dev/kvm device
 +
 +
 +当您有了正确的硬件和软件时
 +
 +    git clone git://​github.com/​miguelfreitas/​twister-core.git
 +    git clone git://​github.com/​devrandom/​gitian-builder.git
 +    mkdir gitian-builder/​inputs
 +
 +    # Create base images
 +    cd gitian-builder
 +    bin/​make-base-vm --suite precise --arch i386
 +    bin/​make-base-vm --suite precise --arch amd64
 +    cd ..
 +
 +    # Get inputs (see doc/​release-process.md for exact inputs needed and where to get them)
 +    cd gitian-builder/​inputs
 + wget '​https://​www.openssl.org/​source/​openssl-1.0.1h.tar.gz'​
 + wget '​http://​download.oracle.com/​berkeley-db/​db-4.8.30.NC.tar.gz'​
 + wget '​http://​zlib.net/​zlib-1.2.8.tar.gz'​
 + wget '​https://​downloads.sourceforge.net/​project/​boost/​boost/​1.55.0/​boost_1_55_0.tar.bz2'​
 + wget '​https://​svn.boost.org/​trac/​boost/​raw-attachment/​ticket/​7262/​boost-mingw.patch'​ -O boost-mingw-gas-cross-compile-2013-03-03.patch
 + wget '​https://​protobuf.googlecode.com/​files/​protobuf-2.5.0.tar.bz2'​
 + wget '​https://​github.com/​mingwandroid/​toolchain4/​archive/​10cc648683617cca8bcbeae507888099b41b530c.tar.gz'​
 + wget '​http://​www.opensource.apple.com/​tarballs/​cctools/​cctools-809.tar.gz'​
 + wget '​http://​www.opensource.apple.com/​tarballs/​dyld/​dyld-195.5.tar.gz'​
 + wget '​http://​www.opensource.apple.com/​tarballs/​ld64/​ld64-127.2.tar.gz'​
 + wget '​https://​github.com/​theuni/​libdmg-hfsplus/​archive/​libdmg-hfsplus-v0.1.tar.gz'​
 + wget '​http://​llvm.org/​releases/​3.2/​clang+llvm-3.2-x86-linux-ubuntu-12.04.tar.gz'​ -O clang-llvm-3.2-x86-linux-ubuntu-12.04.tar.gz
 + cd ..
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​boost-linux.yml
 + mv build/​out/​boost-*.zip inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​deps-linux.yml
 + mv build/​out/​twister-deps-*.zip inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​boost-win.yml
 + mv build/​out/​boost-*.zip inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​deps-win.yml
 + mv build/​out/​twister-deps-*.zip inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​protobuf-win.yml
 + mv build/​out/​protobuf-*.zip inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​gitian-osx-native.yml
 + mv build/​out/​osx-*.tar.gz inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​gitian-osx-depends.yml
 + mv build/​out/​osx-*.tar.gz inputs/
 + ./​bin/​gbuild ../​twister-core/​contrib/​gitian-descriptors/​gitian-osx-qt.yml
 + mv build/​out/​osx-*.tar.gz inputs/
 +
 +编译windows 32和64的twister
 +
 + ./​bin/​gbuild --commit twister-core=HEAD ../​twister-core/​contrib/​gitian-descriptors/​gitian-win.yml
zh/使用/如何/已配置好的_gitian_virtualbox_镜像.txt · 最后更改: 2014/09/28 03:36 由 xiaolan