summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2018-01-30 13:53:56 +0100
committeranonym <anonym@riseup.net>2018-01-30 13:53:56 +0100
commitaf468b3fd46fef92afa785fd299f1a01464bf303 (patch)
tree6364053e2a368265c0cda2f0a72aad510cc2a15e
parentc9e4f971e5627db09c0fcbb63ed79b274cab25c9 (diff)
Rename step to something more accurate.
The "non-onion sources" part of this step is achieved through the 'I configure APT to use non-onion sources' step.
-rw-r--r--features/additional_software_packages.feature2
-rw-r--r--features/step_definitions/additional_software_packages.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/features/additional_software_packages.feature b/features/additional_software_packages.feature
index 0e50993..db45783 100644
--- a/features/additional_software_packages.feature
+++ b/features/additional_software_packages.feature
@@ -15,7 +15,7 @@ Feature: Additional software packages
When I update APT using apt
And I configure additional software packages to install "sslh"
And I install "sslh" using apt
- And I add non-onion APT sources to persistence
+ And I make my current APT sources persistence
And I shutdown Tails and wait for the computer to power off
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled
Then the additional software package installation service is run
diff --git a/features/step_definitions/additional_software_packages.rb b/features/step_definitions/additional_software_packages.rb
index 52ddd38..2821258 100644
--- a/features/step_definitions/additional_software_packages.rb
+++ b/features/step_definitions/additional_software_packages.rb
@@ -8,14 +8,14 @@ end
# We have to save the non-onion APT sources in persistence, so that on
# next boot the additional software packages service has the right APT
# indexes to install the package we want.
-When /^I add non-onion APT sources to persistence$/ do
+When /^I make my current APT sources persistence$/ do
$vm.execute("install -d -m 755 /live/persistence/TailsData_unlocked/apt-sources.list.d")
$vm.file_append(
'/live/persistence/TailsData_unlocked/persistence.conf',
"/etc/apt/sources.list.d source=apt-sources.list.d,link\n"
)
$vm.file_overwrite(
- '/live/persistence/TailsData_unlocked/apt-sources.list.d/non-onion.list',
+ '/live/persistence/TailsData_unlocked/apt-sources.list.d/persistent.list',
$vm.file_content($vm.file_glob('/etc/apt/**/*.list'))
)
end