On 05/22/2017 04:37 PM, Daniel Lindgren wrote:
Hi Lukas, I just tried it and it seems like it's necessary to add the live folder explicitly to the cpio archive, i.e.: (cd ~/lbinitrd/binary; echo live$'\n'live/filesystem.squashfs | \ cpio -o -H newc) | gzip --fast > filesystem.cpio.gz That did the trick, successful boot! Thank you very much for your help! Cheers, Daniel
I'm glad you've got it working.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.