Minimal Root-FS frankensteinian style (part 3)

... continued from part 2.

now the frankenstein part.

as we cant run glibc/java based apps yet, we have to get them from somewhere.

the good thing is that busybox contains a very basic but working rpm command implementation.

cp glibc-*.rpm zlib-*.rpm $FSROOT
chroot $FSROOT /bin/sh
rpm -i /*.rpm
exit


if you want bash instead of the basic ash from busybox get the bash and ncurses, ncurses-base, ncurses-libs and ncurses-term rpms from the same source as the glibs packages.

cp ncurses-*.rpm bash-*.rpm $FSROOT
chroot $FSROOT /bin/sh
rpm -i /*.rpm
exit

chroot $FSROOT /bin/bash


the chroot with bash should work now !

--tbc

Comments