[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Help; newbie to RPM and troubles with tar!
- From: Matthew Allen <Matthew Allen red-m com>
- To: "'rpm-list redhat com'" <rpm-list redhat com>
- Subject: Help; newbie to RPM and troubles with tar!
- Date: Tue, 16 Oct 2001 13:39:47 +0100
Dear All,
I could use a little help!
This is the first time I have tried to use rpm.
We are putting together a new software package.
We will be shipping the beta release as rpm binary only.
The rpm spec file is trivial but doesn't work!
The target.tgz file is our complete system.
If I install the rpm manually on a preinstalled redhat6.1 system (rpm -i
genosXXXXXXX)
it works fine. The problem comes when we add it to our redhat installation
disk. It installs the target.tgz file and creates the genos-extra dir
correctly but complains in the /tmp/install.log
with the following ;
...
...
Installing libtermcap.
Installing bash.
/var/tmp/rpm-tmp.80120: tar: command not found
user mdallen does not exist - using root
execution of script failed
Installing shadow-utils.
Installing MAKEDEV.
...
...
Al I want the rpm to do is un tar the target and run the internal scripts.
Sounds easy but it currently doesnt work. In fact I cant get any
commands such as cp or mkdir to work in the %post section either.
I must be doing something very wrong.
Can anyone help?
I would appreciate it as we are shipping in a fortnight!
Thanks,
Matt
Summary: The Genos package (binary only)
Name: Genos
Version: 1.0
Release: 1
Copyright: Red-M
Group: System Environment/Daemons
Source: /u/master/red-m
%description
This is the full install of the Genos package.
%prep
echo
%build
echo
%install
echo
%post
echo
echo Red-M User License and Limited Warranty Agreement
echo
echo IMPORTANT: THIS IS A LEGAL AGREEMENT BETWEEN YOU AND RED-M. BY
INSTALLING, COPYING OR OTHERWISE USING THE SOFTWARE PRODUCT, YOU AGREE TO BE
BOUND BY THE TERMS OF -THE RED-M USER LICENSE AND LIMITED WARRANTY
AGREEMENT-. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, RED-M ARE
UNWILLING TO LICENSE THE SOFTWARE PRODUCT TO YOU. IN SUCH EVENT, YOU MAY NOT
USE OR COPY THE SOFTWARE PRODUCT, AND YOU SHOULD PROMPTLY RETURN THE UNUSED
PRODUCT EITHER TO RED-M OR AN AUTHORIZED RESELLER FOR A REFUND.
echo
echo Install log resides in /var/log/genos-install.log
echo
echo Now installing Genos please wait...
echo
/bin/tar -xvzf /usr/product/genos-extra/target.tgz
./usr/product/genos-extra/genos-pre-go
/bin/tar -xvzf /usr/product/genos-extra/target.tgz
./usr/product/genos-extra/genos-go
/usr/product/genos-extra/genos-pre-go
/usr/product/genos-extra/genos-go
%files
/usr/product/genos-extra/target.tgz
Dr Matthew Allen, matthew.allen@red-m.com
Red-M, Wexham Springs, Framewood Road,
Wexham, Slough SL3 6PH
01753 661725 (direct) 01753 661000 (switchboard)
www.red-m.com
This message contains information which may be confidential and privileged. Unless you are the addressee (or authorised to receive for the addressee), you should not use, copy or disclose to anyone the details or information contained in this message. The content of the message and or attachments may not reflect the view and opinions of the originating company. If you have received this message in error, you should reply to the sender and copy email@red-m.com and delete the message from your system. Thank you for your co-operation.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]