- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: help with rpmbuild
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 04:36 AM
02-01-2004 04:36 AM
I am trying to understand and use rpmbuild, so to start out with, I am tring to build an rpm package and have installed just one shell script in /usr/local/bin. But I am getting this error when doing an rpmbuild -bl
installed (but unpackaged) files found
Any idea? thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 05:14 AM
02-01-2004 05:14 AM
Re: help with rpmbuild
you might want to check
http://genetikayos.com/code/repos/rpm-tutorial/trunk/rpm-tutorial.html
Else the contents of the spec file might be of help to diagnose the problem.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 06:28 AM
02-01-2004 06:28 AM
Re: help with rpmbuild
rpm-4.1 and later has tough build policy, exits if all files in $RPM_BUILD_ROOT are not found in some %files manifest. Either include files in package, remove from $RPM_BUILD_ROOT, or don't add
%_unpackage_files_terminate_build 0
to configuration/specfile.
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 07:40 AM
02-01-2004 07:40 AM
Re: help with rpmbuild
here's the file spec:
Summary: A custom shell script to test rpm packing
Name: myscript
Version: 1.0
Release: 1
Copyright: GPL
Group: Applications/System
Source: $RPM_BUILD_SOURCE/myscript-%{version}.tgz
BuildRoot: /tmp/%{name}-buildroot
%description
testing building rpm with myscript.sh
%prep
%setup -q
%configure
%install
mkdir -p $RPM_BUILD_ROOT
make
install -m 555 myscript.sh $RPM_BUILD_ROOT/myscript.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 11:28 AM
02-01-2004 11:28 AM
Re: help with rpmbuild
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash
Any idea? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 03:09 PM
02-01-2004 03:09 PM
Re: help with rpmbuild
I figured it out. But I am wondering if you can add a postinstall section which can run chkconfig command to activate the startup script? Have any one done this with rpmbuild before? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 04:23 PM