2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 02:50:10 +00:00
xcat-dep/grub2-xcat.recompile
2019-05-16 16:02:15 +08:00
..
build-number.txt New facility used for compile and generate grub2-xcat rpm and deb from the source rpm package. 2014-11-28 04:38:17 -05:00
FILELIST New facility used for compile and generate grub2-xcat rpm and deb from the source rpm package. 2014-11-28 04:38:17 -05:00
grub2-2.02-0.16.ael7b.src.rpm build grub2-xcat with grub2-2.02-0.16.ael7b.src.rpm; set version and release of grub2-xcat according to the info of grub2 2015-05-10 09:30:07 -04:00
grub2-2.02-0.16.el7.src.rpm replace grub2-2.02-0.16.ael7b.src.rpm with grub2-2.02-0.16.ael7b.src.rpm 2015-05-14 04:36:16 -04:00
grub2-2.02-0.76.el7.1.src.rpm Add grub2-2.02-0.76.el7.1.src.rpm 2019-05-16 14:55:05 +08:00
grub2-2.02-0.76.el7.src.rpm Recompile with the latest source from RHEL 7 2018-11-29 05:44:56 -05:00
grub2-2.02-57.el8.src.rpm Add grub2-2.02-57.el8.src.rpm for RHEL 8 2018-11-29 05:44:53 -05:00
grub2-xcat.spec.template add homepage/url info and License file in grub2-xcat rpm package and deb package 2015-06-09 01:36:54 -04:00
makedeb New facility used for compile and generate grub2-xcat rpm and deb from the source rpm package. 2014-11-28 04:38:17 -05:00
Makefile Update to grub2-2.02-0.76.el7.1 2019-05-16 16:02:15 +08:00
makerpm New facility used for compile and generate grub2-xcat rpm and deb from the source rpm package. 2014-11-28 04:38:17 -05:00
README Update README for grub2-xcat 2018-11-29 05:44:55 -05:00

The grub2-xcat rpm/deb package can be built from the grub2 source package shipped in Redhat/Fedora/CentOS...

The steps:

1.build grub2-xcat rpm

For rpm package compling, a RHEL 7 environment on powerpc64 is required. Please make sure all the necessary build tools are installed, the list of the build tools can be showed by:
==================================================
rpm -qpR <the name of your grub2 source rpm file>
==================================================

(1)obtain the grub2 source rpm 
The latest source rpm file of grub2 can be obtained from the source codes of the Red Hat Enterprse Linux. The current source rpm file, grub2-2.02-0.16.ael7b.src.rpm, was obtained from RHEL 7.1. 

(2)update the Makefile
When a new source rpm file is available, please update the following line in the Makefile accordingly. 
==================================================
SRC_RPM = <the name of your grub2 source rpm file>
==================================================

(3)run "./makerpm" to generate the grub2-xcat rpm, which can be found in current dir.

(4)upload the grub2-xcat rpm to the build server and checkin the modified Makefile to xcat-dep git code base.

2. build grub2-deb rpm  

For deb package generating, a Debian or Ubunutu environment on any architecture wilth alien installed should work. 
running "./makedeb" will convert the grub2-xcat rpm generated above to deb package. 

Finally, upload the deb package to the build server.

======
NOTICE
======
If rebuild of `grub2-2.02-0.16.el7.src.rpm' is needed. The file `Makefile' may need to be checked out to an older version.