Lines Matching refs:error
68 error() { echo "$@" 1>&2; }
97 bad_Usage() { Usage 1>&2; [ $# -eq 0 ] || error "$@"; return 1; }
102 error "${@}"
175 { error "failed to make datasource dir $sdir"; return 1; }
177 { error "failed to clean old data from $sdir"; return 1; }
182 { error "failed to write metadata to $sdir/meta-data"; return 1; }
186 { error "failed to write user-data to $sdir"; return 1; }
202 { error "failed to make rootfs dir ${rootfs_d}"; return 1; }
206 { error "failed to populate ${rootfs_d}"; return 1; }
209 { error "failed to populate ${rootfs_d}"; return 1; }
226 { error "failed to create ${outd}"; return 1; }
232 error "failed to download $dlpath";
275 [ -n "$path" ] || { error "'path' parameter is required"; return 1; }
278 { error "must be run as root"; return 1; }
287 { error "bad arch '$arch'. allowed: ${ARCHES[*]}"; return 1; }
290 { error "bad source '$dsource'. allowed: ${SOURCES[*]}"; return 1; }
293 error "userdata and authkey are incompatible with --source=none";
299 error "--auth-key=${authkey_f} must reference a file"
303 { error "failed to read ${authkey_f}"; return 1; }
307 error "${userdata_f}: --userdata arg not a file"
314 { error "failed to convert 'version=$version'"; return 1; }
328 { error "failed to fix console entry for $version"; return 1; }
333 error "failed to insert userdata to $path/rootfs"