On Thu, 25 Jun 2020 at 08:04, Rahul Kumar <[email protected]> wrote: > > Hi khem Raj, > > Create a patch to update.sample where it asks for /bin/sh instead > > I don't think we can create a patch to update.sample file because this is git > hidden file. > > .git/hooks/update.sample > > In my Patch fetching bzip2-tests.git repository as mentioned below Is there > any issue with below line. > SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ > git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests \ > > At my local system i am not able to face this issue but when this patch built > with open source auto-builder then reporting below error > do_package_qa: QA Issue: > /usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.sample contained in > package bzip2-ptest requires /usr/bin/sh, but no providers found in > RDEPENDS_bzip2-ptest? [file-rdeps] > step1b: ERROR: bzip2-1.0.8-r0 do_package_qa: QA run found fatal errors. > Please consider fixing them. > > I have stuck here. I am not aware why do_package_qa is reporting errors with > git hidden files.
Do you need to install the whole git repository? Typically this issue wouldn't be seen as .git would not be part of the installed package. Perhaps instead of running `cp -rf $(srcdir)/../git $(DESTDIR)/bzip2-tests` you need to copy a more specific subset of files & directories. -- Paul Barker Konsulko Group
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139904): https://lists.openembedded.org/g/openembedded-core/message/139904 Mute This Topic: https://lists.openembedded.org/mt/75044252/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
