[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-800-g50c74ca
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2015-07-30 11:21:52
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 50c74caff6ec3d44248b0799a1c08dc2ab3755f3 (commit)
from eda15f1fe18cc5823f063590e493292f67359765 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 50c74caff6ec3d44248b0799a1c08dc2ab3755f3
Author: Julien Boibessot <jul...@ar...>
Date: Thu Jul 30 13:16:40 2015 +0200
[BUILDROOT] post_build.sh: if kernel image is installed in /boot rootfs directory, then create a symlink apfxx-linux.bin for it, to be usable from U-Boot.
-----------------------------------------------------------------------
Summary of changes:
.../target/device/armadeus/rootfs/post_build.sh | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/buildroot/target/device/armadeus/rootfs/post_build.sh b/buildroot/target/device/armadeus/rootfs/post_build.sh
index 04c053d..26cb6d0 100755
--- a/buildroot/target/device/armadeus/rootfs/post_build.sh
+++ b/buildroot/target/device/armadeus/rootfs/post_build.sh
@@ -8,6 +8,15 @@ if [ ! -d "$1" ]; then
exit 1
fi
+# factorizable with post_image_creation.sh ?
+symlink_image()
+{
+ # $1 = dir, $2 = filename, $3 = symlink
+ if [ -f "$1/$2" ]; then
+ cd $1; ln -sf $2 $3
+ fi
+}
+
# /bin
mkdir -p $1/bin
# /dev
@@ -49,6 +58,8 @@ ln -sf /tmp $1/var/spool
ln -sf /tmp $1/var/tmp
# /boot
mkdir -p $1/boot
+symlink_image $1/boot uImage $2-linux.bin
+symlink_image $1/boot zImage $2-linux.bin
# Not using $2 because it can be changed for customers' BSP
echo "APF"${3//[!0-9]/} > $1/etc/machine
hooks/post-receive
--
armadeus
|