This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
meta-raspberrypi: update to latest on rocko #193
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...ecipes-connectivity/rvi/files/0001-rvi_ctl.template-get-rid-of-dependecy-on-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From b8f9a332e28f00035a37bd7eeb9e6471e998ab83 Mon Sep 17 00:00:00 2001 | ||
From: Mirza Krak <[email protected]> | ||
Date: Thu, 26 Jul 2018 14:27:36 +0200 | ||
Subject: [PATCH 1/1] rvi_ctl.template: get rid of dependecy on "install" | ||
|
||
Use mkdir instead which is most certanly already in place. | ||
|
||
Signed-off-by: Mirza Krak <[email protected]> | ||
--- | ||
scripts/rvi_ctl.template | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/scripts/rvi_ctl.template b/scripts/rvi_ctl.template | ||
index 82ae11b..d93fe2a 100644 | ||
--- a/scripts/rvi_ctl.template | ||
+++ b/scripts/rvi_ctl.template | ||
@@ -104,7 +104,7 @@ then | ||
else | ||
RUNDIR=${RVI_RUNDIR} | ||
fi | ||
- install -d --mode=0755 ${RUNDIR} | ||
+ mkdir -p ${RUNDIR} | ||
cd ${RUNDIR} | ||
RVI_LOGDIR="${RVI_LOGDIR}" ${RVI_BINDIR}/setup_gen rvi ${CONFIG_FILE} rvi | ||
) | ||
@@ -122,7 +122,7 @@ LAUNCH="${ERL} -boot ${RUNDIR}/rvi/start -sname ${SNAME} -config ${RUNDIR}/rvi/s | ||
|
||
case "${CMD}" in | ||
start) | ||
- install -D -d --mode 0755 ${RVI_LOGDIR} | ||
+ mkdir -p ${RVI_LOGDIR} | ||
exec run_erl -daemon ${RUNDIR}/ ${RVI_LOGDIR} "exec ${LAUNCH}" | ||
;; | ||
|
||
-- | ||
2.18.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule meta-raspberrypi
updated
from b58ccf to 9e0891
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need a chmod 755? (depends on what umask is active I guess - it's probably OK)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated with
mkdir -m 755