(→Proof of Concept Progress) |
(→Proof of Concept Progress) |
||
| Line 55: | Line 55: | ||
osc importsrcpkg ../../../mirror/gcc-4.4.2-12.8.src.rpm - from project dir | osc importsrcpkg ../../../mirror/gcc-4.4.2-12.8.src.rpm - from project dir | ||
| + | osc addremove | ||
| + | osc commit | ||
| + | osc build MeeGo_1.0_Core | ||
So I can build a package without sssse3 and atom flags but how do I know that I don't have static libs built in which have code built with those flags? I suppose the order I build things in this way is important. | So I can build a package without sssse3 and atom flags but how do I know that I don't have static libs built in which have code built with those flags? I suppose the order I build things in this way is important. | ||
I have posted my notes which describe setup of an osc build with the ssse3 and atom flags removed.
You will need a login on OBS(3) - build.obs.maemo.org - see user Lbt or X-Fade on #meego-dev or your own local OBS
Get source
mkdir mirror cd mirror wget -e robots=off --accept \*.rpm --mirror --no-parent --progress=dot --no-host-directories --cut-dirs=7 -nv http://mirrors.kernel.org/meego/releases/1.0/core/repos/source/
Install osc
wget Meego-devel-tools-f11.repo sudo cp Meego-devel-tools-f11.repo /etc/yum.repos.d/ sudo yum --nogpgcheck install osc
edit /home/<user>/.oscrc to setup
apiurl = https://api.obs.maemo.org build-root = /home/<user>/tmp/build-root https://api.obs.maemo.org user = <user> etc
Check that is working with
osc list
Setup a project
mkdir build-area cd build-area osc meta pkg -e home:<username> <package name> osc co home:<username>/<package name> cd home:<username> cd <package name> rpm2cpio *src.rpm|cpio -id osc addremove osc commit
Build Local
cd home:<user> cd <package>
edit prjcfg on project (web tool) to remove ssse3 atom stuff
osc build MeeGo_1.0_Core - If this does not download the required packages then get them with- wget -e robots=off --accept \*.rpm --mirror --no-parent --progress=dot --no-host-directories --cut-dirs=7 -nv http://mirrors.kernel.org/meego/releases/1.0/core/repos/ia32/packages/i586/
Importing Source
osc importsrcpkg ../../../mirror/gcc-4.4.2-12.8.src.rpm - from project dir osc addremove osc commit osc build MeeGo_1.0_Core
So I can build a package without sssse3 and atom flags but how do I know that I don't have static libs built in which have code built with those flags? I suppose the order I build things in this way is important.