Feature #9421

Upgrade the overlayfs branch to Linux 4.x

Added by intrigeri 2015-05-18 09:58:52 . Updated 2015-09-07 10:54:49 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
2015-05-18
Due date:
% Done:

100%

Feature Branch:
feature/8415-overlayfs
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

It’s now in sid. The main blocker is that the amd64 kernel flavour is not built anymore for the i386 architecture, so we have to use dpkg --add-architecture amd64, and adjust APT sources so that we fetch the indices (of the suites we want to fetch the kernel from) for amd64 in addition to i386.


Subtasks


Related issues

Related to Tails - Feature #9381: Ship an amd64 syslinux binary in the ISO Resolved 2015-06-18

History

#1 Updated by intrigeri 2015-06-12 11:18:06

  • related to Feature #9381: Ship an amd64 syslinux binary in the ISO added

#2 Updated by intrigeri 2015-06-12 11:18:56

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri

Giving it a try, mainly because Feature #9381 needs the same background work.

#3 Updated by intrigeri 2015-06-12 11:38:52

Applied in changeset commit:d95dd2a44d0d5b15e71d5ae0cb738979be18d81c.

#4 Updated by intrigeri 2015-06-12 12:05:33

  • Assignee changed from intrigeri to anonym
  • % Done changed from 0 to 10
  • QA Check set to Info Needed
  • Feature Branch set to feature/8415-overlayfs

It’s now done, but it still can’t build Tails/Wheezy: Linux 4.x from unstable adds a versioned Breaks on udev (<< 208-8~), due to https://bugs.debian.org/756312 and https://bugs.debian.org/752742. Too bad, given we had actually imported the fix with commit:d8c7e82.

So, either we backport a newer udev for Wheezy (which can have a number of “interesting” side-effects), or we rebuild src:linux to drop this versioned Breaks (please, no), or we decide that overlayfs and Linux 4.x+ will be for Tails/Jessie, and Tails/Wheezy will stick to Jessie’s Linux 3.16. I’m tempted to go for the later solution. anonym, any opinion?

#5 Updated by anonym 2015-06-12 14:49:37

  • Assignee changed from anonym to intrigeri
  • QA Check changed from Info Needed to Dev Needed

The alternatives look painful, so let’s base this branch on feature/jessie and aim for overlayfs support there instead.

#6 Updated by intrigeri 2015-06-12 21:55:00

  • % Done changed from 10 to 20

Done => this branch is now based on feature/jessie. It builds, however:

  • dkms modules building has been temporarily disabled (and might be quite painful to re-enable);
  • the amd64 kernel entry in syslinux doesn’t work since the amd64 kernel wasn’t properly renamed to vmlinuz2 during the build process; I think that’s because I’ve removed “amd64” from --linux-flavours and/or because currently different version of the kernel are installed on i386 and amd64; config/binary_local-hooks/ should allow us to hack around that.

#7 Updated by intrigeri 2015-07-13 03:50:17

  • Target version set to Sustainability_M1

#8 Updated by intrigeri 2015-07-13 03:52:36

  • Assignee deleted (intrigeri)

#9 Updated by intrigeri 2015-08-11 03:18:22

> and/or because currently different version of the kernel are installed on i386 and amd64;

That’s not the case anymore, but the problem is still here, so it can’t be the cause of this problem.

#10 Updated by intrigeri 2015-08-11 03:29:29

  • Subject changed from Upgrade the overlayfs branch to Linux 4.0 to Upgrade the overlayfs branch to Linux 4.x

#11 Updated by intrigeri 2015-08-11 07:22:56

  • Status changed from In Progress to Resolved
  • % Done changed from 20 to 100
  • QA Check deleted (Dev Needed)

intrigeri wrote:
> Done => this branch is now based on feature/jessie. It builds, however:

It now boots fine.

> * dkms modules building has been temporarily disabled (and might be quite painful to re-enable);

That’s now Bug #9969.

> * the amd64 kernel entry in syslinux doesn’t work since the amd64 kernel wasn’t properly renamed to vmlinuz2 during the build process; I think that’s because I’ve removed “amd64” from --linux-flavours and/or because currently different version of the kernel are installed on i386 and amd64; config/binary_local-hooks/ should allow us to hack around that.

Fixed in commit:2ba123b.

#12 Updated by sajolida 2015-09-07 10:54:49

  • Target version changed from Sustainability_M1 to 2016