How is Kiosk's initrd made exactly?

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
claude
Black ninja
Black ninja
Posts: 80
Joined: 02 Jan 2013, 15:16
Distribution: XFCE 3.1
Location: California

How is Kiosk's initrd made exactly?

Post#1 by claude » 21 Nov 2013, 18:51

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?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: How is Kiosk's initrd made exactly?

Post#2 by brokenman » 23 Nov 2013, 00:36

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

claude
Black ninja
Black ninja
Posts: 80
Joined: 02 Jan 2013, 15:16
Distribution: XFCE 3.1
Location: California

Re: How is Kiosk's initrd made exactly?

Post#3 by claude » 24 Nov 2013, 16:59

Thanks so much!

User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

Re: How is Kiosk's initrd made exactly?

Post#4 by freestyler » 25 Nov 2013, 00:02

sweet, gonna have a look myself
https://www.porteus-apps.org

Locked