diff options
| -rw-r--r-- | meta/classes/kernel.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes/license.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes/sstate.bbclass | 2 | ||||
| -rw-r--r-- | meta/files/deploydir_readme.txt | 8 | ||||
| -rw-r--r-- | meta/lib/oe/rootfs.py | 4 |
5 files changed, 1 insertions, 17 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index ae8eaed119..3cd59fd749 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
| @@ -613,8 +613,6 @@ kernel_do_deploy() { | |||
| 613 | ln -sf ${base_name}.bin ${DEPLOYDIR}/${type} | 613 | ln -sf ${base_name}.bin ${DEPLOYDIR}/${type} |
| 614 | done | 614 | done |
| 615 | 615 | ||
| 616 | cp ${COREBASE}/meta/files/deploydir_readme.txt ${DEPLOYDIR}/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt | ||
| 617 | |||
| 618 | cd ${B} | 616 | cd ${B} |
| 619 | # Update deploy directory | 617 | # Update deploy directory |
| 620 | for type in ${KERNEL_IMAGETYPES} ; do | 618 | for type in ${KERNEL_IMAGETYPES} ; do |
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 9923aac4ec..11d45f3867 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
| @@ -279,7 +279,7 @@ def get_deployed_files(man_file): | |||
| 279 | """ | 279 | """ |
| 280 | 280 | ||
| 281 | dep_files = [] | 281 | dep_files = [] |
| 282 | excluded_files = ["README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt"] | 282 | excluded_files = [] |
| 283 | with open(man_file, "r") as manifest: | 283 | with open(man_file, "r") as manifest: |
| 284 | all_files = manifest.read() | 284 | all_files = manifest.read() |
| 285 | for f in all_files.splitlines(): | 285 | for f in all_files.splitlines(): |
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 465fdcf57d..23dda082ca 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
| @@ -30,8 +30,6 @@ SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/ ${DEPLOY_DIR | |||
| 30 | SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml" | 30 | SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml" |
| 31 | # Archive the sources for many architectures in one deploy folder | 31 | # Archive the sources for many architectures in one deploy folder |
| 32 | SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}" | 32 | SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}" |
| 33 | # Ignore overlapping README | ||
| 34 | SSTATE_DUPWHITELIST += "${DEPLOY_DIR}/sdk/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt" | ||
| 35 | 33 | ||
| 36 | SSTATE_SCAN_FILES ?= "*.la *-config *_config" | 34 | SSTATE_SCAN_FILES ?= "*.la *-config *_config" |
| 37 | SSTATE_SCAN_CMD ??= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES").split())}" \) -type f' | 35 | SSTATE_SCAN_CMD ??= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES").split())}" \) -type f' |
diff --git a/meta/files/deploydir_readme.txt b/meta/files/deploydir_readme.txt deleted file mode 100644 index 97ec1855f5..0000000000 --- a/meta/files/deploydir_readme.txt +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | Files in the deploy directory will not be re-created automatically if you | ||
| 2 | delete them. If you do delete a file, you will need to run: | ||
| 3 | |||
| 4 | bitbake -c clean TARGET | ||
| 5 | bitbake TARGET | ||
| 6 | |||
| 7 | where TARGET is the name of the appropriate package or target e.g. | ||
| 8 | "virtual/kernel" for the kernel, an image, etc. | ||
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 9c8a0ebb7e..cc111ff3c8 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
| @@ -189,10 +189,6 @@ class Rootfs(object, metaclass=ABCMeta): | |||
| 189 | 189 | ||
| 190 | shutil.copytree(postinst_intercepts_dir, intercepts_dir) | 190 | shutil.copytree(postinst_intercepts_dir, intercepts_dir) |
| 191 | 191 | ||
| 192 | shutil.copy(self.d.expand("${COREBASE}/meta/files/deploydir_readme.txt"), | ||
| 193 | self.deploydir + | ||
| 194 | "/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt") | ||
| 195 | |||
| 196 | execute_pre_post_process(self.d, pre_process_cmds) | 192 | execute_pre_post_process(self.d, pre_process_cmds) |
| 197 | 193 | ||
| 198 | if self.progress_reporter: | 194 | if self.progress_reporter: |
