[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/mkrpm: allow custom rpm package name

On 07/28/2014 11:19 AM, Olaf Hering wrote:
Even if xen is configured and compiled with different --prefix= so that
it operates entirely below $prefix, the resulting package from 'make
rpmball' is always called "xen.rpm".

Use an environment name to give a different name.
This can be used like this:

./configure --prefix=${prefix}
make rpmball XEN_RPMPKG_SUFFIX=${suffix} \
     BOOT_DIR=${prefix}/boot \
     CONFIG_DIR=${prefix}/etc \

The result will be "xen-bugN.rpm" instead of "xen.rpm". The benefit is that
many xen${suffix}.rpm packages can be installed at the same time.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

This sounds useful, but would it make more sense to name it "XEN_PKG_SUFFIX" (i.e., not specify RPM)? That way some motivated person (not necessarily you) could add the same functionality to the mkdeb script.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.