FreeBSD Bugzilla – Attachment 244175 Details for
Bug 273148
[PATCH] scripted installs are unable to verify checksums for fetched dists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix call to fetchmissingdists in script
0002-Fix-call-to-fetchmissingdists-in-script.patch (text/plain), 1.00 KB, created by
Lars Kellogg-Stedman
on 2023-08-17 20:11:09 UTC
(
hide
)
Description:
Fix call to fetchmissingdists in script
Filename:
MIME Type:
Creator:
Lars Kellogg-Stedman
Created:
2023-08-17 20:11:09 UTC
Size:
1.00 KB
patch
obsolete
>From dcacd8424b03e194af9746d101977773bf41ed7e Mon Sep 17 00:00:00 2001 >From: Lars Kellogg-Stedman <lars@oddbit.com> >Date: Thu, 17 Aug 2023 16:07:24 -0400 >Subject: [PATCH 2/2] Fix call to fetchmissingdists in script > >Fix the problem identified in 1f7746d81 by using different file >descriptors to avoid conflict with other uses of fd 3. >--- > usr.sbin/bsdinstall/scripts/script | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script >index daad8bd62376..324ea2dae083 100755 >--- a/usr.sbin/bsdinstall/scripts/script >+++ b/usr.sbin/bsdinstall/scripts/script >@@ -115,10 +115,10 @@ fi > bsdinstall mount > > # Fetch missing distribution files, if any >-exec 3>&1 >-export BSDINSTALL_DISTDIR=$(`dirname $0`/fetchmissingdists 2>&1 1>&3) >+exec 5>&1 >+export BSDINSTALL_DISTDIR=$(`dirname $0`/fetchmissingdists 2>&1 1>&5) > FETCH_RESULT=$? >-exec 3>&- >+exec 5>&- > > [ $FETCH_RESULT -ne 0 ] && error "Could not fetch remote distributions" > >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273148
:
244122
|
244175
|
244206