Module Name: src Committed By: christos Date: Fri Feb 8 19:16:53 UTC 2013
Modified Files: src/distrib/utils/embedded/conf: rpi.conf Log Message: change to take the full kernel path To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/embedded/conf/rpi.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/utils/embedded/conf/rpi.conf diff -u src/distrib/utils/embedded/conf/rpi.conf:1.13 src/distrib/utils/embedded/conf/rpi.conf:1.14 --- src/distrib/utils/embedded/conf/rpi.conf:1.13 Sun Feb 3 04:16:25 2013 +++ src/distrib/utils/embedded/conf/rpi.conf Fri Feb 8 14:16:53 2013 @@ -1,10 +1,9 @@ -# $NetBSD: rpi.conf,v 1.13 2013/02/03 09:16:25 christos Exp $ +# $NetBSD: rpi.conf,v 1.14 2013/02/08 19:16:53 christos Exp $ # Raspberry Pi customization script used by mkimage # board=rpi -kernelconf=RPI -kerneldir=$src/sys/arch/evbarm/compile/${kernelconf} +kernel=$src/sys/arch/evbarm/compile/RPI/kernel.img . ${DIR}/conf/evbarm.conf @@ -37,13 +36,13 @@ root=ld0a console=fb #fb=1280x1024 # to select a mode, otherwise try EDID #fb=disable # to disable fb completely EOF - if [ ! -f ${kerneldir}/kernel.img ]; then - echo ${PROG}: Missing ${kerneldir}/kernel.img 1>&2 + if [ ! -f ${kernel} ]; then + echo ${PROG}: Missing ${kernel} 1>&2 exit 1 fi echo "${bar} installing kernel ${bar}" - cp ${kerneldir}/kernel.img ${mnt}/boot + cp ${kernel ${mnt}/boot echo -n "${bar} installing firmware files:" (cd ${mnt}/boot &&