[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

rpmbuild questions



I am a little confused regarding what happens in rpmbuild. Here is what I understand and please correct where I am off: - when rpmbuild -ba mypackage.spec is executed, the SOURCE/mypackage.tzg file is ungzipped into BUILD - the %prep, %build and %install sections of the spec file run processes on the files in the BUILD directory and actually install the application to the host filesystem - the %files section tells rpmbuild which of the recently installed files to bundle up in to the new RPM - when the RPM is installed on the new system, it just unpacks those bundled up files to the new system
Am I understanding this correctly?

My current needs are to to a few things:
get a few binary files onto a system and excecute to install
alter the contents some config files
alter the permissions of some files and folders
add some users, execute ssh-keygen as them, and place ssh keys in their authorized_users file Am I going down the wrong path by considering RPM as a tool for making these system changes?




--
Clay Stuckey
GovSG
(843) 218-7042 office
(843) 469-5467 cell
cstuckey@xxxxxxxxx
thomas.c.stuckey@xxxxxxxxxxx
thomas.c.stuckey.ctr@xxxxxxxxxxxxxxxx

begin:vcard
fn:Clay Stuckey
n:Stuckey;Clay
org:Government Solutions Group
adr:;;;Charleston;SC;29492;USA
email;internet:cstuckey@xxxxxxxxx
title:Systems Administrator
tel;work:(843) 218-7042
tel;cell:(843) 469-5467
x-mozilla-html:FALSE
url:www.govsg.com
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]