← Back to team overview

ubuntu-phone team mailing list archive

Re: more than one scripts/touch file??

 

hi,
Am Dienstag, den 08.10.2013, 23:29 +0100 schrieb Dmitrijs Ledkovs:
> On 8 October 2013 22:12, Patrick Seemann <patsee14@xxxxxxxxx> 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

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References