Skip to content

Commit

Permalink
writes kernel version to file
Browse files Browse the repository at this point in the history
This is needed for dynamically adding dkms modules.
  • Loading branch information
taukakao committed Jan 17, 2025
1 parent e35646c commit d153ad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/02-kernel-version-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: kernel-version-file
type: shell
commands:
- mkdir -p /usr/share/vanilla
- echo "$(ls -1 /usr/lib/modules | head -n 1)" > /usr/share/vanilla/kernel-version
1 change: 1 addition & 0 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stages:
- modules/00-vanilla-apx.yml
- modules/00-vanilla-apx-stacks.yml
- modules/01-kernel.yml
- modules/02-kernel-version-file.yml
- modules/03-fswarn.yml
- modules/05-firmware.yml
- modules/10-input-and-locale.yml
Expand Down

0 comments on commit d153ad5

Please sign in to comment.