50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
27 lines
759 B
Bash
Executable File
27 lines
759 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script create a list with:
|
|
# "recipe-name = {} #TODO"
|
|
# For quick testing of WIP recipes
|
|
|
|
# Given a string, find recipe.toml files containing that string.
|
|
# Create a list that can be copy/pasted into a filesystem config.
|
|
|
|
if [ -z "$*" ]
|
|
then
|
|
echo "Find matching recipes, and format for inclusion in config"
|
|
echo "Usage: $0 \"pattern\""
|
|
echo "Must be run from the RBOS build directory"
|
|
echo "e.g. $0 \"TODO.*error\""
|
|
exit 1
|
|
fi
|
|
|
|
cookbook_recipes="recipes"
|
|
recipe_paths=$(grep -rl "$*" "$cookbook_recipes" --include recipe.toml)
|
|
|
|
for recipe_path in $recipe_paths
|
|
do
|
|
recipe_dir="$(dirname $recipe_path)"
|
|
recipe_name="$(basename $recipe_dir)"
|
|
echo "$recipe_name = {} # " $(grep "$*" $recipe_path)
|
|
done |