FreeBSD Bugzilla – Attachment 224198 Details for
Bug 250928
[PATCH] bsdinstall: fix distfetch while calling bsdinstall as script target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] bsdinstall: fix distfetch while calling bsdinstall as script target
D27121.diff (text/plain), 795 bytes, created by
VinÃcius Zavam
on 2021-04-17 20:12:12 UTC
(
hide
)
Description:
[PATCH] bsdinstall: fix distfetch while calling bsdinstall as script target
Filename:
MIME Type:
Creator:
VinÃcius Zavam
Created:
2021-04-17 20:12:12 UTC
Size:
795 bytes
patch
obsolete
>diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script >index 1d8e52a9d6..f565017426 100755 >--- a/usr.sbin/bsdinstall/scripts/script >+++ b/usr.sbin/bsdinstall/scripts/script >@@ -114,6 +114,21 @@ else > bsdinstall mount > fi > >+# Fetch distributions >+test -d "$BSDINSTALL_DISTDIR" || mkdir -p $BSDINSTALL_DISTDIR >+for set in $DISTRIBUTIONS; do >+ f_dprintf "Checking if $set must be fetched" >+ # Should any of the sets be missing, we fetch the distributions set >+ if [ ! -f "$BSDINSTALL_DISTDIR/$set" ]; then >+ f_dprintf "$set not found" >+ DISTRIBUTIONS_SET_MISSING=yes >+ fi >+done >+if [ "$DISTRIBUTIONS_SET_MISSING" == "yes" ]; then >+ f_dprintf "Calling distfetch" >+ bsdinstall distfetch || error >+fi >+ > # Unpack distributions > bsdinstall checksum > if [ -t 0 ]; then
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 250928
:
219428
| 224198