[Lunar-commits] r21950 - lunar/trunk/var/lib/lunar/functions
Auke Kok
sofar at lunar-linux.org
Thu Oct 26 17:17:24 CEST 2006
Author: sofar
Date: 2006-10-26 17:17:24 +0200 (Thu, 26 Oct 2006)
New Revision: 21950
Modified:
lunar/trunk/var/lib/lunar/functions/build.lunar
Log:
allow modules to tag themselves as PROFILE=yes modules skipping warnings when it does not install files
Modified: lunar/trunk/var/lib/lunar/functions/build.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/build.lunar 2006-10-26 15:00:28 UTC (rev 21949)
+++ lunar/trunk/var/lib/lunar/functions/build.lunar 2006-10-26 15:17:24 UTC (rev 21950)
@@ -272,7 +272,8 @@
default_post_build() {
debug_msg "default_post_build ($@)"
- if [ $(wc -l $INSTALLWATCHFILE | awk '{print$1}') == "0" ]; then
+ if [ $(wc -l $INSTALLWATCHFILE | awk '{print$1}') == "0" ] &&
+ [ "$PROFILE" != "yes" ] ; then
message "${PROBLEM_COLOR}WARNING: ${DEFAULT_COLOR}${FILE_COLOR}BUILD${DEFAULT_COLOR}${PROBLEM_COLOR} does not call prepare_install or installs zero files!${DEFAULT_COLOR}"
fi
More information about the Lunar-commits
mailing list