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 <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Cc: Adam Miartus <adam.miartus@softhows.eu>
This commit is contained in:
Khem Raj 2020-06-09 18:25:08 -07:00
parent 33c8a0235b
commit 63ef209402

View File

@ -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