1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-04-29 11:03:19 +00:00
os-kernel/scripts/hooks/01-example-driver
liyi 7053c653e1 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.
2016-10-22 21:42:24 +02:00

10 lines
357 B
Bash
Executable File

#!/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
#