hi, Am Dienstag, den 08.10.2013, 23:29 +0100 schrieb Dmitrijs Ledkovs: > On 8 October 2013 22:12, Patrick Seemann <[email protected]> wrote:
> cd $(mktemp -d)
> gzip -dc /path/to/ramdisk.img | cpio -ivd
> <edit touch/script>
> find . | cpio -o -H newc | gzip > ../new-ramdisk.img
whee ... how complex ...
(make sure to have the abootimg package installed)
ogra@anubis:~/Devel/tmp$ abootimg-unpack-initrd initrd.img
77994 blocks
ogra@anubis:~/Devel/tmp$ ls ramdisk/
bin conf etc init lib lib64 run sbin scripts
ogra@anubis:~/Devel/tmp$ abootimg-pack-initrd
initrd.img already exist.
ogra@anubis:~/Devel/tmp$ rm initrd.img
ogra@anubis:~/Devel/tmp$ abootimg-pack-initrd
ogra@anubis:~/Devel/tmp$ ls initrd.img
initrd.img
ciao
oli
signature.asc
Description: This is a digitally signed message part
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

