Jump to content


Photo

rootfs in openpli 3.0


  • Please log in to reply
5 replies to this topic

#1 Gandalf

  • Senior Member
  • 66 posts

0
Neutral

Posted 17 January 2013 - 11:41

Dear all,

I'm moving from 2.1 to 3.0 (yes, I know, not quite an early bird ;D). I can build successfuly, but I'm missiing rootfs. I liked it in 2.1 has it allowed me to browse through the 'target' filesystem without having to actuelly flash it and ftp there. I seem to recall I may have done a change to 2.1 to keep it after build, but I can't remember what it was (nor find it through 'search' :))

Can anybody tell me how to have rootfs (and just that, I do not want to keep everything though removing rm_work)

Thanks in advance,

G

Re: rootfs in openpli 3.0 #2 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 17 January 2013 - 15:53

Add "tar.gz" to IMAGE_TYPES to output a tarball of the rootfs in the images directory. You could also add squashfs or ext3 as type and mount the resulting image file directly via a loop device.

There was some switch to preserve the rootfs temporary dir after composing it, but I don't recall which. I also don't know if OE-core even still has that switch.
Real musicians never die - they just decompose

Re: rootfs in openpli 3.0 #3 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 17 January 2013 - 18:25

I don't use Openpi but Black Pole, but i think this method is valid for all the latest OE core.

The best method to have the rootfs again available at every time and build in my opinion is to mantain the "work" folders.

1) Edit makefile and delete the line:
@echo 'INHERIT += "rm_work"' >> $@
2) Delete all and rebuild the entire env
3) you will find the rootfs in image package of work directory:

ie: build-vuultimo/tmp/work/vuultimo-oe-linux/openpli-enigma2-image/rootfs

Re: rootfs in openpli 3.0 #4 Gandalf

  • Senior Member
  • 66 posts

0
Neutral

Posted 17 January 2013 - 19:38

Thanks Milo, will give it a try

Baciciosat, I believe that if yuo do that, you will have rootfs, but also, it will not clean all the 'bb' folders in temp, resulting in a very large disk space occupation

Cheers and thanks again to both

G

Re: rootfs in openpli 3.0 #5 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 18 January 2013 - 14:24

Thanks Milo, will give it a try

Baciciosat, I believe that if yuo do that, you will have rootfs, but also, it will not clean all the 'bb' folders in temp, resulting in a very large disk space occupation

Cheers and thanks again to both

G


Sorry i have not read well your first post where you explain that don't want to keep everything.

Re: rootfs in openpli 3.0 #6 eastnj

  • Member
  • 4 posts

0
Neutral

Posted 12 March 2014 - 13:53

"Add tar.gz to IMAGE_TYPES"

which file ?




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users