mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-02 00:08:20 +00:00
Temporarily hardcode git commit
The build process may not have access to git directly. Long term, the build process provide a way to bake in the git info so that src.rpms are rebuildable.
This commit is contained in:
@@ -24,6 +24,7 @@ Provides perl xCAT libraries for core functionality. Required for all xCAT inst
|
||||
Includes xCAT::Table, xCAT::NodeRange, among others.
|
||||
|
||||
%define gitinfo %(git log -n 1 | head -n 1 | cut -f 2 -d ' ')
|
||||
%define gitinfo 06d7097f42eca03db70c9eb93b8abeaf8ca1c2be
|
||||
|
||||
%define zvm %(if [ "$zvm" = "1" ];then echo 1; else echo 0; fi)
|
||||
%define fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)
|
||||
|
Reference in New Issue
Block a user