Dne 19.1.2011 18:29, Jeff Mahoney napsal(a):
Now that we have arch and flavor information via the --config option, we can do things like automatically expand the kABI references.
This patch uses that information to expand the references into the build directory. Missing kABI references are not considered a fatal error.
Signed-off-by: Jeff Mahoney
--- [...] + + if test -n "$KABI"; then
If you set the variable to true/false, then you can simply write 'if $KABI; then', like in other places in the script.
+ echo "[ Expanding kABI references for $CONFIG ]" + rpm/modversions --unpack "$SP_BUILD_DIR"< \ + "kabi/$CONFIG_ARCH/symtypes-$CONFIG_FLAVOR"
Contrary to the changelog, there is no check if the symtypes file is actually present. Also, old branches do not have the modversions script.
+ else + echo "[ No kABI references for $CONFIG ]" + fi fi
Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org