diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-30 13:49:54 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-31 08:30:19 -0700 |
commit | 874a6c7a994c5ed8753fa51d746ccc5dc10d176c (patch) | |
tree | b75798f5c4e2847d2c247dea25235ef692aa6114 /meta-oe/recipes-support/mailcap | |
parent | 48cd26a743f46785701e19e322edf5692a4e1a45 (diff) | |
download | meta-openembedded-874a6c7a994c5ed8753fa51d746ccc5dc10d176c.tar.gz |
mime-support: Use update-alternatives
mime.types is also provided by mailcap so use update-alternatives to
install is policy when both are added into image
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mailcap')
-rw-r--r-- | meta-oe/recipes-support/mailcap/mailcap_2.1.49.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mailcap/mailcap_2.1.49.bb b/meta-oe/recipes-support/mailcap/mailcap_2.1.49.bb index ff3047f325..537c458747 100644 --- a/meta-oe/recipes-support/mailcap/mailcap_2.1.49.bb +++ b/meta-oe/recipes-support/mailcap/mailcap_2.1.49.bb @@ -21,6 +21,11 @@ SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz" SRC_URI[md5sum] = "d5701a1a541383c0eda328f4a6518751" SRC_URI[sha256sum] = "f7381516bc1a937348efd1d0e14618e0a2afc5d59fe821dd248632d5601b59b5" +inherit update-alternatives + do_install() { oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir} } + +ALTERNATIVE_${PN} = "mime.types" +ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types" |