toybox-inittab: Get rid of bashism
PATCH 1/1 toybox-inittab: Get rid of bashism
Be explicit about copying the files, makes it simpler for dash to handle it
Signed-off-by Khem Raj <[email protected]>
Cc Martin Jansa <[email protected]>
Cc Adam Miartus <[email protected]>
--- meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb +2 -2
@@ -26,8 +26,8 @@ do_patch[noexec] = "1" do_configure() { # copy over files now to have a fresh start on each config - for file in ${SRC_URI}; do - cp ${WORKDIR}/${file/file:\/\//} ${S} + for f in inittab rcK rcS; do + cp ${WORKDIR}/$f ${S} done for config in ${PACKAGECONFIG_CONFARGS}; do
Signature · 1 line
2.27.0
Thanks, my world builds will be green again! .. maybe.. :)
Quoted 30 lines · Khem Raj
Be explicit about copying the files, makes it simpler for dash to handle it
Signed-off-by Khem Raj <[email protected]>Cc Martin Jansa <[email protected]>Cc Adam Miartus <[email protected]>--- meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-core/toybox/toybox-inittab_0.8.2.bb +2
-3@@ -26,8 +26,8 @@ do_patch[noexec] = "1" do_configure() { # copy over files now to have a fresh start on each config - for file in ${SRC_URI}; do - cp ${WORKDIR}/${file/file:\/\//} ${S} + for f in inittab rcK rcS; do + cp ${WORKDIR}/$f ${S} done for config in ${PACKAGECONFIG_CONFARGS}; do --2.27.0