diff --git a/recipes/drivers/recipe.sh b/recipes/drivers/recipe.sh index 5672d3cc7c3f2977571ffc31771489e577e63a7a..47a4bbea606e8792990ba606153e88d4797fc0f8 100644 --- a/recipes/drivers/recipe.sh +++ b/recipes/drivers/recipe.sh @@ -12,4 +12,11 @@ function recipe_stage { mkdir -pv "$1/etc/pcid" cp -v initfs.toml "$1/etc/pcid/initfs.toml" cp -v filesystem.toml "$1/etc/pcid/filesystem.toml" + + mkdir -pv "$1/etc/pcid.d" + for conf in `find . -maxdepth 2 -type f -name 'config.toml'`; do + driver=$(echo $conf | cut -d '/' -f2) + cp -v $conf "$1/etc/pcid.d/$driver.toml" + done + }