[OE-core] [PATCH 1/1] xinput-calibrator: Add a dummy calibration file for qemu
Martin Jansa
martin.jansa at gmail.com
Thu Sep 17 15:09:09 UTC 2015
On Thu, Sep 17, 2015 at 04:00:38PM +0300, Jussi Kukkonen wrote:
> This prevents xinput_calibrator from popping up on every boot in qemu.
>
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
> .../xinput-calibrator/pointercal-xinput/pointercal-qemu.xinput | 2 ++
> meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 6 ++++++
> 2 files changed, 8 insertions(+)
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal-qemu.xinput
>
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal-qemu.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal-qemu.xinput
> new file mode 100644
> index 0000000..a816d6d
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal-qemu.xinput
> @@ -0,0 +1,2 @@
> +# Dummy pointercal.xinput file to prevent xinput_calibrator
> +# from running on qemu startup
NAK
Just put this in qemuall subdirectory and don't change the recipe.
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> index 65348c3..cab3d14 100644
> --- a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> @@ -5,8 +5,14 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
> PR = "r7"
>
> SRC_URI = "file://pointercal.xinput"
> +SRC_URI_append_qemuall = " file://pointercal-qemu.xinput"
> S = "${WORKDIR}"
>
> +do_install_prepend_qemuall () {
> + install -d ${D}${sysconfdir}/
> + install -m 0644 ${S}/pointercal-qemu.xinput ${D}${sysconfdir}/pointercal.xinput
> +}
> +
> do_install() {
> # Only install file if it has a contents
> if [ -s ${S}/pointercal.xinput ] &&\
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150917/5a543662/attachment-0002.sig>
More information about the Openembedded-core
mailing list