From d5a0a6b67632c99ea08e2782e8b7e345962470df Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 31 Mar 2014 17:37:54 -0600 Subject: documentation: Updates to get rid of PRINC variable. I did not eliminate this variable but rather changed the description to indicate that it has been deprecated and that the user should now use a PR Service to do this stuff. There were several areas in the YP manual set that used the variable in code. I just deleted those lines from the code. (From yocto-docs rev: 88a075e6306349e5f8c0d53b5288ef1e64956cd3) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 1 - .../dev-manual/dev-manual-common-tasks.xml | 2 - documentation/dev-manual/dev-manual-newbie.xml | 1 - documentation/ref-manual/migration.xml | 142 ++++++++++++++++++++- documentation/ref-manual/ref-variables.xml | 37 +++++- 5 files changed, 169 insertions(+), 14 deletions(-) (limited to 'documentation') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index fddf215..f681214 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -881,7 +881,6 @@ contains the following: FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - PRINC := "${@int(PRINC) + 2}" The append file needs to be in the meta-xyz/recipes-core/init-ifupdown directory. diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index cc7bbdb..3d5a9b6 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -3409,8 +3409,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://0001-calibrate-Add-printk-example.patch" - - PRINC := "${@int(PRINC) + 1}" The FILESEXTRAPATHS and SRC_URI diff --git a/documentation/dev-manual/dev-manual-newbie.xml b/documentation/dev-manual/dev-manual-newbie.xml index 3d4a9b2..6f58a57 100644 --- a/documentation/dev-manual/dev-manual-newbie.xml +++ b/documentation/dev-manual/dev-manual-newbie.xml @@ -701,7 +701,6 @@ recipes were referred to as packages - thus, the existence of several BitBake variables that are seemingly mis-named, (e.g. PR, - PRINC, PV, and PE). diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 3db3ea6..28f21b5 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -1112,16 +1112,150 @@ BitBake - Sample section. + The following changes have been made to + BitBake. + +
+ Python Definition substitutions + + + had some previously deprecated Python definitions within + its bb module removed. + You should use their sub-module counterparts instead: + + bb.MalformedUrl: + Use bb.fetch.MalformedUrl. + + bb.encodeurl: + Use bb.fetch: encodeurl. + + bb.decodeurl: + Use bb.fetch.decodeurl + + bb.mkdirhier: + Use bb.utils.mkdirhier. + + bb.movefile: + Use bb.utils.movefile. + + bb.copyfile: + Use bb.utils.copyfile. + + bb.which: + Use bb.utils.which. + + bb.vercmp_string: + Use bb.utils.vercmp_string. + + bb.vercmp: + Use bb.utils.vercmp. + + + +
+ +
+ SVK Fetcher + + + The SVK fetcher has been removed from BitBake. + +
-
- QA Warnings +
+ Changes to Variables - Sample section. + The following variables have changed. + For information on the OpenEmbedded build system variables, see the + "Variables Glossary" Chapter. + +
+ <filename>TMPDIR</filename> + + + TMPDIR + can no longer be on an NFS mount. + NFS does not offer full POSIX locking and inode consistency + and can cause unexpected issues if used to store + TMPDIR. + + + + The check for this does not occur on startup. + If TMPDIR is detected on an NFS mount, + an error occurs. + For more information on this restriction, see the + TMPDIR description in the + "Variables Glossary". + +
+ +
+ <filename>PRINC</filename> + + + The + PRINC + variable has been deprecated and triggers a warning if + detected during a build. + For + PR + increments on changes, use the PR service instead. + You can find out more about this service in the + "Working With a PR Service" + section in the Yocto Project Development Manual. + +
+ +
+ <filename>IMAGE_TYPES</filename> + + + The "sum.jffs2" option for + IMAGE_TYPES + has been replaced by the "jffs2.sum" option, which fits the + processing order. + +
+ +
+ <filename>COPY_LIC_MANIFEST</filename> + + + The COPY_LIC_MANIFEST variable must + now be set to "1" rather than any value in order to enable + it. + +
+ +
+ <filename>COPY_LIC_DIRS</filename> + + + The COPY_LIC_DIRS variable must + now be set to "1" rather than any value in order to enable + it. + +
+ +
+ <filename>PACKAGE_GROUP</filename> + + + The + PACKAGE_GROUP + variable has been renamed to + FEATURE_PACKAGES + to more accurately reflect its purpose. + You can still use PACKAGE_GROUP but + the OpenEmbedded build system produces a warning message when + it encounters the variable. + +
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 966f7c2..6d8e7aa 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5572,14 +5572,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" PRINC - Causes the PR + + + The PRINC variable has been deprecated + and triggers a warning if detected during a build. + For + PR + increments on changes, use the PR service instead. + You can find out more about this service in the + "Working With a PR Service" + section in the Yocto Project Development Manual. + + -- cgit v1.1