This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7f78be9318
diskimage-builder
/
elements
/
rhel-common
/
pre-install.d
/
10-rhel-blacklist
7 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Generalize install-packages for yum All of the yum-based install-packages scripts are doing essentially the same thing, so let's use one script for all of the elements that depend on the yum element. Change-Id: I49e8c9b44e41bcf4cb9fa820e8a9179754694a97
2014-02-18 20:48:14 +00:00
#!/bin/bash
set -e all the things Using set -e in all of our scripts will prevent some subtle bugs from slipping in, and will allow us to enforce use of set -e with tooling. This change also adds -u and set -o pipefail in the less complex scripts where it is unlikely to cause problems. A follow-up change will enable those options in the complex scripts so that if it breaks something it can be reverted easily. Change-Id: I0ad358ccb98da7277a0ee2e9ce8fda98438675eb
2014-03-29 03:28:22 +00:00
set -eu
set -o pipefail
add some missing \n at end of file This to avoid the “No newline at end of file” error from patch/git. Change-Id: Ice82d4a36a0893e8f71dbffbdab154d1fbab8a09
2014-05-02 16:36:06 +00:00
echo "ccache dkms" > /tmp/yum-blacklist
Reference in New Issue
Copy Permalink