Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
@twobob:
I re-configured and re-built BusyBox -
Built and installed a copy of V-0.2.2 -
And what happened?
I broke my own system, somehow.
I.E: I confirmed your own results with V-0.2.1 -
- - - - -
Terminal #1:
core2quad ~ $ ssh kpw
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# cd /mnt/us/extensions
[root@kindle extensions]# rm -fr system
[root@kindle extensions]#
Terminal #2:
core2quad ~ $ mkdir wrk
core2quad ~ $ cd wrk
Code:
core2quad wrk $ ls -l ../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
-rw-r--r-- 1 mszick mszick 2312755 2014-06-13 15:49 ../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
core2quad wrk $ tar --extract --file=../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
core2quad wrk $ ls
extensions
core2quad wrk $ scp -r extensions kpw:/mnt/us
100% 47 0.1KB/s 00:00
core2quad wrk $
Terminal #1:
[root@kindle extensions]# ls -l system/*
[root@kindle extensions]# ls -l system/usr/*
[root@kindle extensions]# cd
[root@kindle root]# export PATH=/mnt/us/extensions/system/bin:/mnt/us/extensions/system/sbin:/mnt/us/extensions/system/usr/bin:/
mnt/us/extensions/system/usr/sbin:$PATH
[root@kindle root]# echo $LD_LIBRARY_PATH
[root@kindle root]# busybox
BusyBox v1.17.1 (2013-01-08 21:45:52 PST) multi-call binary.
Spoiler:
Code:
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, acpid, addgroup, adduser, adjtimex, ash, awk, basename, bash, beep, bootchartd, brctl, cat, chgrp, chmod, chown,
chpasswd, chroot, cmp, cp, crond, crontab, cut, date, dd, delgroup, deluser, devmem, df, dhcprelay, diff, dirname,
dmesg, dnsdomainname, du, dumpleases, echo, env, expr, false, fbset, fbsplash, fdisk, fgconsole, fgrep, find, flock,
freeramdisk, fsync, ftpd, getty, grep, gunzip, gzip, hd, head, hexdump, hostname, hwclock, id, ifconfig, ifdown,
ifenslave, ifplugd, ifup, install, ionice, ip, kbd_mode, kill, killall, klogd, less, ln, logger, login, logname,
losetup, lpd, lpq, lpr, ls, lspci, lsusb, lzop, lzopcat, makedevs, makemime, man, md5sum, microcom, mkdir, mkfifo,
mknod, mktemp, more, mv, nc, netstat, nice, nslookup, passwd, pgrep, pidof, ping, pipe_progress, pivot_root, pkill,
popmaildir, printf, pwd, rdate, rdev, readlink, realpath, reformime, renice, rev, rm, rmdir, route, rtcwake, run-parts,
scriptreplay, sed, sendmail, seq, setfont, sh, sha256sum, sha512sum, showkey, sleep, smemcap, sort, start-stop-daemon,
stat, strings, stty, su, sync, tac, tail, tar, tee, telnet, test, time, timeout, touch, tr, traceroute, true, tty,
tunctl, udhcpc, udhcpd, uname, uniq, unlzop, unxz, unzip, uptime, usleep, vi, volname, wall, wc, wget, which, who,
whoami, xargs, xz, xzcat, yes, zcat
[root@kindle root]# ls -l /mnt/us/extensions/system/bin/busybox
Code:
-rwxr-xr-x 1 root root 572596 Oct 19 13:08 /mnt/us/extensions/system/bin/busybox
[root@kindle root]# date
Fri Oct 19 13:18:46 CEST 2012
[root@kindle root]# /mnt/us/extensions/system/bin/busybox
-sh: /mnt/us/extensions/system/bin/busybox: not found
[root@kindle root]# cd /mnt/us/extensions/system/bin
[root@kindle bin]# ./busybox
-sh: ./busybox: not found
[root@kindle bin]# ls -l ./busybox
-rwxr-xr-x 1 root root 572596 Oct 19 13:08 ./busybox
[root@kindle root]#
Will be working on that this weekend.
|