Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

add setup config file #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jason-Crowe
Copy link

when trying to build a rpm using 'python setup.py bdist_rpm', we found that the spec file being generated only had the default content for install,prep,postinstall, etc. this caused the files to be installed not under /opt/aws and the init script to not be linked to /etc/init.d (on redhat at least)

by including this setup.cfg file now the spec file includes the rpm_support scripts content and the resulting rpm is installed to the intended location and the init script is linked.

if there already is a simpler solution, please document it in the readme.

bdist_rpm was not including the rpm_support script content
by adding the config file now that content is included
@hyandell
Copy link
Contributor

hyandell commented Feb 1, 2018

This project has been archived. Please use CloudFormation’s native support for Custom Resources as documented at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants