On Thursday 04 October 2007 14:01:57 Åsmund Grammeltvedt wrote: > On Wednesday 03 October 2007 14:05:15 Andrew Gaffney wrote: > > You should try using _pre3, because > > we always need testing :) Also, most of those 0-length files are > > supposed to be symlinks to /bin/busybox. Do you have a /bin/bb?
I added some debug lines to the end of append_busybox in gen_initramfs.sh:
--- genkernel.orig/gen_initramfs.sh 2007-10-04 10:30:39.679681270 +0200
+++ genkernel/gen_initramfs.sh 2007-10-08 10:42:40.916698573 +0200
@@ -55,7 +55,9 @@
done
cd "${TEMP}/initramfs-busybox-temp/"
+ find . -ls
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cat "${CPIO}" | cpio --verbose -t
rm -rf "${TEMP}/initramfs-busybox-temp" > /dev/null
}
This gives the following result. Looks like something strange is happening with
the hardlinks. Any ideas?
1611203150 0 drwxr-xr-x 3 root root 16 Oct 5 15:34 .
1879409654 0 drwxr-xr-x 2 root root 63 Oct 5 15:34 ./bin
1879409655 4 -rwxr-xr-x 1 root root 396 Oct 5 15:34
./bin/udhcpc.scripts
1879409656 456 -rw-r--r-- 1 root root 462914 Oct 5 15:34
./bin/busybox.tar.bz2
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02
./bin/busybox
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02 ./bin/[
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02 ./bin/ash
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02 ./bin/sh
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02
./bin/mount
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02
./bin/uname
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02
./bin/echo
1879409657 900 -rwxr-xr-x 8 root root 921344 Oct 3 16:02 ./bin/cut
drwxr-xr-x 11 root root 0 Oct 5 15:34 .
drwxr-xr-x 2 root root 0 Oct 5 15:34 dev
crw-rw---- 1 root root 5, 1 Oct 5 15:34 dev/console
crw-rw---- 1 root root 1, 3 Oct 5 15:34 dev/null
crw------- 1 root root 4, 1 Oct 5 15:34 dev/tty1
drwxr-xr-x 2 root root 0 Oct 5 15:34 bin
drwxr-xr-x 2 root root 0 Oct 5 15:34 etc
-rw-r--r-- 1 root root 97 Oct 5 15:34 etc/fstab
drwxr-xr-x 4 root root 0 Oct 5 15:34 usr
drwxr-xr-x 2 root root 0 Oct 5 15:34 usr/bin
drwxr-xr-x 2 root root 0 Oct 5 15:34 usr/sbin
drwxr-xr-x 2 root root 0 Oct 5 15:34 proc
drwxr-xr-x 2 root root 0 Oct 5 15:34 temp
drwxr-xr-x 2 root root 0 Oct 5 15:34 sys
drwxr-xr-x 3 root root 0 Oct 5 15:34 var
drwxr-xr-x 3 root root 0 Oct 5 15:34 var/lock
drwxr-xr-x 2 root root 0 Oct 5 15:34 var/lock/dmraid
drwxr-xr-x 2 root root 0 Oct 5 15:34 sbin
lrwxrwxrwx 1 root root 3 Oct 5 15:34 lib64 -> lib
drwxr-xr-x 5 root root 0 Oct 5 15:34 .
drwxr-xr-x 2 root root 0 Oct 5 15:34 etc
-rwxr-xr-x 1 root root 21679 Oct 5 15:34 etc/initrd.scripts
-rwxr-xr-x 1 root root 1705 Oct 5 15:34 etc/initrd.defaults
drwxr-xr-x 2 root root 0 Oct 5 15:34 sbin
-rwxr-xr-x 1 root root 2300 Oct 5 15:34 sbin/modprobe
lrwxrwxrwx 1 root root 7 Oct 5 15:34 sbin/init -> ../init
-rwxr-xr-x 1 root root 19245 Oct 5 15:34 init
lrwxrwxrwx 1 root root 4 Oct 5 15:34 linuxrc -> init
drwxr-xr-x 3 root root 0 Oct 5 15:34 lib
drwxr-xr-x 2 root root 0 Oct 5 15:34 lib/keymaps
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/1.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/azerty.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/2.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/be.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/3.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/bg.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/4.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/br-a.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/5.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/br-l.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/6.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/by.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/7.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/cf.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/8.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/croat.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/9.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/cz.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/10.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/de.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/11.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/dk.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/12.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/dvorak.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/13.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/es.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/14.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/et.map
-rwxr-xr-x 2 505 users 0 Mar 25 2003 lib/keymaps/15.map
-rwxr-xr-x 2 505 users 2823 Mar 25 2003 lib/keymaps/fi.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/16.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/fr.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/17.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/gr.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/18.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/hu.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/19.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/il.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/20.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/is.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/21.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/it.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/22.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/jp.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/23.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/la.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/24.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/lt.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/25.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/mk.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/26.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/nl.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/27.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/no.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/28.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/pl.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/29.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/pt.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/30.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/ro.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/31.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/ru.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/32.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/se.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/33.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/sg.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/34.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/sk-y.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/35.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/sk-z.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/36.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/slovene.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/37.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/trf.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/38.map
-rwxr-xr-x 2 505 users 7389 May 12 2001 lib/keymaps/trq.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/39.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/ua.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/40.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/uk.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/41.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/us.map
-rwxr-xr-x 2 505 users 0 May 12 2001 lib/keymaps/42.map
-rwxr-xr-x 2 505 users 2823 May 12 2001 lib/keymaps/wangbe.map
-rwxr-xr-x 1 1000 wheel 593 Sep 13067 blocks
0 2003 lib/keymaps/keymapList
drwxr-xr-x 3 root root 0 Oct 5 15:34 .
drwxr-xr-x 2 root root 0 Oct 5 15:34 bin
-rwxr-xr-x 1 root root 396 Oct 5 15:34 bin/udhcpc.scripts
-rw-r--r-- 1 root root 462914 Oct 5 15:34 bin/busybox.tar.bz2
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/echo
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/uname
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/mount
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/sh
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/ash
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/[
-rwxr-xr-x 8 root root 0 Oct 3 16:02 bin/busybox
-rwxr-xr-x 8 root root 921344 Oct 3 16:02 bin/cut
--
Åsmund Grammeltvedt
Snap TV
signature.asc
Description: This is a digitally signed message part.
