poky/scripts/lib
Johannes Schneider 2a695b15aa devtool: un-/deploy-target: put deploylist into destdir
When deploying on devices with a RO root-filesystem, devtool would
fail on writing to the hard-coded "deploylist_path = '/.devtool'"

Since devtool already supports deploying to a different root-prefix
with: hostname[:destdir], we can make use of this guaranteed RW
location to place the deployment-list there.

Add the destdir parameter to the _prepare_remote_script function, to
construct the deploylist_path from it. For the 'undeploy' the same
host:destdir splitting logic is used as in 'deploy'.

Now it is possible to modify and build a recipe 'foo-bar' with
devtool, and have its ./image content deployed through:
$build> devtool deploy foo-bar target:/opt/development-overlay
Or removed again with:
$build> devtool undeploy foo-bar target:/opt/development-overlay

(From OE-Core rev: 216a4c4a4ee58222127c830ac56126bdbb95308d)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
..
build_perf buildperf: Tweak tooltip positioning for usability 2025-03-28 22:14:14 +00:00
checklayer yocto-check-layer: expect success for test_patches_upstream_status 2025-04-10 11:05:34 +01:00
devtool devtool: un-/deploy-target: put deploylist into destdir 2025-10-27 17:20:42 +00:00
recipetool recipetool/create_go: Tidy up a bit 2025-09-08 18:02:39 +01:00
resulttool resulttool/store: Fix permissions of logarchive 2024-11-26 13:40:30 +00:00
wic wic: add option to specify the diskid 2025-10-27 11:37:43 +00:00
argparse_oe.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
buildstats.py scripts/lib/buildstats: handle top-level build_stats not being complete 2023-03-25 09:39:28 +00:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scripts/scriptutils: silence warning about S not existing in emptysrc 2025-06-05 11:02:22 +01:00