> On Jul 27, 2015, at 9:34 AM, Martin Jansa <[email protected]> wrote: > > On Fri, Jul 24, 2015 at 02:18:21PM +0100, André Draszik wrote: >> From: André Draszik <[email protected]> >> >> rsnapshot is just some perl script(s), no machine specific binaries. > > NAK > > The recipe has bunch of RDEPENDS on TUNE_PKGARCH recipes so it cannot be > allarch. > > Recipe by default is TUNE_PKGARCH not MACHINE_ARCH as commit message may > suggest.
I understand the NAK since it has runtime dependencies on binary compiled
programs like rsync which are architecture dependent
due to different ISA and so on. However, from another perspective, its a script
which is invoking/executing a standard utility
much like its own interpreter say bash or perl whichever it needs and bash,
perl etc. are natively compiled binaries. going by this logic
we can really not have allarch package at all. So IMO runtime dependencies
for script based packages should not bar it from being a allarch package.
Since, I can still take the same ipk and install it on arm or mips
and it will work as long as they provide its dependencies like rsync perl etc.
>
>> ---
>> meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
>> b/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
>> index d680511..0593eef 100644
>> --- a/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
>> +++ b/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
>> @@ -29,7 +29,7 @@ SRC_URI =
>> "git://github.com/DrHyde/${BPN};branch=master;protocol=git \
>>
>> S = "${WORKDIR}/git"
>>
>> -inherit autotools
>> +inherit allarch autotools
>>
>> # Fix rsnapshot.conf.default:
>> # don't inject the host path into target configs.
>> --
>> 2.1.4
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> [email protected]
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: [email protected]
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
