Date: Fri, 19 Sep 2025 04:24:02 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: FreeBSD-CURRENT <freebsd-current@freebsd.org> Subject: uclcmd usage after creating /usr/local/etc/pkg/repos/FreeBSD.conf Message-ID: <b231cd1b-1fb7-48a9-a471-1fc78e4ff5d6@gmail.com>
index | next in thread | raw e-mail
Three commands, the first of which will create a FreeBSD.conf file if it
does not already exist:
echo "FreeBSD {url = example} FreeBSD-kmods {url = example}" >
/usr/local/etc/pkg/repos/FreeBSD.conf
uclcmd set --file /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD.url
'pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest'
uclcmd set --file /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD-kmods.url
'pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest'
Alternatively: if I use touch(1) to create an empty FreeBSD.conf file,
then can I use uclcmd (instead of echo(1)) to create the two nodes?
FreeBSD.url
FreeBSD-kmods.url
(I do want to use uclcmd with a file that is initially empty.)
Thanks
----
devel/uclcmd <https://www.freshports.org/devel/uclcmd/> usage
<https://pastebin.com/raw/r8gNNDQ5>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b231cd1b-1fb7-48a9-a471-1fc78e4ff5d6>
