On Tue, Apr 27, 2021 at 1:36 PM John Allwine <[email protected]> wrote: > > Is there a way to drop into a bash terminal within the qemu environment to > debug? I ran the RootStock-NG.sh script and see the ignore/tmp.XXXXX > directory. Does something like this work? > > After running RootStock-NG.sh; > sudo chroot /path/to/ignore/tmp.XXX /bin/bash > > (I get a /lib/ld-linux-armhf.so.3: No such file or directory when I do that)
Before you chroot, make sure you mount sys, proc, dev/pts https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L171-L187 Then if host does not equal chroot architecture, copy qemu-arm-static under the chroot: https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L246-L253 At which case you can chroot in... Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYiTe%2B8TFkNUTsmnctS_dDZLKd4_dYR3OH%3DTVSTzFZnYPA%40mail.gmail.com.
