[Tails-dev] Removing packages from Tails for testing smaller…

Delete this message

Reply to this message
Autore: Thomas Benjamin
Data:  
To: The Tails public development discussion list
Oggetto: [Tails-dev] Removing packages from Tails for testing smaller attack surface
All,

Is there any particular good procedure for removing packages from Tails, or
must one keep trying to build until all dependencies have been removed?

Example: in chroot_local-hooks/98-remove_unwanted_files there are a number
of files that come with packages from
chroot_local-packageslists/tails-common.list such that when those packages
are removed from tails-common.list the build breaks because if those files
do not exist the rm command fails. (and I don't understand why the -f
parameter is not used so that the build will not fail if that package is
not included).

By manually adding the -f parameter to all rm operations in that file I was
able to complete a build with those specific packages not included (the
open office packages).

Now I have experimented with removing two more packages (audacity and
cups), and have a fresh set of build errors.

Advice? (and if this an FAQ pointer please to the documentation)

TIA.

--

     Sincerely Yours,
                                Thomas S. Benjamin