Project

General

Profile

Feature #12605

APT snapshots: drop i386 architecture

Added by intrigeri 5 months ago. Updated 21 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
05/26/2017
Due date:
% Done:

50%

QA Check:
Feature Branch:
Type of work:
Sysadmin
Blueprint:
Easy:
Affected tool:

Description

This would save us lots of disk space!

At least config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem depends on it though: we could ensure our custom APT repo has the correct i386 version of syslinux, but I'm not sure if it'll be enough: the apt-get update we run after enabling i386 there might fail given no i386 indices will be available for most APT sources. Worst case, we can simply publish somewhere the i386 /usr/bin/syslinux binary we need, and download+check it without using APT.

I could find no other blocker.


Related issues

Related to Tails - Feature #11912: Purge Jessie time-based APT snapshots Resolved 11/13/2016
Blocked by Tails - Bug #10289: Tails based on Debian Stretch Resolved 09/27/2015
Blocked by Tails - Feature #13513: Replace syslinux:i386 with syslinux:amd64 in the ISO9660 filesystem Resolved 07/25/2017
Blocks Tails - Feature #13242: Core work 2017Q4: Sysadmin (Maintain our already existing services) Confirmed 06/29/2017
Blocked by Tails - Bug #14735: stable branch FTBFS since the 3.2 release Resolved 09/29/2017

History

#1 Updated by intrigeri 5 months ago

  • Blocked by Bug #10289: Tails based on Debian Stretch added

#2 Updated by intrigeri 5 months ago

  • Related to Feature #11912: Purge Jessie time-based APT snapshots added

#3 Updated by intrigeri 5 months ago

  • Description updated (diff)

I could find no other blocker.

anonym, bertagaz: any other blocker you can find / think of?

#4 Updated by intrigeri 5 months ago

intrigeri wrote:

This would save us lots of disk space!

At least config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem depends on it though: we could ensure our custom APT repo has the correct i386 version of syslinux, but I'm not sure if it'll be enough: the apt-get update we run after enabling i386 there might fail given no i386 indices will be available for most APT sources. Worst case, we can simply publish somewhere the i386 /usr/bin/syslinux binary we need, and download+check it without using APT.

… or temporarily disable all APT sources except the one for our custom APT repo, apt-get download syslinux:i386, and revert the APT sources changes.

#5 Updated by intrigeri 5 months ago

  • Target version changed from Tails_3.4 to Tails_3.2

I suspect we'll need that disk space earlier.

#6 Updated by intrigeri 4 months ago

#7 Updated by intrigeri 4 months ago

  • Blocks Feature #13233: Core work 2017Q3: Sysadmin (Maintain our already existing services) added

#8 Updated by intrigeri 3 months ago

  • Blocked by Feature #13513: Replace syslinux:i386 with syslinux:amd64 in the ISO9660 filesystem added

#9 Updated by intrigeri 3 months ago

  • Type of work changed from Code to Sysadmin

Actually I'll deal with the syslinux:i386 issue simply by replacing it with the 64-bit version: see #13513 for details. And then this ticket becomes purely sysadmin.

#10 Updated by intrigeri 3 months ago

#11 Updated by intrigeri 3 months ago

  • Target version changed from Tails_3.2 to Tails_3.3

… and thus I can only do that after we have no active branch that needs syslinux:i386, i.e. after Tails 3.2 has been released.

#12 Updated by intrigeri 3 months ago

  • Blocks deleted (Feature #13233: Core work 2017Q3: Sysadmin (Maintain our already existing services))

#13 Updated by intrigeri 3 months ago

  • Blocks Feature #13242: Core work 2017Q4: Sysadmin (Maintain our already existing services) added

#14 Updated by intrigeri 22 days ago

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

Deploying, running reprepro clearvanished on all repos. Then I'll need to check what's the deal with reprepro snapshots, likely I'll have to delete the i386 ones manually.

#15 Updated by intrigeri 22 days ago

intrigeri wrote:

Deploying, running reprepro clearvanished on all repos.

Done, next reprepro updates should take the new config into account. Fingers crossed!

Then I'll need to check what's the deal with reprepro snapshots, likely I'll have to delete the i386 ones manually.

I'll let our automatic GC drop them and will check after a while (once our snapshot with i386 enabled that has will expire last has expired, i.e. after Nov 24) that there's no *_i386.deb left, nor references to i386 in the reprepro DB, nor nor anything i386 in dists/.

#16 Updated by intrigeri 21 days ago

  • Blocked by Bug #14735: stable branch FTBFS since the 3.2 release added

#17 Updated by intrigeri 21 days ago

  • % Done changed from 10 to 20

Seen a successful build from devel that used a Debian APT snapshot generated after deploying this change. Waiting for #14735 to be fixed before I can do the same for stable. Then I'll postpone to the release after Nov 24 (i.e. 3.4) to handle the reprepro snapshots garbage collection stuff explained above.

#18 Updated by intrigeri 21 days ago

  • Target version changed from Tails_3.3 to Tails_3.4
  • % Done changed from 20 to 50

stable branch has just built fine on Jenkins.

Also available in: Atom PDF