From: Peter Korsgaard Date: Sat, 08 Jul 2017 13:44:15 +0200 Subject: [Buildroot] [PATCH] execline: restore --shebangdir configure option In-Reply-To: <20170707170946.6321-1-eric.le.bihan.dev@free.fr> (Eric Le Bihan's message of "Fri, 7 Jul 2017 19:09:46 +0200") References: <20170707170946.6321-1-eric.le.bihan.dev@free.fr> Message-ID: <87d19bw3u8.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Eric" == Eric Le Bihan writes: > Passing the option --shebangdir=/usr/bin to the configuration script adds the > CPP definition EXECLINE_SHEBANGPREFIX to > execline-x.y.z/src/include/execline/config.h. It is used by `s6-rc-compile` from > the s6-rc package to set the path to the execline interpreter in the scripts it > generates. > So, when building the host variant of execline, this path will be used in the > target service scripts generated by the host variant of `s6-rc-compile`. If not > forced to /usr/bin, the location of the execline interpreter on the target, it > will default to $(HOST_DIR)/bin thus leading to non-working scripts on the > target. > So, restore this option for the host variant. > Signed-off-by: Eric Le Bihan Committed, thanks. -- Bye, Peter Korsgaard