Re: [Rpm-maint] [rpm-software-management/rpm] rpm/rpmbuild vs Yocto BSP platform names (Issue #2578)

2023-07-28 Thread Florian Festi
Closed #2578 as completed via #2585.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2578#event-9946483467
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm/rpmbuild vs Yocto BSP platform names (Issue #2578)

2023-07-26 Thread Zoltán Böszörményi
@ffesti Brought the discussion from #2580 to here.

> This PR needs to be against master. Also a feature like this needs at least 
> some documentation. installplatform is a script no one ever should need to 
> look into. So hiding features in there is not acceptable. May be adding a 
> section to INSTALL is a good first step. We can move that to the docs/manual 
> later on if we feel it take up too much space there.

I added the documentation text in INSTALL after the default make install line.

> I am also wonder if we should allow passing the directory name.

I don't know. At this point it's still RFC both for rpm and the Yocto 
community. But it allows me to run rpmbuild straight on the target system.

> I might have missed something but it looks like there can only be a "custom" 
> platform.

One is enough. There is only a single target platform you can build for at a 
time.

See the complete patch at 
https://lists.openembedded.org/g/openembedded-core/message/184844

> So please re-open this against master.

See #2585  


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2578#issuecomment-1651772114
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] rpm/rpmbuild vs Yocto BSP platform names (Issue #2578)

2023-07-25 Thread Zoltán Böszörményi
Yocto is a cross-compiler system for building custom Linux based OSes.

The platform names in Yocto are more specific than basic CPU architecture 
names. They are called Board Support Packages (BSPs) and the build is  
customized for such a specific SoC board, e.g. on ARM, MIPS or other exotic 
CPUs. Even when building for an Intel compatible device, the BSP name is e.g. 
genericx86 or genericx86_64, or when using the meta-intel layer, it can be e.g. 
intel-corei7-64, intel_skylake_64 and others, and these names end up in 
`/etc/rpm/platform`.

The problem is that the corresponding subdirectory does not get created in 
`/usr/lib/rpm/platform` so `rpmbuild` fails to run on a Yocto based system with 
all the necessary SDK present to build an RPM package from sources.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2578
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint