From 7aa3ed5c37f3d47c3e794c58dc190c5110086151 Mon Sep 17 00:00:00 2001 From: Johan Korsnes Date: Thu, 29 Sep 2022 14:21:33 +0200 Subject: bitbake: bitbake: user-manual: inform about spaces in :remove Inform the reader that there should be no need for spaces in the value when using removal override `:remove`. Considering why spaces are used in the other override operators, it might seem obvious that they aren't needed for the removal operator. But, it seems like I'm not the first to be confused about this. Cc: Richard Purdie Cc: Quentin Schulz Cc: Ross Burton Cc: Nicolas Dechesne (Bitbake rev: 0a493a772f83436cbe909de93c157f4ab2d2d136) Signed-off-by: Johan Korsnes Signed-off-by: Alexandre Belloni Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index af9947199c..b533d9dc0e 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst @@ -330,7 +330,8 @@ Removal (Override Style Syntax) You can remove values from lists using the removal override style syntax. Specifying a value for removal causes all occurrences of that -value to be removed from the variable. +value to be removed from the variable. Unlike ":append" and ":prepend", +there is no need to add a leading or trailing space to the value. When you use this syntax, BitBake expects one or more strings. Surrounding spaces and spacing are preserved. Here is an example:: -- cgit v1.2.3-54-g00ecf