Page 1 of 1

How is Kiosk's initrd made exactly?

Posted: 21 Nov 2013, 18:51
by claude
I assume its files are made into an archive with cpio and compressed with xz..
But what are the exact cpio and xz commands used to make and compress Kiosk's initrd.xz?

Re: How is Kiosk's initrd made exactly?

Posted: 23 Nov 2013, 00:36
by brokenman
Create a working directory at /tmp/unpacked and change into it then issue:
xz -d < initrd.xz | cpio -i

You can repack with this:
find | cpio -H newc -o | xz --check=crc32 --x86 --lzma2 > /tmp/initrd.xz

Re: How is Kiosk's initrd made exactly?

Posted: 24 Nov 2013, 16:59
by claude
Thanks so much!

Re: How is Kiosk's initrd made exactly?

Posted: 25 Nov 2013, 00:02
by freestyler
sweet, gonna have a look myself