Merge pull request #723 from archlinux/torxed-fix-boot-entries

Clarification on boot entries when using multiple kernels
This commit is contained in:
Anton Hvornum 2021-11-16 15:47:18 +00:00 committed by GitHub
commit a18a652bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ class Installer:
with open(f'{self.target}/boot/loader/entries/{self.init_time}_{kernel}.conf', 'w') as entry:
entry.write('# Created by: archinstall\n')
entry.write(f'# Created on: {self.init_time}\n')
entry.write('title Arch Linux\n')
entry.write(f'title Arch Linux ({kernel})\n')
entry.write(f"linux /vmlinuz-{kernel}\n")
if not is_vm():
vendor = cpu_vendor()