[Tails-dev] Tails build broken?

Poista viesti

Vastaa
Lähettäjä: brain_strain
Päiväys:  
Vastaanottaja: tails-dev
Aihe: [Tails-dev] Tails build broken?
I've successfully installed debian wheezy on a mac book pro (2011), using
amd64 netboot. I would like to create a tails iso for my Acer c720 (it
requires i2c drivers and some other modifications).

I cloned the tails git repo and tried to follow the install instructions
(using stable instead of devel). The first time I ran rake build it failed,
the second time it claimed to succeed. Can anyone offer help on determining
my success?

$ sudo apt-get install virtualbox vagrant rake
$ git clone git://git.tails.boum.org/tails
$ cd tails
$ git checkout stable
$ export TAILS_BUILD_OPTIONS="noproxy ignorechanges"
$ rake build

The first problem I ran into was with squeeze.box. When vagrant tried to
add it, I was left with an empty directory in ~/.vagrant.d/boxes/tails. I
installed vagrant 1.3.5 x64 and ran

$ vagrant box add tails
http://dl.amnesia.boum.org/tails/project/vagrant/squeeze.box

# remove neccessary because uuid isn't found in 1.3.5 (Rakefile:360)
$ sudo apt-get remove vagrant
$ sudo apt-get install vagrant erubis ruby-i18n ruby-log4r ruby-net-scp
ruby-net-ssh

# neccessary because leader? is not supported by 0.5.3
$ sudo gem install childprocess -v=0.3.3

# next two neccessary because vagrant was looking for files in
~/.vagrant.d/boxes/tails, not ~/.vagrant.d/boxes/tails/virtualbox
$ cd ~/.vagrant.d/box/tails
$ for i in virtualbox/*; do ln -sf $i; done
$ cd -

# Follow patching instructions for vagrant/lib/vagrant_verified_download.rb
# https://mailman.boum.org/pipermail/tails-dev/2014-February/004924.html
$ rake build

WARNINGS POPPED UP:

df: Warning: cannot read table of mounted file systems: No such file or
directory
cryptsetup: WARNING: could not determine root device from /etc/fstab

...

Setting up liblzo2-2 (2.03-2) ...
Setting up squashfs-tools (1:4.2-4~bpo60+1) ...
P: Preparing squashfs image...
P: This may take a while.
ERROR: ld.so: object '/usr/lib/libeatmydata/libeatmydata.so' from
LD_PRELOAD cannot be preloaded: ignored.
Cannot stat sortlist entry "lib/live/mount/overlay/var/log/live/config.log"
This is probably because you're using the wrong file
path relative to the source directories

...

Err http://security.debian.org squeeze/updates Release.gpg
   Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111:
Connection refused)
...
W: Some index files failed to download, they have been ignored, or old ones
used instead.
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
P: Begin unmounting filesystems...
5187.79user 369.77system 1:15:34elapsed 122%CPU (0avgtext+0avgdata
1637136maxresident)k
539872inputs+21198784outputs (2178major+28849689minor)pagefaults 0swaps
Image was successfully created
Renaming generated files...

FSTAB CONTENTS
vagrant@squeeze:~$ cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump> 
<pass>
proc                        /proc          proc   
defaults          0       0
/dev/mapper/squeeze-root    /              ext4   
errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=4845b7a5-c061-416d-95d2-32e06dcae89d /boot     ext2    defaults 
      0       2
/dev/mapper/squeeze-swap_1 none            swap        sw     
      0       0
/dev/scd0                  /media/cdrom0   udf,iso9660
user,noauto   0       0


-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!