This commit is contained in:
2026-04-02 23:53:26 +02:00
parent 3b14ccf1ce
commit fb064f9c9d
12 changed files with 15 additions and 6 deletions

View File

@@ -1,2 +0,0 @@
#!/bin/sh
exit 0

View File

@@ -6,9 +6,6 @@ PHASE=${1:-}
case "$PHASE" in
pre-feature|post-feature)
mkdir -p "$LIVE_DIR/builder-notes"
printf 'sample-base entry.sh %s
' "$PHASE" > "$LIVE_DIR/builder-notes/base-entry-${PHASE}.txt"
;;
*)
echo "Unsupported base phase: $PHASE" >&2

View File

View File

@@ -16,7 +16,7 @@ from retrobuilder.model import BaseSpec
SPEC = BaseSpec(
description='Sample base used to validate the V2 builder flow.',
parent='common-base',
parent='retrodebian',
docker_overrides={
# 'pre-feature': {'image': 'retrodebian/custom-lenny:latest'},
# 'post-feature': {'dockerfile': 'bases/sample-base/Dockerfile.lenny'},

14
bases/voodoo2/entry.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
PHASE=${1:-}
[ -n "$PHASE" ] || { echo "Usage: entry.sh <phase>" >&2; exit 2; }
case "$PHASE" in
pre-feature|post-feature)
;;
*)
echo "Unsupported base phase: $PHASE" >&2
exit 2
;;
esac

View File