Created attachment 222651 [details]
patch lifted from phab D28004
this enables non-amd64 architectures, which were always broken,
and fixes > 12, which is broken since BSD grep required tighter
If people actually use datasets under:
- $ZROOT/iocell/jail/$UUID/root or $ZROOT/iocell/jail/$UUID/data
then I need to refine the regex a little. It's not clear to me if
that's expected usage.
I can confirm that this fixes the build on powerpc64/12.
Bartek - iocell is broken on all arm*, ppc, and 13+ at present. I'd like to commit it next week unless you have objections.
A commit in branch main references this bug:
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2021-05-30 13:35:18 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2021-05-30 13:35:18 +0000
sysutils/iocell: enable more architectures & handle new BSD grep
While iocell is a shell script and can work cross-platform, its evident
that nobody has actually tried to use it on anything other than amd64.
Use tighter egrep(1) invocations, that match the new default BSD grep
now in 13.0+ and up.
Approved by: maintainer timeout
Tested by: linimon
Differential Revision: https://reviews.freebsd.org/D28004
sysutils/iocell/Makefile | 6 +++++-
sysutils/iocell/distinfo | 4 +++-
2 files changed, 8 insertions(+), 2 deletions(-)