Date: Sat, 24 Apr 2021 12:22:54 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-current <freebsd-current@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Despite the documentation, "etcupdate extract" handles -D destdir (and its contribution to the default workdir) Message-ID: <189610CE-CFE1-45D5-852B-D47603935F6F@yahoo.com> References: <189610CE-CFE1-45D5-852B-D47603935F6F.ref@yahoo.com>
index | next in thread | previous in thread | raw e-mail
# etcupdate -?
Illegal option -?
usage: etcupdate [-npBF] [-d workdir] [-r | -s source | -t tarball]
[-A patterns] [-D destdir] [-I patterns] [-L logfile]
[-M options]
etcupdate build [-B] [-d workdir] [-s source] [-L logfile] [-M options]
<tarball>
etcupdate diff [-d workdir] [-D destdir] [-I patterns] [-L logfile]
etcupdate extract [-B] [-d workdir] [-s source | -t tarball] [-L logfile]
[-M options]
etcupdate resolve [-p] [-d workdir] [-D destdir] [-L logfile]
etcupdate status [-d workdir] [-D destdir]
The "etcupdate extract" material does not show -D destdir as valid.
# man etcupdate
. . .
SYNOPSIS
etcupdate [-npBF] [-d workdir] [-r | -s source | -t tarball]
[-A patterns] [-D destdir] [-I patterns] [-L logfile]
[-M options]
etcupdate build [-B] [-d workdir] [-s source] [-L logfile] [-M options]
tarball
etcupdate diff [-d workdir] [-D destdir] [-I patterns] [-L logfile]
etcupdate extract [-B] [-d workdir] [-s source | -t tarball] [-L logfile]
[-M options]
etcupdate resolve [-p] [-d workdir] [-D destdir] [-L logfile]
etcupdate status [-d workdir] [-D destdir]
. . .
Again the "etcupdate extract" material does not show -D destdir as valid.
But I used it:
# etcupdate extract -D usr/obj/DESTDIRs/13_0R-CA7-for-chroot
and it created and filled in the workdir:
/usr/obj/DESTDIRs/13_0R-CA7-for-chroot/var/db/etcupdate/
I have not checked on if "etcupdate build" has a similar issue
vs. not.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?189610CE-CFE1-45D5-852B-D47603935F6F>
