Red Bear OS — microkernel OS in Rust, based on Redox
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
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script shows the current Git commit hash of system recipes at recipes/core
|
||||
|
||||
set -e
|
||||
|
||||
# Check if recipes/core directory exists
|
||||
if [ ! -d "recipes/core" ]
|
||||
then
|
||||
echo "Error: recipes/core directory not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Iterate through all system recipes in recipes/core
|
||||
for recipe_dir in recipes/core/*/
|
||||
do
|
||||
recipe_name=$(basename "$recipe_dir")
|
||||
source_dir="$recipe_dir/source"
|
||||
|
||||
# Check if source directory exists and is a git repository
|
||||
if [ -d "$source_dir" ] && [ -d "$source_dir/.git" ]
|
||||
then
|
||||
# Get the commit hash
|
||||
commit_hash=$(cd "$source_dir" && git rev-parse HEAD)
|
||||
echo "$recipe_name: $commit_hash"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user