Feature #5300

liveusb-creator skip copying iso files

Added by Tails 2013-07-18 07:38:47 . Updated 2016-08-23 00:26:03 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Installation
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
1
Affected tool:
Deliverable for:

Description

We’ve seen such issues at "Clone & upgrade" time reported quite often recently on our various support channels:

Not enough free space on device.
1712MB ISO + 0MB overlay > 1485MB free space

Every time it was caused by random cruft (generally a Tails ISO) added to the source USB stick, and every time we were able to communicate with the reporter long enough, removing that cruft fixed the issue.

First, there seems to be a bug in the 1712MB size computation: even when random files were added on the source partition, given the size of the source partition is the same as the size of the target partition, it has to fit. This should be trivial to fix.

Second, perhaps we could add a very dumb and simple filter to the clone process, to skip copying .iso files. This would have avoided the issue in all cases I’ve been given to see.

Alternative proposal

Add a file listing all files expected in a Tails system partition (should be easy to create at build time) and only copy these files? That would prevent the cloned Tails to carry random shit.

But that seems more complicated to implement. So maybe the easiest, the better.


Subtasks


History

#1 Updated by intrigeri 2013-07-19 09:19:57

  • Starter set to Yes

#2 Updated by intrigeri 2013-09-25 01:44:16

Skipping *.iso when cloning should be a trivial oneliner change to liveusb/source.py, in the clone method of the RunningLiveSystemSource class.

#3 Updated by intrigeri 2013-10-04 01:18:01

  • Status changed from Confirmed to Fix committed

Pending for 0.21.

#4 Updated by intrigeri 2013-10-04 01:22:52

  • Category set to Installation

#5 Updated by intrigeri 2013-10-29 11:09:05

  • Status changed from Fix committed to Resolved

#6 Updated by Dr_Whax 2016-08-20 13:03:54

  • Description updated
  • Target version set to 2017

#7 Updated by intrigeri 2016-08-23 00:26:03

  • Description updated
  • Target version deleted (2017)

(This was really about Feature #5301.)