All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Wilson-Lindberg <GWilson@sakuraus.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: How to patch a file in mysql recipe
Date: Wed, 18 Apr 2018 22:06:07 +0000	[thread overview]
Message-ID: <52faadaa064043c086cefaab5a3e17cf@sakuraus.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

I need to patch the my.cnf file that is part of the mysql/mariadb recipe. It lives in meta-openembedded/meta-oe/recipes-support/mysql/mariadb/my.cnf with the mariadb_5.5.52.bb file one level down.

I've set up a mariadb_5.5.52.bbappend file as:

FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"

SRC_URI += "file://my.cnf.patch"

# need to enable auto startup
SYSTEMD_AUTO_ENABLE_${PN}-server = "enable"


bitbake finds the my.cnf.patch file but reports that it can't find the my.cnf file to patch. I've set up patching of files that are downloaded as part of a source tree, but never tried to patch a file that is part of a recipe, and apparently I'm missing something. Is it possible to do this, and if so, can someone point out what I need to do to do it correctly?

[-- Attachment #2: Type: text/html, Size: 1345 bytes --]

             reply	other threads:[~2018-04-18 22:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 22:06 Greg Wilson-Lindberg [this message]
2018-04-20  5:39 ` How to patch a file in mysql recipe Martin Hundebøll
2018-04-20 20:48   ` Greg Wilson-Lindberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52faadaa064043c086cefaab5a3e17cf@sakuraus.com \
    --to=gwilson@sakuraus.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.