should bsdinstall work?
tech-lists
tech-lists at zyxst.net
Wed May 5 12:01:10 UTC 2021
On Wed, May 05, 2021 at 04:48:13AM +0100, tech-lists wrote:
>On Tue, May 04, 2021 at 07:33:40PM -0700, Chris wrote:
>>Doesn't bsdinstall allow choosing different means of fetching the
>>dist files?
>
>iirc it gives an ftp list. I tried with ftp.uk and ftp.de.freebsd.org.
>
>>Last I remember using it, I was able to choose ftp http(s),
>>etc... Making, or using an already matched MANIFEST is fairly trivial.
>
>i'll try downloading a matched manifest by hand, next. Thanks for the
>tip.
Clarified there's no http/https in the download list, just ftp urls
I tried running bsdinstall in one console and fetch in another
root at generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
MANIFEST 782 B 2145 kBps
00s
root at generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root at generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root at generic:/mnt/usr/freebsd-dist #
bsdinstall bails with the error.
then:
root at generic:/mnt/usr/freebsd-dist # ls -lah
ls: .: Not a directory
root at generic:/mnt/usr/freebsd-dist #
clearly theres an issue with the bsdinstaller unmounting the chroot at
/mnt at the wrong point. If bsdinstall *should* work, I'll raise a PR
looking at man 8 bsdinstall, theres loads of parameters I can set, and
there's also logging. will read all this before making a PR.
--
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20210505/3ccf3160/attachment.sig>
More information about the freebsd-current
mailing list