[Revisor-users] Adding binary to a respin?
Jeroen van Meeuwen
kanarip at kanarip.com
Tue Oct 16 10:14:15 UTC 2007
Arno Karner wrote:
>
>
> ----- Original Message ----
> From: Jonathan Steffan <jon at fedoraunity.org>
> To: Revisor User Discussion and Support List <revisor-users at fedoraunity.org>
> Sent: Monday, October 15, 2007 7:48:59 PM
> Subject: Re: [Revisor-users] Adding binary to a respin?
>
> Brian Dykstra wrote:
> > Hi,
> >
> > I'm using Revisor on Fedora 7 to successfully create different builds of
> > boot CDs for specialty needs around the business. I have a
> requirement to
> > add a vendor executable binary (no source provided and not a .rpm)
> file to
> > the /usr/bin directory of the respin. Is there any cheap and easy
> way to do
> > this?
>
>
The ugly way to do this is to put the binary in say, /tmp/binary, then
configure Revisor's copy_dir setting in /etc/revisor/revisor.conf:
copy_dir=/tmp/binary
So the contents of the copy_dir will end up on the media in files/
Then, in %post --nochroot, use:
%post --nochroot
cp /mnt/source/files /usr/bin
chmod 755 /usr/bin/<the-file-you-just-copied>
Kind regards,
Jeroen van Meeuwen
-kanarip
More information about the Revisor-users
mailing list