Difference between revisions of "Talk:Simple Package Modification"

From SME Server
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
#This can be done even simpler:
+
This can be done even simpler:
  
 
  make prep
 
  make prep
Line 14: Line 14:
 
<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:
+
Suggested addition:
 +
 
 
The way you build for i386 on a x86_64 box using our makefile is to do the
 
The way you build for i386 on a x86_64 box using our makefile is to do the
 
following:
 
following:

Latest revision as of 07:28, 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)


Suggested addition:

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)