This commit is contained in:
Jeremy Soller 2019-07-01 16:41:14 -06:00
commit 6c7fe1e8c8
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -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
}