Re: [Tails-dev] Finalizing MacBook 2015 support

2018-06-11 Thread intrigeri
ma...@marco.betschart.name:
> @intrigeri good catch; seems to be a symlink issue.

I don't think so.

> below the build log output.

Thanks!

> Building VirtualBox guest modules
> + . /usr/share/amnesia/build/variables
> + KERNEL_VERSION=4.15.0-3
> + KERNEL_SOURCE_VERSION=4.15
> + LB_DISTRIBUTION=stretch
> + POTFILES_DOT_IN=/etc/skel/Desktop/Report_an_error.desktop.in
> /etc/skel/Desktop/tails-documentation.desktop.in
> /usr/share/applications/tails-documentation.desktop.in
> /usr/share/applications/tails-about.desktop.in
> /usr/share/applications/tor-browser.desktop.in
> /usr/share/applications/unsafe-browser.desktop.in
> /usr/share/desktop-directories/Tails.directory.in
> /usr/share/polkit-1/actions/org.boum.tails.root-terminal.policy.in
> + . /usr/local/lib/tails-shell-library/build.sh
> + . /usr/local/lib/tails-shell-library/common.sh
> + ensure_hook_dependency_is_installed dkms
> + shift
> + echo dkms
> + grep -q --extended-regexp ^[a-z0-9.+-]+$
> + is_package_installed dkms
> + local package_name package_status
> + package_name=dkms
> + no_abort dpkg-query --show --showformat=${db:Status-Status} dkms
> + package_status=installed
> + [ installed = installed ]
> + continue
> + [ -z  ]
> + return
> + ensure_hook_dependency_is_installed virtualbox-guest-dkms
> + shift

So the virtualbox-guest-dkms package was installed but no module was
built. I think that's explained by this comment:

  "# Any -dkms package must be installed *after* dkms to be properly registered"

… which is the case usually (my build logs say that dkms is installed
by the 50-dkms hook), but apparently your new hook makes this
requirement not satisfied anymore. I suggest you add your code to
some relevant place in 50-dkms instead of creating a new hook that
runs earlier.
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Finalizing MacBook 2015 support

2018-06-11 Thread marco
@intrigeri good catch; seems to be a symlink issue. below the build log output. 
And this is the current code of the macbook12 spi driver: 
https://gitlab.com/marbetschar/tails/blob/feature/macbook12-applespi/config/chroot_local-hooks/13-apple-spi


dpkg-deb: building package 'gnome-backgrounds' in 
'../gnome-backgrounds_3.22.1-1+tails.fake1_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
(Reading database ... 164557 files and directories currently installed.)
Preparing to unpack .../gnome-backgrounds_3.22.1-1+tails.fake1_all.deb ...
Unpacking gnome-backgrounds (3.22.1-1+tails.fake1) over (3.22.1-1) ...
Setting up gnome-backgrounds (3.22.1-1+tails.fake1) ...
Explicitly disable Wayland in GDM
Lower systemd's DefaultTimeoutStopSec
Lower logind's NAutoVTs
Selecting our preferred pinentry
update-alternatives: using /usr/bin/pinentry-gtk-2 to provide /usr/bin/pinentry 
(pinentry) in manual mode
update-alternatives: using /usr/bin/pinentry-gtk-2 to provide 
/usr/bin/pinentry-x11 (pinentry-x11) in manual mode
Adding 'local diversion of /usr/bin/pinentry-gtk-2 to 
/usr/lib/pinentry/pinentry-gtk-2'
Disabling ssh-agent
Wrapping gdm-x-session to limit the number of allowed failures
Adding 'local diversion of /usr/lib/gdm3/gdm-x-session to 
/usr/lib/gdm3/gdm-x-session.real'
Configuring the console codeset to support more languages
Deleting unused AppArmor profiles
Disabling unneeded D-Bus services
Enable various AppArmor profiles
Configuring htpdate HTTP User-Agent
Tweaking laptop-mode-tools
+ echo Building VirtualBox guest modules
Building VirtualBox guest modules
+ . /usr/share/amnesia/build/variables
+ KERNEL_VERSION=4.15.0-3
+ KERNEL_SOURCE_VERSION=4.15
+ LB_DISTRIBUTION=stretch
+ POTFILES_DOT_IN=/etc/skel/Desktop/Report_an_error.desktop.in 
/etc/skel/Desktop/tails-documentation.desktop.in 
/usr/share/applications/tails-documentation.desktop.in 
/usr/share/applications/tails-about.desktop.in 
/usr/share/applications/tor-browser.desktop.in 
/usr/share/applications/unsafe-browser.desktop.in 
/usr/share/desktop-directories/Tails.directory.in 
/usr/share/polkit-1/actions/org.boum.tails.root-terminal.policy.in 
+ . /usr/local/lib/tails-shell-library/build.sh
+ . /usr/local/lib/tails-shell-library/common.sh
+ ensure_hook_dependency_is_installed dkms
+ shift
+ echo dkms
+ grep -q --extended-regexp ^[a-z0-9.+-]+$
+ is_package_installed dkms
+ local package_name package_status
+ package_name=dkms
+ no_abort dpkg-query --show --showformat=${db:Status-Status} dkms
+ package_status=installed
+ [ installed = installed ]
+ continue
+ [ -z  ]
+ return
+ ensure_hook_dependency_is_installed virtualbox-guest-dkms
+ shift
+ + grep -q --extended-regexp ^[a-z0-9.+-]+$
echo virtualbox-guest-dkms
+ is_package_installed virtualbox-guest-dkms
+ local package_name package_status
+ package_name=virtualbox-guest-dkms
+ no_abort dpkg-query --show --showformat=${db:Status-Status} 
virtualbox-guest-dkms
+ package_status=installed
+ [ installed = installed ]
+ continue
+ [ -z  ]
+ return
+ ls /var/lib/dkms/*/*/build/make.log
ls: cannot access '/var/lib/dkms/*/*/build/make.log': No such file or directory
+ [ ! -f /lib/modules/4.15.0-3-amd64/updates/vboxguest.ko ]
+ [ ! -f /lib/modules/4.15.0-3-cloud-amd64/updates/vboxguest.ko ]
+ [ ! -f /lib/modules/4.15.0-3/updates/vboxguest.ko ]
+ echo Can not find vboxguest module in '/lib/modules/4.15.0-3/updates
Can not find vboxguest module in '/lib/modules/4.15.0-3/updates
+ exit 1
E: config/chroot_local-hooks/50-dkms failed (exit non-zero). You should check 
for errors.
P: Begin unmounting filesystems...

real40m59.417s
user26m18.068s
sys 9m41.728s
+ kill -9 20526
+ cleanup
+ [ -n /tmp/tails-build.Trx3YXsR ]
+ cd /
+ remove_build_dirs
+ + old_build_dirs
tac
+ mount
+ perl -ni -E say $mountpoint if (($mountpoint) = ($_ =~ 
m{^(?:aufs|tmpfs|devpts-live|proc-live|sysfs-live) on 
(/tmp/tails-build(?:-tmpfs)?\.[/[:alnum:]]+)}))
-i used with no filenames on the command line, reading from STDIN.
+ sudo rm -rf /tmp/tails-build.Trx3YXsR
rake aborted!
VagrantCommandError: 'vagrant ["ssh", "-c", "MKSQUASHFS_OPTIONS='-comp gzip 
-Xcompression-level 1' TAILS_PROXY='http://vagrant-stretch:3142' 
TAILS_PROXY_TYPE='vmproxy' 
GIT_COMMIT='585ba5e1ece2846aa19e059dd7f6f314e9995b79' 
GIT_REF='feature/macbook12-applespi' 
BASE_BRANCH_GIT_COMMIT='e1dbacd386d4ddeac23350888667cf83362199b4' build-tails", 
"--", "-q"]' command failed with exit status 1
/home/parallels/Development/tails/Rakefile:112:in `rescue in run_vagrant'
/home/parallels/Development/tails/Rakefile:110:in `run_vagrant'
/home/parallels/Development/tails/Rakefile:127:in `call'
/home/parallels/Development/tails/Rakefile:127:in `block (2 levels) in '
/home/parallels/Development/tails/Rakefile:413:in `block in '
CommandError: command ["vagrant", "ssh", "-c", "MKSQUASHFS_OPTIONS='-comp gzip 
-Xcompression-level 1' 

[Tails-dev] Important Notification

2018-06-11 Thread Information Update
Dear Recipent ,

This email address has won Three Million Pounds on the o2 mobile 
sweepstakes.Please Contact Payment Cordinator Mat on email :  
mrw...@o2loto.co.uk for explanation and payment processing .

Yours Faithfully 

Debbie Spence 

Cordinator O2 Mobile Promotional Sweepstakes.


___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Searching documents in an airgap Tails

2018-06-11 Thread drwhax
On 2018-06-09 05:34, sajolida wrote:
> drw...@riseup.net:
>> On 2018-06-04 16:20, u wrote:
 The discussion we had maybe in the open or maybe in the backchannels
 was, could we maintain some kind of "journalist pack" for persistence
 where we package these tools somewhat and these things install when you
 setup your persistence.
>>>
>>> I think it'd be useful to identify some of these tools, and propose them
>>> when people launch the Additional Software Feature GUI for the first
>>> time. Also see https://tails.boum.org/news/test_asp-beta/index.en.html
>>
>> Sure thing! Could you create a blueprint for this? Thanks!
>

Could you call it: searching_documents_additional_software
 
> I haven't followed this thread at all so could you tell me how you want
> your blueprint to be called?
> 
> https://tails.boum.org/blueprint/???

Thanks!
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] How to use a non-standard persistent volume?

2018-06-11 Thread segfault
gaff-tails:
> Is there a way I can create and mount a persistent volume that isn't
on a USB stick? I understand that this comes with security risks - My
main aim here is develop and test tails features using virtual box or
similar.

For testing purposes, you can also use this tool to create a disk image
from a Tails ISO. You can boot the resulting image via
libvirt/virt-manager and create a persistent partition on it:

https://gitlab.com/segfault3/tails-usb-image-from-iso

Cheers
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Finalizing MacBook 2015 support

2018-06-11 Thread intrigeri
Marco Betschart:
> Unfortunately the *.iso is not created successfully, since the subsequent hook
> 50-dkms fails. Probably due to kernel version mismatch.

… or due to trying to create a symlink that your new hook already creates.

> How can I get my branch compiled, so I finally can test the changes on actual 
> hardware?

Please share the build log so that we can see the error.
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

[Tails-dev] Finalizing MacBook 2015 support

2018-06-11 Thread Marco Betschart
I’ve managed to get the applespi driver compiled  changes pushed here:
https://gitlab.com/marbetschar/tails/commit/13c3a185586f122ceffad7228c9ed009402a4def
 


Unfortunately the *.iso is not created successfully, since the subsequent hook 
50-dkms fails. Probably due to kernel version mismatch. My branch 
feature/macbook12-applespi is based on develop and I’ve not changed any kernel 
version stuff.

How can I get my branch compiled, so I finally can test the changes on actual 
hardware?

Thanks in advance,
  Marco___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

[Tails-dev] Installation

2018-06-11 Thread Виталий Витальевич Коннов
> I thought of another way installing tails on Mac. Firstly install it on VM 
> and then make bootable usb with tails installer.

However in the end it didn’t but on my MacBook early 2016

Отправлено с iPhone___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] mksquashfs for reproducible squashfs

2018-06-11 Thread intrigeri
Andres Pavez:
> Where I can find the exact command that tails use to generate a
> reproducible filesystem.squashfs using mksquashfs?.

We pass this on release builds:

   -comp xz -Xbcj x86 -b 1024K -Xdict-size 1024K -no-exports

… on top of what (our fork of) live-build 2.x passes.

> I have been using " -processors 1 -no-fragments "and i have compiled
> my own mksquashfs based on Lamby patch to use SOURCE_DATE_EPOCH and i
> cannot create a reproducible squashfs :(

These patches are not enough, you also need that one:
https://github.com/intrigeri/squashfs-tools/commit/c2c4d15580adee66b68c29eb9d2ee660225449bc

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.