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
+80
@@ -0,0 +1,80 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script show the changelog of all Red Bear OS components
|
||||
|
||||
set -e
|
||||
|
||||
LAST_RELEASE_TAG="$(git describe --tags --abbrev=0)"
|
||||
LAST_RELEASE_TIMESTAMP="$(git log --format="%ct" -1 "${LAST_RELEASE_TAG}")"
|
||||
echo "Last release: ${LAST_RELEASE_TAG} at ${LAST_RELEASE_TIMESTAMP}"
|
||||
|
||||
REPOS=(
|
||||
redox=.
|
||||
cookbook=cookbook
|
||||
rust=rust
|
||||
)
|
||||
|
||||
if [ "$1" = "--summary" ]
|
||||
then
|
||||
summary=true
|
||||
elif [ "$1" = "--mdlinks" ]
|
||||
then
|
||||
mdlinks=true
|
||||
fi
|
||||
|
||||
for package in $(installer/target/release/redox_installer --list-packages -c config/$(uname -m)/desktop.toml)
|
||||
do
|
||||
package_source="$(target/release/find_recipe ${package})"
|
||||
REPOS+=("${package}=${package_source}/source")
|
||||
done
|
||||
|
||||
# TODO: resolve dependencies instead of manually adding these initfs packages
|
||||
for package in init logd ramfs randd zerod
|
||||
do
|
||||
package_source="$(target/release/find_recipe ${package})"
|
||||
REPOS+=("${package}=${package_source}/source")
|
||||
done
|
||||
|
||||
for name_repo in "${REPOS[@]}"
|
||||
do
|
||||
name="$(echo "${name_repo}" | cut -d "=" -f 1)"
|
||||
repo="$(echo "${name_repo}" | cut -d "=" -f 2-)"
|
||||
if [ "${summary}" = true ]
|
||||
then
|
||||
echo
|
||||
echo "### ${name}"
|
||||
echo
|
||||
elif [ "${mdlinks}" = true ]
|
||||
then
|
||||
echo -n "- [${name}]"
|
||||
else
|
||||
echo -en "\x1B[1m${name}:\x1B[0m "
|
||||
fi
|
||||
|
||||
if [ -e "${repo}/.git" ]
|
||||
then
|
||||
remote="$(git -C "${repo}" remote get-url origin)"
|
||||
website="${remote%.*}"
|
||||
before="$(git -C "${repo}" log --until="${LAST_RELEASE_TIMESTAMP}" --format="%h" -1)"
|
||||
after="$(git -C "${repo}" log --since="${LAST_RELEASE_TIMESTAMP}" --format="%h" -1)"
|
||||
if [ -z "${before}" ]
|
||||
then
|
||||
echo "New repository at ${website}"
|
||||
elif [ -z "${after}" ]
|
||||
then
|
||||
echo "No changes"
|
||||
else
|
||||
if [ "${summary}" = true ]
|
||||
then
|
||||
git -C "${repo}" log ${before}...${after} --oneline
|
||||
elif [ "${mdlinks}" = true ]
|
||||
then
|
||||
echo "(${website}/-/compare/${before}...${after})"
|
||||
else
|
||||
echo "${website}/-/compare/${before}...${after}"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Not a git repository"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user