base-hw: preserve symbolic link bin/core

In this case "mv A B" works slightly different than "cp A B; rm A" as
symbolic links come into play. The statements should copy the contents
of A into the symboliv link at B (preserving it as is) and remove A. The
mv would replace the link B by the binary A.

Fixes #805.
This commit is contained in:
Stefan Kalkowski 2013-07-12 12:50:45 +02:00 committed by Christian Helmuth
parent 76d449ebe6
commit e717ad656f
1 changed files with 2 additions and 1 deletions

View File

@ -207,7 +207,8 @@ proc build_boot_image {binaries} {
}
# retrieve stand-alone core
exec mv core/core.standalone bin/core
exec cp core/core.standalone bin/core
exec rm core/core.standalone
}