Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Currently dkms allows for most (excluding iokit for some reason) to be packaged with alternate names, ex: 'cray-lustre' instead of 'lustre'.
Since historically OBS packaging uses 'cray-lustre' we would like to deliver a more seamless upgrade path transitioning from OBS to external DKMS based builds.
For example the following should be able to build all the packages with cray-lustre based naming
git clean -dfx > /dev/null 2>&1 sh ./autogen.sh ./configure --enable-dist make lustre.spec lustre-dkms.spec dist Makefile mkdir -p my_pkgs/SOURCES cp -v rpm/* lustre-*.tar.* my_pkgs/SOURCES rpmbuild --define "_topdir $(pwd)/my_pkgs" --define 'lustre_name cray-lustre' --without servers --ba lustre-dkms.spec rpmbuild --define "_topdir $(pwd)/my_pkgs" --define 'lustre_name cray-lustre-client' --without servers --ba lustre.spec # Dist packages: find my_pkgs/RPMS my_pkgs/SRPMS -type f
Note the change in – define 'lustre_name cray-lustre-client' for lustre.spec and – define 'lustre_name cray-lustre' for lustre-dkms.spec due to the dkms build appending -client to the name.
The final packages names must align otherwise there are issues at installation due to package dependencies.