mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 03:44:18 +08:00
22 lines
512 B
Bash
22 lines
512 B
Bash
GIT=https://gitlab.redox-os.org/redox-os/drivers.git
|
|
CARGOBUILD="build"
|
|
CARGOFLAGS="--all"
|
|
|
|
function recipe_version {
|
|
echo "0.1.1"
|
|
skip=1
|
|
}
|
|
|
|
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
|
|
|
|
}
|