diff options
Diffstat (limited to 'meta/recipes-devtools/pseudo/pseudo.inc')
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc index 50e30064bd..e6512bc6e6 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | SUMMARY = "Pseudo gives fake root capabilities to a normal user" | 5 | SUMMARY = "Pseudo gives fake root capabilities to a normal user" |
6 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo" | 6 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo" |
7 | DESCRIPTION = "The pseudo utility offers a way to run commands in a virtualized root environment." | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a1d8023a6f953ac6ea4af765ff62d574" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a1d8023a6f953ac6ea4af765ff62d574" |
8 | SECTION = "base" | 9 | SECTION = "base" |
9 | LICENSE = "LGPL2.1" | 10 | LICENSE = "LGPL2.1" |
@@ -111,6 +112,19 @@ do_compile_prepend_class-nativesdk () { | |||
111 | fi | 112 | fi |
112 | } | 113 | } |
113 | 114 | ||
115 | do_compile_append_class-native () { | ||
116 | if [ '${@bb.data.inherits_class('uninative', d)}' = 'True' ]; then | ||
117 | for i in PSEUDO_PORT_UNIX_SYNCFS PSEUDO_PORT_UIDS_GENERIC PSEUDO_PORT_LINUX_NEWCLONE PSEUDO_PORT_LINUX_XATTR PSEUDO_PORT_LINUX_STATVFS; do | ||
118 | grep $i.1 ${S}/pseudo_ports.h | ||
119 | if [ $? != 0 ]; then | ||
120 | echo "$i not enabled in pseudo which is incompatible with uninative" | ||
121 | exit 1 | ||
122 | fi | ||
123 | done | ||
124 | fi | ||
125 | } | ||
126 | |||
127 | |||
114 | do_install () { | 128 | do_install () { |
115 | oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install | 129 | oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install |
116 | } | 130 | } |