This patch adds two new options to catalyst embedded target 1. embedded/fstype 2. embedded/fsops instead of executing one script at the end of the emerging, it executes a specific script corresponding to the filesystem type in the embedded/fstype directive. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 41678 [details, diff] adds multiple filesystem targets to embedded targets
Created attachment 41679 [details, diff] adds support for jffs2 file that provides support for jffs2 targets
Created attachment 41680 [details, diff] adds support for squashfs adds support for squashfs to embedded targets
Created attachment 41681 [details, diff] adds support for jffs adds support for jffs to embedded targets
solar noted that I need to fix the copyright on those scripts. I will resubmit them shortly.
Created attachment 41692 [details, diff] adds support for jffs
Created attachment 41693 [details, diff] adds multiple filesystem targets to embedded targets fixed copyright in cramfs-runscript.sh
Created attachment 41694 [details, diff] adds support for jffs2 fixes copyright assignment
Created attachment 41695 [details, diff] adds support for squashfs fixes copyright assignment
where are those jffs and squashfs scripts suppossed to go?
I put them in ./targets/embedded/ with the other embedded scripts however, i was poking around some more places today, and I noticed the livecd script combined the functionality of the multiple file systems into one script. Would you prefer I hacked it to do that ?
please do
Created attachment 42370 [details, diff] adds multiple filesystem suppport for embedded targets this obsoletes all previous patches by congregating the filesystem building into a single script embedded-fs-runscript.sh
Created attachment 42371 [details, diff] builds filesystems for embedded targets this belongs in ./targets/embedded and replaces the multiple filesystem scripts that were originally submitted
Created attachment 42374 [details, diff] builds filesystems for embedded targets yeah... uploaded the test,working verison instead of the broken bug riddled version
Is there a status on where these patches are in getting commited to cvs ?
as soon as I get some free time from school
ok, the runscript is in cvs, but I need an updated patch for embedded.py
David: look at comment #18 I am basically waiting on this patch to roll a catalyst 1.1.2 out for public usage.
OK chris i'll roll this out for you today. I have a giant stack of features to add to catalyst but they all depend on this patch, so I have been holding back for two months since I filed this bug. It would be nice if I could get the official sources up to speed.
Created attachment 46135 [details, diff] Adds file system packaging support to catalyst embedded targets This is a diff of cvs as of today
Created attachment 46136 [details, diff] minor fixes for embedded-fs-runscript this patches to the embedded-fs-runscript.sh in cvs, it fixes a minor bug and updates the syntaxp of some catalyst variables.
David: The first patch doesn't apply /var/cvsroot/gentoo/src/catalyst $ patch -p0 --dry-run -i ~/downloads/catalyst-embeddedfs.patch patching file modules/embedded_target.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 8. Hunk #3 FAILED at 21. Hunk #4 FAILED at 51. Hunk #5 FAILED at 71. 5 out of 5 hunks FAILED -- saving rejects to file modules/embedded_target.py.rejpatching file targets/embedded/embedded-preclean-chroot.sh Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file targets/embedded/embedded-preclean-chroot.sh.rej patching file targets/embedded/embedded.sh Hunk #1 FAILED at 1. 1 out of 2 hunks FAILED -- saving rejects to file targets/embedded/embedded.sh.rej I didn't try the second one. Are you sure that was taken from an up-to-date version of CVS?
Created attachment 46148 [details, diff] minor fixes for embedded targets related code ok, i rm'd my catalyst directory and rechecked out to eliminate any possiblity of confusion. It appears as though all the patches have already been applied. I'm adding a final patch to touch up the minor changes in: embedded.sh, embedded_target.py, and embedded-fs-runscript.sh sorry about the confusion.
All of these should be added to catalyst CVS now. I'll resolve this once I get a new catalyst version out.
This has been in release catalyst for a while now.