Skip to contentSkip to conversation

Why there is a RCONFLICTS in wireless-regdb recipe file

DISCUSSION leimaohui 1 participant 1 message Aug 25, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

leimaohui

author
#1 lore raw

ping

Quoted 54 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of leimaohui
Sent: Friday, August 21, 2020 12:00 PM
To: [email protected]
Subject: [OE-core] Why there is a RCONFLICTS in wireless-regdb recipe file

Hi,

There is a RCONFLICTS in wireless-regdb recipe file:
-------------------------------------------
# Install static regulatory DB in /lib/firmware for kernel to load. # This requires Linux kernel >= v4.15.
# For kernel <= v4.14, inherit the kernel_wireless_regdb.bbclass # (in meta- networking) in kernel's recipe.
PACKAGES = "${PN}-static ${PN}"
RCONFLICTS_${PN} = "${PN}-static" <---Here

FILES_${PN}-static = " \
    ${nonarch_base_libdir}/firmware/regulatory.db \
    ${nonarch_base_libdir}/firmware/regulatory.db.p7s \ "

-------------------------------------------

But I'm not understand why this parameter has been added? There is no conflict file between these two packages?
Or for other reasons?

The following is the file list of wireless-regdb-static and wireless-regdb.
-------------------------------------------
/wireless-regdb/2020.04.29-r0/packages-split/wireless-regdb-static/

└── lib
    └── firmware
        ├── regulatory.db
        └── regulatory.db.p7s

2 directories, 2 files
-------------------------------------------
wireless-regdb/2020.04.29-r0/packages-split/wireless-regdb

├── etc
│   └── wireless-regdb
│       └── pubkeys
│           └── sforshee.key.pub.pem
└── usr
    └── lib
        └── crda
            └── regulatory.bin

6 directories, 2 files
-------------------------------------------

Best wished
Lei