Skip to content
Snippets Groups Projects
Commit a352f860 authored by Simon Ellmann's avatar Simon Ellmann
Browse files

Copy config.toml files of drivers to /etc/pcid.d/

parent 8605082c
No related branches found
No related tags found
1 merge request!214Copy config.toml files of drivers to /etc/pcid.d/
...@@ -12,4 +12,11 @@ function recipe_stage { ...@@ -12,4 +12,11 @@ function recipe_stage {
mkdir -pv "$1/etc/pcid" mkdir -pv "$1/etc/pcid"
cp -v initfs.toml "$1/etc/pcid/initfs.toml" cp -v initfs.toml "$1/etc/pcid/initfs.toml"
cp -v filesystem.toml "$1/etc/pcid/filesystem.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
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment