Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A archiso
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • archiso
  • Issues
  • #64
Closed
Open
Issue created Sep 13, 2020 by David Runge@dvzrv🐿Developer

Allow using different kernels

We currently hardcode the name of the kernel image.

This becomes problematic in the case where users would like to create a profile with a different kernel (e.g. linux-lts, linux-hardened, or custom) as the image name will be different.

I wonder whether it would be enough to install a the image to a specific location again (as was done before, and now I know why!), e.g.

install -m 0644 -- "${airootfs_dir}/boot/vmlinuz-"* "${isofs_dir}/${install_dir}/boot/${arch}/vmlinuz-linux"

However, the above does not catch a case in which users (accidentally) add multiple kernel packages (in such a case the above would not work and die on install: target 'XYZ' is not a directory).

I guess this could be remedied by applying some heuristics on the amount of images (and e.g. fail when there is more than one - as we can (currently) can not boot more than one anyways).

A user suggested an approach using a variable - this is still hardcoded though.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking