From dd2aa93b3c13d2c6464ef0fda59620c7dba450bb Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 18 May 2015 16:15:07 +0100 Subject: recipetool: add appendfile subcommand Locating which recipe provides a file in an image that you want to modify and then figuring out how to bbappend the recipe in order to replace it can be a tedious process. Thus, add a new appendfile subcommand to recipetool, providing the ability to create a bbappend file to add/replace any file in the target system. Without the -r option, it will search for the recipe packaging the specified file (using pkgdata from previously built recipes). The bbappend will be created at the appropriate path within the specified layer directory (which may or may not be in your bblayers.conf) or if one already exists it will be updated appropriately. Fairly extensive oe-selftest tests are also provided. Implements [YOCTO #6447]. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir | 1 + 1 file changed, 1 insertion(+) create mode 100644 meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir (limited to 'meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir') diff --git a/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir b/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir new file mode 100644 index 0000000000..d516b4951b --- /dev/null +++ b/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir @@ -0,0 +1 @@ +A file in a subdirectory -- cgit 1.2.3-korg