[Aboriginal] LFS 7.3 toybox issue

Rob Landley rob at landley.net
Sat Apr 20 22:48:23 PDT 2013


On 04/20/2013 11:48:42 AM, Prasanna Balan wrote:
> On 16/04/13, Prasanna Balan wrote:
> > Hello
> > I am struck in package shadow as it needs chmod -f. However chmod -f
> > isn't yet implemented in toybox. So I just pushed it above in
> > baseconfig-busybox. However, it still had the same issue. On further
> > search, I found that busybox is building chmod but toybox is
> > overwriting it.
> > Then it dawned that toybox doesn't parse baseconfig-busybox but  
> rather
> > does defconfig.
> >
> > Is there a reason why it is done this way or such issue never came
> > up??
> > Should I just patch toybox to do chmod as default n ???
> > There are points on both sides so I would like to get an opinion.
> >
> > prazzb
> 
> update: am way ahead.about 75 % done. kbd breaks with some weird flex
> issue.So does bash.Since we have bash already,I pushed it to the end.
> 
> Rob, could you give some extensive documentation on record-commands ??

I wrote some up at http://landley.net/aboriginal/FAQ.html#debug_logging  
(scroll down a bit to "Use the command logging wrapper").

Natively on target, there's an /sbin/record-commands script you can  
look at. Just go:

   record-commands your-command-line

And when it's done look at /tmp/record-commands-log.txt to see  
everything that got called, in order, with all their arguments.

The central trick in more/report-recorded-commands.sh is just:

   awk '{print $1}' logfile | sort -u

That gives you a list of the commands used in this log.

Rob
 1366523303.0


More information about the Aboriginal mailing list