/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
This commit is contained in:
parent
5387b01af9
commit
43b70ce224
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
install-packages dkms
|
install-packages dkms
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
home=$(dirname $0)
|
home=$(dirname $0)
|
||||||
set -uex
|
set -uex
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
install-packages kexec-tools
|
install-packages kexec-tools
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
install-packages tgt
|
install-packages tgt
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
install-packages busybox
|
install-packages busybox
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
# Prepare the target system for regenerating /etc/network/interfaces
|
# Prepare the target system for regenerating /etc/network/interfaces
|
||||||
# on its first boot.
|
# on its first boot.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Trigger a run of dkms for all the modules installed
|
# Trigger a run of dkms for all the modules installed
|
||||||
# to ensure we have valid modules build for all.
|
# to ensure we have valid modules build for all.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Prevent apt from installing recommended packages
|
# Prevent apt from installing recommended packages
|
||||||
|
|
||||||
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_
|
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
|
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# If the patch doesn't apply just do nothing. This patch fixes a small
|
# If the patch doesn't apply just do nothing. This patch fixes a small
|
||||||
# issue in the script that writes the network configuration files from
|
# issue in the script that writes the network configuration files from
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
# not use this file except in compliance with the License. You may obtain
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# zeroconf should not be activated or it will add a 169.254.0.0
|
# zeroconf should not be activated or it will add a 169.254.0.0
|
||||||
# route. The route will interfere with access to the nova metadata
|
# route. The route will interfere with access to the nova metadata
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
|
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "i386" = "$ARCH" ]; then
|
if [ "i386" = "$ARCH" ]; then
|
||||||
basearch=i386
|
basearch=i386
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
echo "SELINUX=permissive" > /etc/selinux/config
|
echo "SELINUX=permissive" > /etc/selinux/config
|
||||||
echo "SELINUXTYPE=targeted" >> /etc/selinux/config
|
echo "SELINUXTYPE=targeted" >> /etc/selinux/config
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
home=$(dirname $0)
|
home=$(dirname $0)
|
||||||
set -uex
|
set -uex
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -uex
|
set -uex
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# This package is broken and causes real issues on update:
|
# This package is broken and causes real issues on update:
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1227420
|
# https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1227420
|
||||||
apt-get --yes remove apt-xapian-index || :
|
apt-get --yes remove apt-xapian-index || :
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user