Pass $startdir as a bind mount #1

Merged
eabdullin merged 2 commits from danfimov/abuild:danfimov-patch-1 into c9 2026-05-21 09:00:30 +00:00
Showing only changes of commit 752dd4f40c - Show all commits

View File

@ -0,0 +1,23 @@
From 7b11a7796d1fcfd14a58ea0a46c953f18d0c3066 Mon Sep 17 00:00:00 2001
From: Daniil Anfimov <anfimovdan@gmail.com>
Date: Thu, 4 Sep 2025 14:23:00 +0300
Subject: [PATCH] Pass $startdir as a bind mount
---
abuild-3.15.0/abuild.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/abuild.in b/abuild.in
index c33a230..f6761e5 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2650,6 +2650,7 @@ rootbld() {
--bind "$BUILD_ROOT/tmp" /tmp \
--bind "$BUILD_ROOT/var/tmp" /var/tmp \
--bind "$REPODEST" "$REPODEST" \
+ --bind "$startdir" "$startdir" \
--hostname "build-$buildhost-$CARCH" \
--chdir "$startdir" \
--clearenv \
--
2.50.1