76dd12c9a5
During bashate -ing some files with .sh extension has been modified, which are interpreted with /bin/sh, which takes a different syntax. Fixing the issue: - rename the files, so they are not picked up - use syntax that's understood by sh Change-Id: I617b24813df86687ca33745d0c940b0c659f2e14
30 lines
418 B
Bash
30 lines
418 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
PREREQ=""
|
|
|
|
prereqs () {
|
|
echo "${PREREQ}"
|
|
}
|
|
|
|
case "${1}" in
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
copy_exec /sbin/resize2fs
|
|
copy_exec /sbin/e2fsck
|
|
copy_exec /usr/bin/expr
|
|
copy_exec /sbin/tune2fs
|
|
copy_exec /bin/grep
|
|
copy_exec /usr/bin/tr
|
|
copy_exec /usr/bin/cut
|
|
copy_exec /sbin/sfdisk
|
|
copy_exec /sbin/partprobe
|
|
copy_exec /bin/sed
|