Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 173826
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Catalyst Developers <catalyst@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Gaffney <agaffney@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
catalyst.patch patch patch Andrew Gaffney 2007-04-09 05:46 0000 7.27 KB Details | Diff
catalyst.patch new patch patch Andrew Gaffney 2007-04-11 18:14 0000 7.14 KB Details | Diff
catalyst.patch new new patch patch Andrew Gaffney 2007-04-11 20:14 0000 7.78 KB Details | Diff
catalyst.patch new new new patch patch Andrew Gaffney 2007-04-12 00:57 0000 7.88 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173826 depends on: Show dependency tree
Bug 173826 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-09 05:45 0000
I've been doing a bit of hacking on the netboot2 target. I just used the
following patch to build a minimal netboot image containing dropbear for x86.
Here's a summary of the changes I made:

* netboot2/packages/pkgname/files and netboot2/extra_files replaced with
  netboot2/packages/files (although, this could just become netboot2/files)
* netboot2/{rm,empty} options added
* netboot2/overlay added (overlays copied into /tmp/image for inclusion in
  initramfs
* builddate automatically generated for busybox config
* general cleanups

------- Comment #1 From Andrew Gaffney 2007-04-09 05:46:07 0000 -------
Created an attachment (id=115787) [details]
patch

------- Comment #2 From Chris Gianelloni (RETIRED) 2007-04-10 21:39:42 0000 -------
(In reply to comment #0)
> * netboot2/packages/pkgname/files and netboot2/extra_files replaced with
>   netboot2/packages/files (although, this could just become netboot2/files)

I like it, but I don't want it until 2.1 happens.

> * netboot2/{rm,empty} options added

I think these should be fine since they won't break backwards compatibility.

> * netboot2/overlay added (overlays copied into /tmp/image for inclusion in
>   initramfs

Same as above.

> * builddate automatically generated for busybox config

I'm just curious why this is necessary.

> * general cleanups

What did you change?  I have no problems with general cleanups that don't break
backwards compatibility.

------- Comment #3 From Andrew Gaffney 2007-04-10 23:25:56 0000 -------
General cleanups:

* Moved various spec values to valid_values instead of requires_values
* Killed use of ${clst_root_path} in pre-kmerge.sh since it didn't make sense
and
  was "" anyway
* Killed custom set_dest_path() since settings["destpath"] isn't used in target
* Removed extra 'echo ""' at end of netboot2-copyfile.sh

------- Comment #4 From Andrew Gaffney 2007-04-10 23:27:41 0000 -------
(In reply to comment #2)
> > * builddate automatically generated for busybox config
> 
> I'm just curious why this is necessary.

There was a comment somewhere in the busybox stuff (don't recall where) that
busybox `date` needed a builddate in YYYYMMDD format.

------- Comment #5 From Andrew Gaffney 2007-04-11 18:14:42 0000 -------
Created an attachment (id=115983) [details]
new patch

This patch has some more enhancements (automatically creates netbootable image
on sparc64) as well as removing the changes that break backwards compatability
(netboot2/packages/foo/files+netboot2/extra_files -> netboot2/files).

It also relies on System.map-* being present in the kerncache tarball to
properly build a sparc64 netboot, but it will not break any other target if
using an older genkernel.

------- Comment #6 From Andrew Gaffney 2007-04-11 20:14:36 0000 -------
Created an attachment (id=115991) [details]
new new patch

This patch adds the netboot2/busybox_config option. If this option is
specified, the file is used to build busybox. If not, the default from
${clst_sharedir}/targets/netboot2/nb-busybox.cf is used. You will need to move
x86/nb-busybox.cf from genkernel into targets/netboot2/.

------- Comment #7 From Andrew Gaffney 2007-04-12 00:57:59 0000 -------
Created an attachment (id=116005) [details]
new new new patch

This adds a bit of code to netboot2-final.sh to run piggyback for sparc32 and
piggyback64 for sparc64 instead of piggyback64 unconditionally.

------- Comment #8 From Chris Gianelloni (RETIRED) 2007-04-12 11:57:10 0000 -------
Alright... this patch is now applied to SVN...

------- Comment #9 From Chris Gianelloni (RETIRED) 2007-04-12 19:43:03 0000 -------
This is fixed in 2.0.4 which was just released.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug