device files

cd /chroot/dev
mknod -m 444 urandom c 1 9

libraries

naredi direktorije

ldd ircd | awk '{print $3}' | sed '/^$/d' | xargs -I % dirname % | xargs -I % mkdir -p %

skopiraj knjiznice

ldd ircd | awk '{print $3}' | sed '/^$/d' | xargs -I % cp % /chroot%

nagradno vprasanje: zakaj tole ne dela?

ldd ircd | awk '{print $3}' | sed '/^$/d' | xargs -I % mkdir -p `dirname %`