[Buildroot] [PATCH 1/1] systemd: fix sed line in "sanitize path in units" hook

Ivan Sergeev vsergeev at kumunetworks.com
Sat Feb 15 02:46:01 UTC 2014


Please note that this is intended for the next branch with the systemd v207
bump (which I am very happy about! thanks!).


On Fri, Feb 14, 2014 at 6:42 PM, Ivan Sergeev <vsergeev at kumunetworks.com>wrote:

> The expanded SED variable already contains -e, so the extra -e was being
> interpreted as the sed command and causing sed to fail.
>
> Signed-off-by: Ivan Sergeev <vsergeev at kumunetworks.com>
> ---
>  package/systemd/systemd.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 9086045..36ef704 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -103,7 +103,7 @@ endef
>
>  define SYSTEMD_SANITIZE_PATH_IN_UNITS
>         find $(TARGET_DIR)/lib/systemd/system -name '*.service' \
> -               -exec $(SED) -e 's,$(HOST_DIR),,g' {} \;
> +               -exec $(SED) 's,$(HOST_DIR),,g' {} \;
>  endef
>
>  SYSTEMD_POST_INSTALL_TARGET_HOOKS += \
> --
> 1.8.5.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140214/3a8108e5/attachment-0002.html>


More information about the buildroot mailing list