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
25 lines
697 B
TOML
25 lines
697 B
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/website"
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
export PATH="$HOME/.local/bin:$HOME/.local/opt/node/bin:$PATH"
|
|
if ! command -v node &> /dev/null; then
|
|
echo "Installing Node via webi..."
|
|
curl -sS https://webi.sh/node | sh
|
|
fi
|
|
if ! command -v hugo &> /dev/null; then
|
|
echo "Installing Hugo via webi..."
|
|
curl -sS https://webi.sh/hugo | sh
|
|
fi
|
|
if ! command -v postcss &> /dev/null; then
|
|
echo "Installing PostCSS via npm..."
|
|
npm install -g postcss-cli
|
|
fi
|
|
|
|
rsync -a "${COOKBOOK_SOURCE}/" ./
|
|
./hugo.sh
|
|
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/website
|
|
cp -rv "${COOKBOOK_BUILD}"/build/public/* "${COOKBOOK_STAGE}"/usr/share/website
|
|
"""
|