Bump version to 3.4.44
[genkernel.git] / gen_funcs.sh
index f1990140fee9a7482fbd43ecc82c349bc294ef60..4f0a0fc25f9cf44b83ae3bbc2e75562f84145c1a 100755 (executable)
@@ -298,6 +298,7 @@ copy_image_with_preserve() {
 
        # Old product might be a different version.  If so, we need to read
        # the symlink to see what it's name is, if there are symlinks.
+       cd ${KERNEL_OUTPUTDIR}
        if [ "${SYMLINK}" = '1' ]
        then
                print_info 4 "automatically managing symlinks and old images." 1 0
@@ -495,7 +496,7 @@ set_config_with_override() {
 }
 
 check_distfiles() {
-       for i in $BUSYBOX_SRCTAR $MULTIPATH_SRCTAR $LVM_SRCTAR $DMRAID_SRCTAR $E2FSPROGS_SRCTAR $ISCSI_SRCTAR $GPG_SRCTAR
+       for i in $BUSYBOX_SRCTAR $MULTIPATH_SRCTAR $LVM_SRCTAR $DMRAID_SRCTAR $ISCSI_SRCTAR $GPG_SRCTAR
        do
                if [ ! -f "${i}" ]
                then
@@ -508,7 +509,7 @@ find_kernel_binary() {
        local kernel_binary=$*
        local curdir=$(pwd)
 
-       cd "${KERNEL_DIR}"
+       cd "${KERNEL_OUTPUTDIR}"
        for i in ${kernel_binary}
        do
                if [ -e "${i}" ]