Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • linux
  • Merge requests
  • !545

builddeb: Uncompress the kernel

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guido Gunther requested to merge guido.gunther/linux-next:gunzip-kernel into pureos/byzantium Feb 07, 2022
  • Overview 15
  • Commits 2
  • Pipelines 3
  • Changes 1

This allows our uboot to boot the kernel directly and we avoid having flash-kernel uncompressing it. While this might look like a waste of space it isn't since this makes us save

  • vmlinuz (uncompressed)
  • vmlinuz.bak (uncompressed)
  • initrd.img
  • initrd.img.bak

in /boot. It also avoids the uncompress itself which is more susceptible to inconsistent state.

This makes us align more with Debian and once uboot allows to boot compressed kernels we can just drop this patch without further changes needed in e.g. flash-kernel.

The safest update way would be to make our kernel package just depend on a fixed flash-kernel so that we're sure it gets pulled in and runs on upgrade. We could consider bumping the API (5.16.0-1) to be sure the kernel matches the modules.

Needs flash-kernel!25 (merged)

Signed-off-by: Guido Günther guido.gunther@puri.sm

Edited Feb 08, 2022 by Guido Gunther
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: gunzip-kernel