Compare commits
2 Commits
c9
...
danfimov-p
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e10dd6110 | |||
| d3b499dcdd |
23
SOURCES/0004-Pass-startdir-as-a-bind-mount.patch
Normal file
23
SOURCES/0004-Pass-startdir-as-a-bind-mount.patch
Normal 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
|
||||||
@ -12,6 +12,7 @@ Source2: %{name}.tmpfiles
|
|||||||
Patch0: 0001-Do-not-build-docs.patch
|
Patch0: 0001-Do-not-build-docs.patch
|
||||||
Patch1: 0002-Allow-running-abuild-rootbld.patch
|
Patch1: 0002-Allow-running-abuild-rootbld.patch
|
||||||
Patch2: 0003-Do-not-use-bwrap-clearenv.patch
|
Patch2: 0003-Do-not-use-bwrap-clearenv.patch
|
||||||
|
Patch3: 0004-Pass-startdir-as-a-bind-mount.patch
|
||||||
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user