diff options
Diffstat (limited to 'yocto-poky/meta/classes/staging.bbclass')
-rw-r--r-- | yocto-poky/meta/classes/staging.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/yocto-poky/meta/classes/staging.bbclass b/yocto-poky/meta/classes/staging.bbclass index 967eddd60..bc5dfa81a 100644 --- a/yocto-poky/meta/classes/staging.bbclass +++ b/yocto-poky/meta/classes/staging.bbclass @@ -127,7 +127,10 @@ python sysroot_strip () { elf_file = isELF(file) if elf_file & 1: if elf_file & 2: - bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (file[len(dvar):], pn)) + if 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn, True) or "").split(): + bb.note("Skipping file %s from %s for already-stripped QA test" % (file[len(dvar):], pn)) + else: + bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (file[len(dvar):], pn)) continue if s.st_ino in inodes: @@ -158,7 +161,7 @@ do_populate_sysroot[umask] = "022" addtask populate_sysroot after do_install SYSROOT_PREPROCESS_FUNCS ?= "" -SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir/" +SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir" SYSROOT_LOCK = "${STAGING_DIR}/staging.lock" # We clean out any existing sstate from the sysroot if we rerun configure |