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@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@generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root@generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root@generic:/mnt/usr/freebsd-dist #
bsdinstall bails with the error.

then: root@generic:/mnt/usr/freebsd-dist # ls -lah
ls: .: Not a directory
root@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.

Attachment: signature.asc
Description: PGP signature

Reply via email to