Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf handle renaming and uncompressin...
details: https://anonhg.NetBSD.org/src/rev/65d3c877dfad
branches: trunk
changeset: 784793:65d3c877dfad
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 09 20:47:46 2013 +0000
description:
handle renaming and uncompressing the kernel
diffstat:
distrib/utils/embedded/conf/rpi.conf | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r cecf79aecb2e -r 65d3c877dfad distrib/utils/embedded/conf/rpi.conf
--- a/distrib/utils/embedded/conf/rpi.conf Sat Feb 09 20:47:06 2013 +0000
+++ b/distrib/utils/embedded/conf/rpi.conf Sat Feb 09 20:47:46 2013 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: rpi.conf,v 1.15 2013/02/09 11:07:26 jmcneill Exp $
+# $NetBSD: rpi.conf,v 1.16 2013/02/09 20:47:46 christos Exp $
# Raspberry Pi customization script used by mkimage
#
board=rpi
-kernel=$src/sys/arch/evbarm/compile/RPI/kernel.img
+kernel=$src/sys/arch/evbarm/compile/RPI/netbsd-RPI.bin
. ${DIR}/conf/evbarm.conf
@@ -42,7 +42,14 @@
fi
echo "${bar} installing kernel ${bar}"
- cp ${kernel} ${mnt}/boot
+ case ${kernel} in
+ *.gz)
+ gzcat ${kernel} > ${mnt}/boot/kernel.img
+ ;;
+ *)
+ cp ${kernel} ${mnt}/boot/kernel.img
+ ;;
+ esac
echo -n "${bar} installing firmware files:"
(cd ${mnt}/boot &&
Home |
Main Index |
Thread Index |
Old Index