Re: Creating a link in RPM spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 May 2004 16:12:40 -0700 (PDT), James Harrison wrote:

> Hello,
> 
> Can anyone tell me how to make a softlink from inside an rpm spec file.  Im
> using 
> rpm version 4.2.
> 
> Ive looked at initscripts.spec rpm source file and in particular the ifup
> command in etc.  I know its a link:
> 
> /etc/sysconfig/network-scripts/ifup -> ../../../sbin/ifup
> 
> In the spec file the %files line for it is:
> 
> /etc/sysconfig/network-scripts/ifup
> %config /sbin/ifup
> 
> But how does the link get made?

You can create it in the %install section.
 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux