X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=functions%2Ffpkg;h=1fc6ec4e8b69054f3650c3c610eb95bb6417da4e;hb=c7bd664d1f2092b944b21a661822392a94292be4;hp=e1427664f07fa8c683f5403c3312ca67bf967502;hpb=a499ee54f561336f069a7f664a11c4970c9248bc;p=hvlinux.git diff --git a/functions/fpkg b/functions/fpkg index e142766..1fc6ec4 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -125,6 +125,8 @@ wget_wrapper() fi if [ ${wget_status} -ne 0 ]; then + echo "Error: wget returned error status ${wget_status}" >> \ + ${LFS_LOG_FILE} remove_partial_file ${LFS_PKG_DIR}/${SOURCE} return 1 fi @@ -134,6 +136,7 @@ wget_wrapper() # Just to be sure, test if downloaded file is really an archive: if ! is_archive ${LFS_PKG_DIR}/${SOURCE}.part; then # Partial failure if file is invalid. + echo "Error: failed archive test" >> ${LFS_LOG_FILE} remove_partial_file ${LFS_PKG_DIR}/${SOURCE} return 2 fi