Debian Codegraph @

debian/patches/09_schroot_bootstrap.diff

raw symbols SCIP
1 Fromscip-debian debian mlton 20241230+git20251029+dfsg-5 mlton/patches/`09_schroot_bootstrap.diff`#From.: Ryan Kavanagh <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian mlton 20241230+git20251029+dfsg-5 mlton/patches/`09_schroot_bootstrap.diff`#Date.: Fri, 7 Nov 2025 10:14:09 -0500
3 Subjectscip-debian debian mlton 20241230+git20251029+dfsg-5 mlton/patches/`09_schroot_bootstrap.diff`#Subject.: Support schroot when bootstrapping on remote porterbox
4
5 Forwarded: not-needed
6 Reviewed-by: Ryan Kavanagh <[email protected]>
7 Last-Update: 2025-11-07
8 ---
9 Makefile | 4 ++++
10 1 file changed, 4 insertions(+)
11
12 diff --git a/Makefilescip-debian debian mlton 20241230+git20251029+dfsg-5 mlton/upstream/Makefile: b/Makefilescip-debian debian mlton 20241230+git20251029+dfsg-5 mlton/upstream/Makefile:
13 index 4d6edc2..b612f44 100644
14 --- a/Makefile
15 +++ b/Makefile
16 @@ -665,7 +665,11 @@ remote--rm-root:
17 define MK_REMOTE_MAKE_TEMPLATE
18 .PHONY: remote--make-$(1)
19 remote--make-$(1):
20 +ifneq ($(SCHROOT),)
21 + $$(SSH) $$(REMOTE_MACHINE) 'schroot -c $(SCHROOT) -r -- bash -c "cd $$(REMOTE_ROOT) && $$(REMOTE_MAKE) $$(REMOTE_MAKEFLAGS) $$(REMOTE_XMAKEFLAGS) $$($(1)_REMOTE_XMAKEFLAGS) $(1)"'
22 +else
23 $$(SSH) $$(REMOTE_MACHINE) "cd $$(REMOTE_ROOT) && $$(REMOTE_MAKE) $$(REMOTE_MAKEFLAGS) $$(REMOTE_XMAKEFLAGS) $$($(1)_REMOTE_XMAKEFLAGS) $(1)"
24 +endif
25 endef
26
27 $(eval $(call MK_REMOTE_MAKE_TEMPLATE,show-config))