Skip to content

Commit

Permalink
Copying xnbd-client static binary to /run (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Mar 31, 2015
1 parent e39a0da commit 9653d1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tree/init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9653d1e

Please sign in to comment.