Hi Mert, > > (...) > > > > (cd ~/lbinitrd/binary; echo live$'\n'live/filesystem.squashfs | \ > > cpio -o -H newc) | gzip --fast > filesystem.cpio.gz > > > > (...) > (...) > > It shouldn't be necessary to add the whole live directory explicitly > unless you need some other files inside there. cpio command creates > the directory when adding the filesystem.squashfs file. The command above does not add the (whole) contents of the live directory, just the directory itself and the filesystem.squashfs file. While the cpio binary does create directories when required, the unpack process of the initrd in the kernel doesn't do so (verified with the current Debian stretch kernel), so adding it explicitly is required. Regards Lukas
Attachment:
pgpYe482ocvvo.pgp
Description: OpenPGP digital signature