summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/migration-2.1.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-04-16 18:27:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-23 16:39:03 +0100
commitc3c6de21876aad811e08538544c8fe76d22ccd09 (patch)
treee22ee00a9c1ec588965f32050a42e05946bc9f71 /documentation/ref-manual/migration-2.1.rst
parent773536c333248214f8f41eff698d8bfd3c687249 (diff)
downloadpoky-c3c6de21876aad811e08538544c8fe76d22ccd09.tar.gz
manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed by code insertion. Automatically substituted through the command: sed -i -z "s/:\n\s*::/::/g" file.rst This generates identical HTML output. (From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/migration-2.1.rst')
-rw-r--r--documentation/ref-manual/migration-2.1.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/documentation/ref-manual/migration-2.1.rst b/documentation/ref-manual/migration-2.1.rst
index 1eb9ab5525..32d193f0ff 100644
--- a/documentation/ref-manual/migration-2.1.rst
+++ b/documentation/ref-manual/migration-2.1.rst
@@ -42,8 +42,7 @@ defaulted to False if not specified. Now, however, no default exists so
42one must be specified. You must change any ``getVar()`` calls that do 42one must be specified. You must change any ``getVar()`` calls that do
43not specify the final expand parameter to calls that do specify the 43not specify the final expand parameter to calls that do specify the
44parameter. You can run the following ``sed`` command at the base of a 44parameter. You can run the following ``sed`` command at the base of a
45layer to make this change: 45layer to make this change::
46::
47 46
48 sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar *` 47 sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar *`
49 sed -e 's:\(\.getVarFlag([^,()]*,[^,()]*\)):\1, False):g' -i `grep -ril getVarFlag *` 48 sed -e 's:\(\.getVarFlag([^,()]*,[^,()]*\)):\1, False):g' -i `grep -ril getVarFlag *`
@@ -285,8 +284,7 @@ The following changes have been made for the Poky distribution:
285 Any recipe that needs to opt-out of having the "--disable-static" 284 Any recipe that needs to opt-out of having the "--disable-static"
286 option specified on the configure command line either because it is 285 option specified on the configure command line either because it is
287 not a supported option for the configure script or because static 286 not a supported option for the configure script or because static
288 libraries are needed should set the following variable: 287 libraries are needed should set the following variable::
289 ::
290 288
291 DISABLE_STATIC = "" 289 DISABLE_STATIC = ""
292 290
@@ -369,8 +367,7 @@ These additional changes exist:
369- Previously, the following list of packages were removed if 367- Previously, the following list of packages were removed if
370 package-management was not in 368 package-management was not in
371 :term:`IMAGE_FEATURES`, regardless of any 369 :term:`IMAGE_FEATURES`, regardless of any
372 dependencies: 370 dependencies::
373 ::
374 371
375 update-rc.d 372 update-rc.d
376 base-passwd 373 base-passwd