Commit dc45e79d authored by Tails developers's avatar Tails developers
Browse files

Don't uninstall extensions for the chroot browsers.

We don't have to any more (after the TBB migration) since we
explicitly set up the ones we want to use. This should speed up the
start and reduce the memory footprint.
parent 3c3fb818
......@@ -77,10 +77,6 @@ configure_chroot () {
# Prevent sudo from complaining about failing to resolve the 'amnesia' host
echo " localhost amnesia" > ${CHROOT}/etc/hosts
# Keep the NoScript and TorButton addons
chroot ${CHROOT} dpkg -l 'xul-ext*' |grep -v 'noscript\|torbutton' \
| awk '/^ii/{print $2}' | xargs -r chroot ${CHROOT} dpkg --remove
# Create a fresh Tor Browser profile for the i2pbrowser user
......@@ -81,13 +81,6 @@ configure_chroot () {
chmod a+r ${CHROOT}/etc/resolv.conf
# Remove all addons: some adds proxying, which we don't
# want; some may change the fingerprint compared to a standard
# Firefox install. Note: We cannot use apt-get since we don't ship its
# lists (#6531). Too bad, APT supports globbing, while dkpg does not.
dpkg -l 'xul-ext-*' | /bin/grep '^ii' | awk '{print $2}' | \
xargs chroot ${CHROOT} dpkg --remove
# Create a fresh browser profile for the clearnet user
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment