mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 15:16:42 +00:00
8da5d5d723
- modify bash to have it configured with -Os
13 lines
237 B
Bash
Executable File
13 lines
237 B
Bash
Executable File
#!/bin/bash
|
|
set -e -o pipefail
|
|
. /etc/functions
|
|
. /tmp/config
|
|
|
|
TRACE "Under /bin/cbfs.sh"
|
|
|
|
if pnor "$2" -r HBI > /tmp/pnor.part 2>/dev/null; then
|
|
cbfs "$@" -o /tmp/pnor.part && pnor "$2" -w HBI < /tmp/pnor.part
|
|
else
|
|
cbfs "$@"
|
|
fi
|