Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701284 - sys-fs/erofs-utils-1.3 - Userspace tools for EROFS images
Summary: sys-fs/erofs-utils-1.3 - Userspace tools for EROFS images
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-11-26 23:39 UTC by David Michael
Modified: 2022-01-05 17:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
erofs-utils-1.0.ebuild (erofs-utils-1.0.ebuild,504 bytes, text/plain)
2019-11-26 23:40 UTC, David Michael
Details
erofs-utils-9999.ebuild (erofs-utils-9999.ebuild,602 bytes, text/plain)
2019-11-26 23:41 UTC, David Michael
Details
erofs-utils-1.1.ebuild (erofs-utils-1.1.ebuild,609 bytes, text/plain)
2020-04-13 16:57 UTC, David Michael
Details
erofs-utils-9999.ebuild (erofs-utils-9999.ebuild,677 bytes, text/plain)
2020-05-31 14:04 UTC, David Michael
Details
erofs-utils-1.1.ebuild (erofs-utils-1.1.ebuild,616 bytes, text/plain)
2020-08-31 14:01 UTC, David Michael
Details
erofs-utils-1.2.ebuild (erofs-utils-1.2.ebuild,930 bytes, text/plain)
2020-12-10 20:06 UTC, David Michael
Details
erofs-utils-9999.ebuild (erofs-utils-9999.ebuild,730 bytes, text/plain)
2020-12-10 20:08 UTC, David Michael
Details
erofs-utils-1.2.1.ebuild (erofs-utils-1.2.1.ebuild,735 bytes, text/plain)
2021-01-09 21:43 UTC, David Michael
Details
erofs-utils-1.3.ebuild (erofs-utils-1.3.ebuild,825 bytes, text/plain)
2021-05-31 17:30 UTC, David Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2019-11-26 23:39:44 UTC
Linux 5.4 moved EROFS out of staging, so I'd be interested in trying it for read-only images.  This request is for the userspace utilities package, which is currently just mkfs.erofs.  Here is the 1.0 announcement:

https://lwn.net/Articles/803046/

I'll attach a live ebuild and one for 1.0.  The lz4 flag adds the lz4 and lz4hc compressors.  The uuid flag adds support for file system UUIDs.

Reproducible: Always
Comment 1 David Michael 2019-11-26 23:40:55 UTC
Created attachment 597574 [details]
erofs-utils-1.0.ebuild
Comment 2 David Michael 2019-11-26 23:41:24 UTC
Created attachment 597576 [details]
erofs-utils-9999.ebuild
Comment 3 David Michael 2020-01-03 16:48:35 UTC
If no developers want to add this, I can take it as a proxy maintainer (#608796).  The code isn't changing much--see the Git link.  The package is available in at least Debian, Arch, and openSUSE, and I would appreciate being able to install it on Gentoo as well.
Comment 4 David Michael 2020-04-13 16:57:26 UTC
Created attachment 632708 [details]
erofs-utils-1.1.ebuild

Here is another ebuild for today's 1.1 release.
Comment 5 David Michael 2020-05-31 14:04:49 UTC
Created attachment 642876 [details]
erofs-utils-9999.ebuild

Here is an updated live ebuild that adds support for the new SELinux feature.
Comment 6 David Michael 2020-08-31 14:01:56 UTC
Created attachment 657616 [details]
erofs-utils-1.1.ebuild

Added ~riscv since lz4 was finally keyworded for riscv.
Comment 7 Alec Moskvin 2020-08-31 16:12:55 UTC
(In reply to David Michael from comment #3)
> If no developers want to add this, I can take it as a proxy maintainer

Hi David,

Have you seen the Proxy Maintainer guide?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide

It says should should either do a Github PR, send the patch to the list or have proxy-maint CC'd on the bug, and I don't think you've done either.
Comment 8 David Michael 2020-08-31 16:41:19 UTC
(In reply to Alec Moskvin from comment #7)
> It says should should either do a Github PR, send the patch to the list or
> have proxy-maint CC'd on the bug, and I don't think you've done either.

Yeah, I've lost interest.  Someone else can do it.  I'll maintain the ebuilds here as attachments so there is a remote source to download.
Comment 9 Reva Denis 2020-12-05 14:16:50 UTC
>Someone else can do it.
Yes. Good news: I'm added that ebuild within GURU repository project ( https://wiki.gentoo.org/wiki/Project:GURU )
Within few days it'll be added to master branch with ~ keywords and can be easily obtained with something like# eselect repository enable guru
Comment 10 Reva Denis 2020-12-05 14:18:16 UTC
David Michael, If you notice update you may post it here, mail me or even become a GURU developer by yourself :)
Comment 11 David Michael 2020-12-10 20:06:00 UTC
Created attachment 677704 [details]
erofs-utils-1.2.ebuild

Here is the 1.2 release ebuild.  It needs a patch to support -fno-common:
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=ac0d13efa1fe673e677343cda4795d820500da6b
Comment 12 David Michael 2020-12-10 20:08:26 UTC
Created attachment 677719 [details]
erofs-utils-9999.ebuild

This updates the live ebuild with the new features.  It doesn't need the patch from 1.2, since that's in the experimental branch.  It actually does need the sed call to fix selinux+fuse at the moment, since that is not addressed upstream.  I dropped it here anyway assuming it will be fixed relatively soon.
Comment 13 Reva Denis 2020-12-11 04:49:21 UTC
Thank you for you business.
I've just sent it in GURU: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=828be86ca51385916354962961fb259450aaaafa
Comment 14 David Michael 2021-01-09 21:43:05 UTC
Created attachment 682180 [details]
erofs-utils-1.2.1.ebuild

The 1.2.1 release mostly just applies build fixes that were backported onto 1.2.
Comment 16 David Michael 2021-05-31 17:30:39 UTC
Created attachment 712905 [details]
erofs-utils-1.3.ebuild

The only change this release is to drop the FUSE man page when the command isn't installed.  This could also be done in the live ebuild since upstream branches are all currently pointed at the 1.3 tag, but I'll probably send a patch for it some time.
Comment 17 Larry the Git Cow gentoo-dev 2022-01-05 17:12:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8

commit 1862a7a9f8249d1ac3a6bc8b3b8b90cf91d56fd8
Author:     WANG Xuerui <git@xen0n.name>
AuthorDate: 2021-10-19 04:38:34 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-01-05 17:10:05 +0000

    sys-fs/erofs-utils: new ebuild
    
    Signed-off-by: WANG Xuerui <git@xen0n.name>
    Closes: https://github.com/gentoo/gentoo/pull/22633
    Closes: https://bugs.gentoo.org/701284
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-fs/erofs-utils/Manifest               |  1 +
 sys-fs/erofs-utils/erofs-utils-1.3.ebuild | 38 +++++++++++++++++++++++++++++++
 sys-fs/erofs-utils/metadata.xml           | 16 +++++++++++++
 3 files changed, 55 insertions(+)
Comment 18 Larry the Git Cow gentoo-dev 2022-01-05 17:16:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b84617d3319c2b137a689e4da009b82aa4df31ba

commit b84617d3319c2b137a689e4da009b82aa4df31ba
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-01-05 17:15:18 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-01-05 17:15:22 +0000

    sys-fs/erofs-utils: treeclean, moved to ::gentoo
    
    Closes: https://bugs.gentoo.org/781623
    Bug: https://bugs.gentoo.org/701284
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-fs/erofs-utils/Manifest                        |  2 --
 sys-fs/erofs-utils/erofs-utils-1.2.1.ebuild        | 41 ---------------------
 sys-fs/erofs-utils/erofs-utils-1.3.ebuild          | 42 ----------------------
 .../files/erofs-utils-1.2.1-no-Werror.patch        | 13 -------
 sys-fs/erofs-utils/metadata.xml                    | 32 -----------------
 5 files changed, 130 deletions(-)