Difference between revisions of "Talk:Simple Package Modification"

From SME Server
Jump to navigationJump to search
(On patching...)
 
Line 13: Line 13:
  
 
<small>—&nbsp;[[User:Cactus|Cactus]] ([[User talk:Cactus|talk]]&nbsp;|&nbsp;[[Special:Contributions/Cactus|contribs]])&nbsp;</small> 08:31, 23 January 2013 (MST)
 
<small>—&nbsp;[[User:Cactus|Cactus]] ([[User talk:Cactus|talk]]&nbsp;|&nbsp;[[Special:Contributions/Cactus|contribs]])&nbsp;</small> 08:31, 23 January 2013 (MST)
 +
 +
#Suggested addition:
 +
About making i386 packagex on a 64 bits build server:
 +
The way you build for i386 on a x86_64 box using our makefile is to do the
 +
following:
 +
 +
BUILDARCH=i386 make mockbuild
 +
 +
This works for everything except for kernel modules on SME <= 8.0.  I'll have
 +
to go through my notes for how to build kmods for i686 kernel using i386 config
 +
file.  These happen rarely enough that I ususally just submit to the buildsys
 +
and then fix issues if there are any. (Shad)

Revision as of 08:27, 8 February 2013

This can be done even simpler:

make prep
cp file/to/be/modified /file/to/be/original.patch-suffix

make your changes

go to the root (sme7, sme8/, contribs7/ or contribs8/) of the package and version you are modifying

make patch SUFFIX=patch-suffix

This will create a patch with the proper naming scheme as well as add it to CVS all at once.

— Cactus (talk | contribs 08:31, 23 January 2013 (MST)

  1. Suggested addition:

About making i386 packagex on a 64 bits build server: The way you build for i386 on a x86_64 box using our makefile is to do the following:

BUILDARCH=i386 make mockbuild

This works for everything except for kernel modules on SME <= 8.0. I'll have to go through my notes for how to build kmods for i686 kernel using i386 config file. These happen rarely enough that I ususally just submit to the buildsys and then fix issues if there are any. (Shad)