Skip to content

Add scriptlets and array of fpmargs to fixup permissions#1

Open
dandye wants to merge 5 commits intomasterfrom
add_scriptlets
Open

Add scriptlets and array of fpmargs to fixup permissions#1
dandye wants to merge 5 commits intomasterfrom
add_scriptlets

Conversation

@dandye
Copy link
Copy Markdown

@dandye dandye commented Feb 16, 2017

  1. Adds parameter handling for {pre,post} {install,remove,upgrade}
  2. Creates a tarball of Build Artifacts
  3. supports fpmattr array for --rpm-attr 0755,edge,edge:/var/lib/edge/adapters

@dandye dandye changed the title Add scriptlets Add scriptlets and array of fpmargs to fixup permissions Feb 23, 2017
@dandye dandye requested review from m3mike and usrlocalben February 23, 2017 21:16
makepkg.sh Outdated
cmd="$cmd $rpm_dist_param"
cmd="$cmd --rpm-os linux"
# cmd="$cmd --debug-workspace" # skips cleanup of /tmp and allows inspection of SPECFILE
cmd="$cmd --debug-workspace" # skips cleanup of /tmp and allows inspection of SPECFILE
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only question I have is should --debug-workspace be the default behavior?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it shouldn't. The tarball that is created includes all of that stuff, so there is really no reason to leave it in /tmp. I'll amend the PR with the change.

Copy link
Copy Markdown

@m3mike m3mike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was my only comment, lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants