commit: 3eb2598e51d60a0aadf7a8e40348658f51522b6e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 27 08:36:27 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 27 08:36:27 2025 +0000
URL: https://gitweb.gentoo.org/proj/tattoo.git/commit/?id=3eb2598e
integrate steve
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
profile/package.accept_keywords | 3 +++
profile/packages | 1 +
systemd/container.nspawn | 1 +
systemd/installer-tester.sh | 11 ++++++++++-
4 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/profile/package.accept_keywords b/profile/package.accept_keywords
new file mode 100644
index 0000000..03a4143
--- /dev/null
+++ b/profile/package.accept_keywords
@@ -0,0 +1,3 @@
+# steve
+<dev-build/steve-9999 **
+=sys-fs/fuse-common-3.10.4-r2 **
diff --git a/profile/packages b/profile/packages
index edf542b..1d97e0b 100644
--- a/profile/packages
+++ b/profile/packages
@@ -3,6 +3,7 @@ app-portage/nattka
app-shells/bash-completion
app-text/ansifilter
app-text/wgetpaste
+dev-build/steve
dev-python/jinja2
dev-python/psutil
dev-util/pkgdev
diff --git a/systemd/container.nspawn b/systemd/container.nspawn
index d462ca6..df94ea2 100644
--- a/systemd/container.nspawn
+++ b/systemd/container.nspawn
@@ -11,6 +11,7 @@ Bind=/var/cache/distfiles/
Bind=/srv/tattoo
BindReadOnly=/usr/src
#TemporaryFileSystem=/var/tmp
+Bind=/dev/steve
[Network]
Private=no
diff --git a/systemd/installer-tester.sh b/systemd/installer-tester.sh
index 08b5175..57786c0 100755
--- a/systemd/installer-tester.sh
+++ b/systemd/installer-tester.sh
@@ -46,6 +46,11 @@ cat > ~/.config/pkgdev/pkgdev.conf <<-EOF || die "Failed to
create pkgdev config
tatt.use-default =
EOF
+einfo "Setting initial /etc/sandbox.d/90steve"
+cat > /etc/sandbox.d/90steve <<-EOF || die "Failed to create
/etc/sandbox.d/90steve"
+ SANDBOX_WRITE="/dev/steve"
+EOF
+
einfo "Preparing /etc/portage"
if [[ -d /etc/portage/profile/package.use.force ]]; then
ewarn "Directory /etc/portage/profile/package.use.force already exists,
removing it"
@@ -56,7 +61,6 @@ ln -vsf /srv/tattoo/profile/* /etc/portage/profile || die
"Failed to link profil
cat >> /etc/portage/make.conf <<-EOF || die "Failed to append to
/etc/portage/make.conf"
# tattoo settings
- MAKEOPTS="-j${JOBS} -l${LOAD}"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --quiet-build
--keep-going --complete-graph --with-bdeps=y --load-average ${EMERGE_LOAD}
--deep --jobs=${EMERGE_JOBS}"
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \\\${PID}"
PORTAGE_NICENESS=11
@@ -70,6 +74,11 @@ cat >> /etc/portage/make.conf <<-EOF || die "Failed to
append to /etc/portage/ma
PORTAGE_LOGDIR="/var/log/portage"
FEATURES="${FEATURES} split-elog split-log -merge-sync parallel-install
parallel-fetch -news"
PORTAGE_LOG_FILTER_FILE_CMD="bash -c \\"ansifilter; exec cat\\""
+
+ # https://wiki.gentoo.org/wiki/Steve
+ MAKEOPTS="-j${JOBS} -l${LOAD}"
+ MAKEFLAGS="-l${LOAD} --jobserver-auth=fifo:/dev/steve"
+ NINJAOPTS="-l${LOAD}"
EOF
einfo "Selecting profile"