LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Need to add 3rd party software rpm to Redhat ISO (https://www.linuxquestions.org/questions/linux-server-73/need-to-add-3rd-party-software-rpm-to-redhat-iso-4175616875/)

LittleMaster 11-03-2017 02:20 AM

Need to add 3rd party software rpm to Redhat ISO
 
Hi All -

Looking for help to push 3rd party software into ISO

mount -o loop /dev/sr0 /apache/tomcat ..I need to push several 3rd party rpm file into ISO file .So that I can install the package through YUM..

Any help regards to it could be very much helpful

Thank you


[root@apache]# df -h /apache/tomcat
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 3.9G 3.9G 0 100% /apache/tomcat

[root@apache]# cat /etc/yum.repos.d/
lemandatory.repo redhat.repo rhel.repo
[root@apache]# cat /etc/yum.repos.d/rhel.repo
[apache]
name=Red Hat Enterprise Linux 7.3
baseurl=file:///apache/tomcat
metadata_expire=-1
gpgcheck=1
gpgkey=file:///apache/tomcat/RPM-GPG-KEY-redhat-release
enabled=1
[root@apache]#

smallpond 11-03-2017 06:41 AM

You want to create a Red Hat-branded iso made by you? Think carefully.

lazydog 11-03-2017 10:17 AM

Download the iso and mount it. ISO's are always mounted as 'ro' so you are going to have to copy everything to a folder. Then add what you want to that folder and re-create the iso with mkisofs.


All times are GMT -5. The time now is 08:43 PM.