diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index d9eff90160..2855941a7b 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -835,6 +835,10 @@ def check_sanity_everybuild(status, d): | |||
835 | if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True): | 835 | if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True): |
836 | status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n") | 836 | status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n") |
837 | 837 | ||
838 | # Check /bin/sh links to dash or bash | ||
839 | real_sh = os.path.realpath('/bin/sh') | ||
840 | if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'): | ||
841 | status.addresult("Error, /bin/sh links to %s, must be dash or bash\n" % real_sh) | ||
838 | 842 | ||
839 | def check_sanity(sanity_data): | 843 | def check_sanity(sanity_data): |
840 | class SanityStatus(object): | 844 | class SanityStatus(object): |