LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-25-2010, 01:26 PM   #1
block921
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
RHEL: Create custom RPM


Quick question what are the steps needed to

Create a rpm that installs a script like hello.sh into /root/bin with the permissions 755? I've tried a few ways with rpmbuild but no luck.
 
Old 12-25-2010, 01:37 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It sounds like you're probably on the right track.

SUGGESTION:
Please do this:
1. Read this link:
http://www.ibm.com/developerworks/library/l-rpm1/

2. If you're still having problems, please post back
a) exactly what you tried
b) exactly what went wrong

'Hope that helps!

PS:
Related links that might also be useful:
http://www.ibm.com/developerworks/li...pm2/index.html
http://www.ibm.com/developerworks/li...pm3/index.html
 
Old 06-01-2011, 05:21 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Note: OP is a banned spammer, this may be a troll ... or not.
 
Old 06-02-2011, 03:51 PM   #4
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
If you're not a troll, see

http://www.linuxquestions.org/questi...0/#post3680054
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom kernel doesn't boot on RHEL AS 4 visualp Linux - General 2 03-05-2009 11:54 AM
RHEL 5: rpm --aid or rpmdb-redhat.rpm no longer supported mjcocat Linux - Enterprise 1 06-05-2008 08:41 PM
Custom RHEL Install CD/DVD sidra Red Hat 4 02-22-2007 11:22 PM
Create custom CD crimsontide Debian 1 07-21-2005 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration