Re: [Tails-dev] Finalizing MacBook 2015 support

Üzenet törlése

Válasz az üzenetre
Szerző: intrigeri
Dátum:  
Címzett: The Tails public development discussion list
Tárgy: Re: [Tails-dev] Finalizing MacBook 2015 support
marco@???:
> @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.