I had the same problem yesterday. I did: make clean-setool make setool make
The "make setool" installed the jar file: host Java: setool (out/host/common/obj/JAVA_LIBRARIES/setool_intermediates/classes) Install: out/host/linux-x86/framework/setool.jar and "make" built the final system. Richard --- On Thu, 21/3/13, [email protected] <[email protected]> wrote: > From: [email protected] <[email protected]> > Subject: error in building seandroid > To: [email protected] > Date: Thursday, 21 March, 2013, 9:43 > Dear SEandroid Maintainer, > > I have followed instructions on SEAndroid wiki. At the very > end of building, I met this: > ... > /bin/bash: setool: command not found > make: *** > [out/target/product/generic/obj/PACKAGING/systemimage_intermediates/system.img] > Error 127 > > After I add this > "$ANDROID_DIR/external/sepolicy/tools/setool/" into PATH, I > got this: > ... > setool: can't find setool.jar > Make sure setool.jar has been built. > make: *** > [out/target/product/generic/obj/PACKAGING/systemimage_intermediates/system.img] > Error 1 > > My questions: > > 1. Which kind of "setool" > does the Makefile want, a command file on building machine > or a file just been built? I have gone through Makefile, I > did not seen path prefix before "setool" > > 2. If the first choice, I'm > using Ubuntu Linux, which package shall I install? > > 3. If the second choice, how > to build it? I went through make log, and did not find clues > on building setool.jar > > > Thanks a lot > Zhi > > > -- > This message was distributed to subscribers of the > seandroid-list mailing list. > If you no longer wish to subscribe, send mail to [email protected] > with > the words "unsubscribe seandroid-list" without quotes as the > message. > -- This message was distributed to subscribers of the seandroid-list mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe seandroid-list" without quotes as the message.
