| Summary: | Change "compose*" scripts to use "bash | tee" rather than "script -c" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Dogtag Certificate System | Reporter: | Matthew Harmsen <mharmsen> | ||||||
| Component: | Build | Assignee: | Matthew Harmsen <mharmsen> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 9.0 | CC: | awnuk, benl, kwright | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-02-22 00:04:10 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Matthew Harmsen
2011-02-18 19:38:40 UTC
kwright wrote the following email on February 18, 2011:
...
Also, I believe I might have solved the mystery of the src.rpms getting created for the pki-core, ipa-pki-theme/dogtag-ipa-theme, and osutil packages. At the end of the shell script, it calls the "script" command. If you could change that from:
script -c ./package_${OSUTIL} package_${OSUTIL}.log
bash ./package_${OSUTIL} |tee package_${OSUTIL}.log 2>&1
I think that would solve the problem. At least it has for me in my tests.
OSUTIL TIP: # git commit -a [master fb931ca] Bugzilla Bug #678654 - Change "compose*" scripts to use "bash | tee" rather than "script -c" Committer: Matthew Harmsen <mharmsen.redhat.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you If the identity used for this commit is wrong, you can fix it with: git commit --amend --author='Your Name <you>' 1 files changed, 1 insertions(+), 1 deletions(-) # git push Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 401 bytes, done. Total 3 (delta 2), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/osutil.git d6a69f2..fb931ca master -> master Created attachment 479621 [details]
compose diffs (TIP)
TIP: # cd pki # svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^? M scripts/compose_ipa_pki_theme_packages M scripts/compose_pki_kra_packages M scripts/compose_pki_tks_packages M scripts/compose_pki_console_packages M scripts/compose_pki_ra_packages M scripts/compose_pki_ocsp_packages M scripts/compose_pki_tps_packages M scripts/compose_dogtag_pki_theme_packages M scripts/compose_pki_core_packages M scripts/compose_pki_migrate_packages # svn commit Sending scripts/compose_dogtag_pki_theme_packages Sending scripts/compose_ipa_pki_theme_packages Sending scripts/compose_pki_console_packages Sending scripts/compose_pki_core_packages Sending scripts/compose_pki_kra_packages Sending scripts/compose_pki_migrate_packages Sending scripts/compose_pki_ocsp_packages Sending scripts/compose_pki_ra_packages Sending scripts/compose_pki_tks_packages Sending scripts/compose_pki_tps_packages Transmitting file data .......... Committed revision 1856. |