]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rpm: Fix the following error when run nativesdk-rpm in nativesdk environment.
authorLei Maohui <leimaohui@fujitsu.com>
Wed, 28 Feb 2024 07:41:41 +0000 (15:41 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Feb 2024 09:18:01 +0000 (09:18 +0000)
commitc9cb2eb2e662e19d68d27f2eec791986715c3abe
tree8c8c1e92e94712768c2d8b82043bbf7fe027a5a1
parente92d7dd55d16aa311a95c4e8bb4633e6ebb9900f
rpm: Fix the following error when run nativesdk-rpm in nativesdk environment.

  package busybox-inittab-1.36.1-r0.ubinux_x86_64 is intended for a different architecture
  package busybox-udhcpc-1.36.1-r0.core2_64 is intended for a different architecture
  package ldconfig-2.39+git0+312e159626-r0.core2_64 is intended for a different architecture
  ......

CMAKE_INSTALL_SYSCONFDIR is necessary. If not set
CMAKE_INSTALL_SYSCONFDIR, nativesdk-rpm will use the default setting:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-ubinuxsdk-linux/etc to find rpmrc file.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.19.1.bb