summaryrefslogtreecommitdiff
path: root/recipes-mozilla/firefox/firefox_%.bbappend
blob: bec4203978324550301503229fa4e7e74260ea60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://distribution.ini"

do_compile_append() {
    # disable annoying default browser check
    echo "lockPref(\"browser.shell.checkDefaultBrowser\", false);" >> ${WORKDIR}/vendor.js
}

do_install_append() {
    install -d ${D}${libdir}/${PN}/distribution
    install -m 0644 ${WORKDIR}/distribution.ini ${D}${libdir}/${PN}/distribution/
}

FILES_${PN} += ""