Project

General

Profile

Feature #15283

Feature #15281: Stack one single SquashFS diff when upgrading

Implement the "one single SquashFS diff" scheme in Tails Upgrader

Added by anonym 9 months ago. Updated 8 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
02/05/2018
Due date:
% Done:

30%

QA Check:
Ready for QA
Feature Branch:
feature/15281-single-squashfs-diff, iuk:feature/15281-single-squashfs-diff, perl5lib:feature/15281-single-squashfs-diff
Type of work:
Code
Blueprint:
Starter:
Affected tool:
Upgrader

Description

Tails Upgrader: make it remove previous IUKs and fix the module file.
UDF generation: initial-install-version


Related issues

Blocked by Tails - Feature #15286: Adapt automated test suite for the "one single SquashFS diff" upgrade scheme In Progress 02/05/2018
Blocks Tails - Feature #15506: Core work 2018Q4: Foundations Team Confirmed 04/08/2018

History

#1 Updated by anonym 9 months ago

Let's pick the relevant bits from tails-iuk's feature/11131-endless-upgrade branch and push them as a new one, maybe feature/15281-1bigiuk.

#2 Updated by anonym 9 months ago

  • Parent task set to #15281

#3 Updated by anonym 9 months ago

  • Feature Branch set to tails:feature/15281-1bigiuk installer:?

#4 Updated by intrigeri 9 months ago

  • Subject changed from Adapt tails-iuk for 1BigIUK to Adapt Tails Upgrader for the "one single SquashFS diff" upgrade scheme
  • Feature Branch changed from tails:feature/15281-1bigiuk installer:? to iuk:feature/11131-endless-upgrade, perl5lib:feature/11131-endless-upgrade

#5 Updated by intrigeri 9 months ago

  • Blocked by Feature #15286: Adapt automated test suite for the "one single SquashFS diff" upgrade scheme added

#6 Updated by intrigeri 9 months ago

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

This works fine already in the context of the upgrader's own test suite. Next step is to revert the unrelated changes from the branch, wait for #15286, test it that way + manually.

#7 Updated by intrigeri 9 months ago

  • Subject changed from Adapt Tails Upgrader for the "one single SquashFS diff" upgrade scheme to Implement the "one single SquashFS diff" scheme in Tails Upgrader

#8 Updated by anonym 9 months ago

  • % Done changed from 10 to 30
  • QA Check set to Dev Needed
  • Feature Branch changed from iuk:feature/11131-endless-upgrade, perl5lib:feature/11131-endless-upgrade to feature/15281-single-squashfs-diff, iuk:feature/15281-single-squashfs-diff, perl5lib:feature/15281-single-squashfs-diff

intrigeri wrote:

Next step is to revert the unrelated changes from the branch, wait for #15286, test it that way + manually.

Done, + that I've imported the changes to tails-iuk and tails-perl5lib into the Tails feature branch, as a patch.

So the scenario we already had (now called Upgrading a pristine Tails via an IUK) passes, but the two new scenarios don't. They deal with the cases where one or more incremental upgrades already have been installed, and that's why these scenarios fail; old SquashFS deltas are neither removed from the filesystem nor from live/Tails.module's contents.

#9 Updated by anonym 9 months ago

Even in the original feature/11131-endless-upgrade branch the last commit was:

commit 0b99b3826521417fbf08246c9af18fcd2b40e6ae
Author: intrigeri <intrigeri@boum.org>
Date:   Sun Feb 4 15:00:30 2018 +0000

    Test suite: check that old IUKs are deleted after installing a new one.

    (TDD, this is not implemented yet.)

so there's no code for deletnig old SquashFS diff:s! If you actually wrote that code, I guess you forgot to push.

#10 Updated by intrigeri 9 months ago

anonym wrote:

Even in the original feature/11131-endless-upgrade branch the last commit was:
[...]
so there's no code for deletnig old SquashFS diff:s! If you actually wrote that code, I guess you forgot to push.

commit 6c7c72119ba2738414ec8600c593501ee308de61 (HEAD -> feature/11131-endless-upgrade, origin/feature/11131-endless-upgrade)
Author: intrigeri <intrigeri@boum.org>
Date:   Sun Feb 4 17:18:28 2018 +0000

    Delete all SquashFS diffs except the one(s) we've just installed (refs: #11831).

Note origin/feature/11131-endless-upgrade. So I guess you forgot to fetch before renaming my branch. I see you've deleted it, so I've pushed it again.

#11 Updated by intrigeri 9 months ago

  • Assignee changed from intrigeri to anonym
  • QA Check changed from Dev Needed to Ready for QA

#12 Updated by intrigeri 9 months ago

  • Target version changed from Tails_3.6 to Tails_3.7

#13 Updated by intrigeri 8 months ago

  • Target version changed from Tails_3.7 to Tails_3.8

#14 Updated by intrigeri 6 months ago

  • Target version changed from Tails_3.8 to Tails_3.10.1

#15 Updated by intrigeri 5 months ago

  • Target version changed from Tails_3.10.1 to Tails_3.11

#16 Updated by intrigeri 2 months ago

  • Assignee changed from anonym to intrigeri

#17 Updated by intrigeri 2 months ago

#18 Updated by intrigeri 9 days ago

  • Target version changed from Tails_3.11 to Tails_3.12

#19 Updated by intrigeri 8 days ago

  • Target version changed from Tails_3.12 to Tails_3.13

Also available in: Atom PDF