With the patch below, the initramfs build finished without error.
There are no subdirectories of /proc and /sys in rootfs.cgz.

qemu-system-x86_64 -m 512 -kernel vmlinuz-3.14-1-amd64 -initrd 
debirf-minimal_jessie_3.14-1-amd64.cgz

booted fine.

Regards,
JH Chatenet

diff -Naur a/usr/bin/debirf b/usr/bin/debirf
--- a/usr/bin/debirf    2014-06-19 20:56:05.000000000 +0200
+++ b/usr/bin/debirf    2014-06-19 21:01:58.000000000 +0200
@@ -149,7 +149,7 @@
 
     # abort with a failure if our attempts to build the rootfs fail:
     set -o pipefail
-    fakeroot_if_needed bash -c ". $DEBIRF_COMMON && debirf_exec sh -c 'find * 
| cpio --create -H newc'" | gzip -9 > "$1"
+    fakeroot_if_needed bash -c ". $DEBIRF_COMMON && debirf_exec sh -c 
'FAKECHROOT_EXCLUDE_PATH=$(echo $FAKECHROOT_EXCLUDE_PATH|sed 
"s|\(:\)\?/dev:/proc:/sys||");find * | cpio --create -H newc'" | gzip -9 > "$1"
 }
 export -f pack_rootfs
 


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to