This website requires JavaScript.
Explore
Help
Register
Sign in
sig_cloud
/
diskimage-builder
Watch
11
Star
0
Fork
You've already forked diskimage-builder
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
825b1964bb
diskimage-builder
/
elements
/
deploy-baremetal
/
install.d
/
52-install-busybox
7 lines
63 B
Text
Raw
Normal View
History
Unescape
Escape
/bin/bash all the things. Since we are using bash syntax in some of the element fragments, we should make sure we use bash for all of them, so that things don't break on systems where /bin/sh != /bin/bash. Change-Id: If2f043c57aa4e1492b7f9839213ef6123f683612
2013-11-07 04:25:34 +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
Build ramdisks in an image chroot. Ramdisks are now built inside a chroot which is built by the normal image build process. Doing so improves our independence of the precise state of the build host. This fixes bug 1194055. Change-Id: Ibc254fbb9e7b404b5f38c1b35bcde8a4136e8e28
2013-07-01 16:20:15 +00:00
install-packages busybox
Reference in a new issue
Copy permalink