Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • F flash-kernel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • flash-kernel
  • Merge requests
  • !25

Switch to using uncompressed kernels by default and avoid vmlinuz/initrd.img copies

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guido Gunther requested to merge guido.gunther/flash-kernel:drop-uncompress into pureos/byzantium Feb 07, 2022
  • Overview 8
  • Commits 5
  • Pipelines 2
  • Changes 4

We want to avoid this since it makes roll backs to older kernel versions harder and wastes space (not so much due to the kernel but more due to the initramfs and the backup files).

tests performed:

  • checked that boot.scr has the versioned entries
  • checked that installing with linux-image-librem5_5.16.7pureos1 installed fails
  • checked that installing with linux-image-librem5_5.16.7pureos2 installed works
  • checked that /boot/{vmlinz,initrd.img}{.bak} get no longer generated (speeding up flash-kernel too)
  • tests that switching kernel versions with --force works as long as the vmlinuz-<ver> is uncompressed.

Closes: linux-next#396

This reverts commit 58b67e3f.

Edited Feb 10, 2022 by Guido Gunther
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: drop-uncompress