--- trunk/grubby/new-kernel-pkg 2013/10/21 13:52:07 2244 +++ trunk/grubby/new-kernel-pkg 2013/10/21 14:03:18 2259 @@ -116,6 +116,7 @@ then liloConfig="" bootPrefix=/boot + extlinuxConfig=$(readlink -f /etc/extlinux.conf 2>/dev/null) ubootDir=${UBOOT_DIR:-"/boot"} ubootScript=$ubootDir/${UBOOT_SCR:-"boot.scr"} ubootKList=${UBOOT_KLIST:-"klist.txt"} @@ -404,6 +405,7 @@ fi mv ${tmpKList} ${ubootDir}/${ubootKList} + [ -x /sbin/a-b-c ] && /sbin/a-b-c else [[ -n ${verbose} ]] && echo "uImage ${newversion} does not exist!" [ -f ${tmpKList} ] && rm -f ${tmpKList} @@ -530,6 +532,7 @@ [[ -n ${verbose} ]] && echo "copy uInitrd-${version} error, kernel not installed!" && exit fi echo ${version} >> ${ubootDir}/${ubootKList} + [ -x /sbin/a-b-c ] && /sbin/a-b-c else [[ -n ${verbose} ]] && echo "cannot make ${version} the default" fi