Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
build
> _service:tar_git:0003-build-init_buildsystem-should-copy-also-symlink-qemu.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0003-build-init_buildsystem-should-copy-also-symlink-qemu.patch of Package build
From 5eecb708464c91ee7fcfbf95148ac09c578a6b91 Mon Sep 17 00:00:00 2001 From: Martin Mohring <martin.mohring@5eecosystems.com> Date: Tue, 28 Feb 2012 15:13:38 +0100 Subject: [PATCH] [build] init_buildsystem should copy also symlink qemu files --- init_buildsystem | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/init_buildsystem b/init_buildsystem index a70ec9a..85d97bf 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -414,27 +414,23 @@ copy_qemu() if check_copy_qemu; then for path in $BUILD_DIR/qemu-*; do - if file $path | grep -q static; then dest="$BUILD_ROOT/usr/bin/${path##*/}" - if [ -f "$path" -a ! -x "$dest" ]; then + if [ -e "$path" -a ! -x "$dest" ]; then echo -n " $path" # report copy #echo install -m755 "$path" "$dest" install -m755 "$path" "$dest" fi - fi done else for path in /usr/bin/qemu-*; do - if file $path | grep -q static; then dest="$BUILD_ROOT/usr/bin/${path##*/}" - if [ -f "$path" -a ! -x "$dest" ]; then + if [ -e "$path" -a ! -x "$dest" ]; then echo -n " $path" # report copy #echo install -m755 "$path" "$dest" install -m755 "$path" "$dest" fi - fi done if [ -e /usr/sbin/qemu-binfmt-conf.sh \ -- 1.7.10.3