calamares-settings-ubuntu/common/modules/copy_vmlinuz_shellprocess.conf
Simon Quigley 6b2555c998 [bootloader] Simply bootloader logic to ensure we can use /cdrom elsewhere
Instead of utilizing a contextualprocess to only bind-mount /cdrom to
/media/cdrom when it's a specific type of system, simply add it to the mounts
for all flavors, and move the specific copy of the vmlinuz file to a dedicated
shellprocess module. This will be re-factored next cycle, ideally being worked
directly into a dedicated C++ module instead of several, miscellaneous shell
scripts wrapped in YAML.
2025-04-15 22:19:46 -05:00

6 lines
116 B
Plaintext

---
dontChroot: true
timeout: 60
script:
- command: "cp /cdrom/casper/vmlinuz ${ROOT}/boot/vmlinuz-$(uname -r)"