From 9653d1ed4e820b117b445935bf4df955a98d0d36 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Tue, 31 Mar 2015 18:03:53 +0200 Subject: [PATCH] Copying xnbd-client static binary to /run (#43) --- tree/init | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tree/init b/tree/init index d9e7b58..9fdeaaf 100755 --- a/tree/init +++ b/tree/init @@ -157,6 +157,11 @@ mount -o move /dev ${rootmnt}/dev # chown -v root:tty /dev/{console,ptmx,tty} +# Copy static xnbd-client to /run +mkdir -p ${rootmnt}/run/sbin/ +cp /usr/sbin/xnbd-client ${rootmnt}/run/sbin/ + + # Check if $init exists and is executable if [[ -x "${rootmnt}/${init}" ]] ; then # Unmount all other mounts so that the ram used by