marvell-gspi and marvell-sdio: move duplicated license in separate package/recipe
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 15 Jul 2010 05:05:27 +0000 (07:05 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Fri, 16 Jul 2010 14:24:20 +0000 (16:24 +0200)
commit098fdd2516376187580f413c96780ce879d673e3
treecb22d7305384cd91f79793c79e010f1ee757bfa9
parent145cb3f5d649181631493a3923cfbceed647297a
marvell-gspi and marvell-sdio: move duplicated license in separate package/recipe

Before moving the license we had:
Collected errors:
 * check_data_file_clashes: Package marvell-sdio-fw wants to install file .../rootfs/x11-sato2-image/lib/firmware/Marvell-Licence.txt
        But that file is already provided by package  * marvell-gspi-fw
 * opkg_install_cmd: Cannot install package task-base-extended.
in do_rootfs for machine bug under angstrom.

In bug.conf there is:
MACHINE_EXTRA_RRECOMMENDS = "marvell-gspi-fw marvell-sdio-fw kernel-modules"
  That installed both marvell-gspi-fw and marvell-sdio-fw
  each recipe had the same firmware license file(Marvell-Licence.txt)
The two identic license files were installed at the same location
  which led to the install issue mentioned above.

Moving the license in its own recipe/package removes the clash.

In order to fullfill the legal requirements of the license I used
  RDEPENDS in order to be shure that the license would be present if
  at least one of the firmwares are present
recipes/firmwares/marvell-gspi-fw_9.70.3-p37.bb
recipes/firmwares/marvell-license_9.70.3-p37.bb [new file with mode: 0644]
recipes/firmwares/marvell-sdio-fw_9.70.3-p37.bb