How to rebuild MOL
Joseph E. Sacco, Ph.D.
joseph_sacco at comcast.net
Mon Jan 31 20:04:08 MST 2005
(1) Get the MOL SRPM from a source CD or YDL site and then install /
unpack it using:
rpm -ivh mol-0.9.71-0.ydl.1.src.rpm
(2) cd /usr/src/yellowdog/SOURCES
(3) unpack the gzipped tar file
tar zxvf mol-0.9.71.tgz
(2) apply alloc_h.patch
(3) apply sheep.patch *only* if you are using linux-2.6 kernel headers,
i.e., you changed /usr/include/linux and /usr/include/asm. If you have
not updated the kernel include files that came with YDL-4.0, you do not
need to apply this patch.
(4) repackage the source
tar zcvf mol-0.9.71.tgz mol-0.9.71
(5) edit mol-0.9.71-config
uncomment CONFIG_TAP and CONFIG_SHEEP
(6) Build MOL RPM's
cd /usr/src/yellowdog/SPECS
rpmbuild -bb mol.spec
(7) Reinstall MOL RPM's
rpm -e mol mol-kmods
cd /usr/src/yellowdog/RPMS/ppc
rpm -ivh mol-0.9.71-0.ydl.1.ppc.rpm \
mol-kmods-0.9.71-0.ydl.1.ppc.rpm
-Joseph
--
joseph_sacco[at]comcast[dot]net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc_h.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050131/de48b7a8/alloc_h-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sheep.patch
Type: text/x-patch
Size: 3493 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050131/de48b7a8/sheep-0001.bin
More information about the yellowdog-general
mailing list