Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67289

Summary: Adding multiple filesystem support to embedded targets
Product: Gentoo Hosted Projects Reporter: David Bryson (RETIRED) <mutex>
Component: CatalystAssignee: Gentoo Catalyst Developers <catalyst>
Status: RESOLVED FIXED    
Severity: enhancement CC: dberkholz, embedded
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adds multiple filesystem targets to embedded targets
adds support for jffs2
adds support for squashfs
adds support for jffs
adds support for jffs
adds multiple filesystem targets to embedded targets
adds support for jffs2
adds support for squashfs
adds multiple filesystem suppport for embedded targets
builds filesystems for embedded targets
builds filesystems for embedded targets
Adds file system packaging support to catalyst embedded targets
minor fixes for embedded-fs-runscript
minor fixes for embedded targets related code

Description David Bryson (RETIRED) gentoo-dev 2004-10-12 16:00:53 UTC
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.
Comment 1 David Bryson (RETIRED) gentoo-dev 2004-10-12 16:06:03 UTC
Created attachment 41678 [details, diff]
adds multiple filesystem targets to embedded targets
Comment 2 David Bryson (RETIRED) gentoo-dev 2004-10-12 16:07:35 UTC
Created attachment 41679 [details, diff]
adds support for jffs2

file that provides support for jffs2 targets
Comment 3 David Bryson (RETIRED) gentoo-dev 2004-10-12 16:08:14 UTC
Created attachment 41680 [details, diff]
adds support for squashfs

adds support for squashfs to embedded targets
Comment 4 David Bryson (RETIRED) gentoo-dev 2004-10-12 16:08:44 UTC
Created attachment 41681 [details, diff]
adds support for jffs

adds support for jffs to embedded targets
Comment 5 David Bryson (RETIRED) gentoo-dev 2004-10-12 20:18:16 UTC
solar noted that I need to fix the copyright on those scripts.  I will resubmit them shortly.
Comment 6 David Bryson (RETIRED) gentoo-dev 2004-10-13 00:08:18 UTC
Created attachment 41692 [details, diff]
adds support for jffs
Comment 7 David Bryson (RETIRED) gentoo-dev 2004-10-13 00:10:04 UTC
Created attachment 41693 [details, diff]
adds multiple filesystem targets to embedded targets

fixed copyright in cramfs-runscript.sh
Comment 8 David Bryson (RETIRED) gentoo-dev 2004-10-13 00:10:39 UTC
Created attachment 41694 [details, diff]
adds support for jffs2

fixes copyright assignment
Comment 9 David Bryson (RETIRED) gentoo-dev 2004-10-13 00:11:14 UTC
Created attachment 41695 [details, diff]
adds support for squashfs

fixes copyright assignment
Comment 10 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-14 18:57:06 UTC
where are those jffs and squashfs scripts suppossed to go?
Comment 11 David Bryson (RETIRED) gentoo-dev 2004-10-14 21:13:02 UTC
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 ?
Comment 12 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-16 05:55:51 UTC
please do 
Comment 13 David Bryson (RETIRED) gentoo-dev 2004-10-21 14:16:26 UTC
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
Comment 14 David Bryson (RETIRED) gentoo-dev 2004-10-21 14:17:45 UTC
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
Comment 15 David Bryson (RETIRED) gentoo-dev 2004-10-21 14:44:55 UTC
Created attachment 42374 [details, diff]
builds filesystems for embedded targets

yeah...
uploaded the test,working verison instead of the broken bug riddled version
Comment 16 David Bryson (RETIRED) gentoo-dev 2004-11-04 13:00:49 UTC
Is there a status on where these patches are in getting commited to cvs ?
Comment 17 John Davis (zhen) (RETIRED) gentoo-dev 2004-11-05 07:50:16 UTC
as soon as I get some free time from school
Comment 18 John Davis (zhen) (RETIRED) gentoo-dev 2004-11-22 16:03:13 UTC
ok, the runscript is in cvs, but I need an updated patch for embedded.py
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-15 18:36:34 UTC
David: look at comment #18

I am basically waiting on this patch to roll a catalyst 1.1.2 out for public usage.
Comment 20 David Bryson (RETIRED) gentoo-dev 2004-12-16 09:00:18 UTC
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.
Comment 21 David Bryson (RETIRED) gentoo-dev 2004-12-16 09:07:00 UTC
Created attachment 46135 [details, diff]
Adds file system packaging support to catalyst embedded targets

This is a diff of cvs as of today
Comment 22 David Bryson (RETIRED) gentoo-dev 2004-12-16 09:10:46 UTC
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.
Comment 23 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-16 10:46:18 UTC
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?
Comment 24 David Bryson (RETIRED) gentoo-dev 2004-12-16 11:04:35 UTC
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.
Comment 25 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-16 12:03:32 UTC
All of these should be added to catalyst CVS now.

I'll resolve this once I get a new catalyst version out.
Comment 26 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-28 21:27:58 UTC
This has been in release catalyst for a while now.