[PATCH] erofs-utils: use $EROFS_UTILS_VERSION, if set, as the version
Gao Xiang
hsiangkao at linux.alibaba.com
Fri Aug 16 16:31:54 AEST 2024
On 2024/8/16 11:05, Ahelenia Ziemiańska wrote:
> This lets downstreams embed the unpolluted downstream version;
> when building the Debian package (from gbp) the resulting binary yields
> $ mkfs.erofs
> <E> erofs: missing argument: FILE
> mkfs.erofs 1.8.1-fead89d91-dirty
> Try 'mkfs.erofs --help' for more information.
>
> Now, d/rules can
> export EROFS_UTILS_VERSION := $(shell IFS="$$IFS()" read -r _ v _ < debian/changelog; echo "$$v")
> yielding
> $ mkfs.erofs
> <E> erofs: missing argument: FILE
> mkfs.erofs 1.8.1-1
> Try 'mkfs.erofs --help' for more information.
>
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli at nabijaczleweli.xyz>
Thanks, applied.
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list