mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-16 06:48:16 +00:00
Allow to hook in scripts that build custom drivers
If you have a script that build a custom driver, you could place it in scripts/hooks directory, the ci script will build it in order.
This commit is contained in:
9
scripts/hooks/01-example-driver
Executable file
9
scripts/hooks/01-example-driver
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This should be an excutable shell script, which builds your customized driver in to kernel.
|
||||
#
|
||||
# To minimize maintenance, it is better to be self-sufficent, or with minimum external dependencies.
|
||||
# e.g. gcc mydriver.c
|
||||
#
|
||||
# A real world example is shown at https://github.com/rancher/os-kernel/commit/93b71d24fb6368d38f562184d6fb5a97926265df
|
||||
#
|
Reference in New Issue
Block a user