summaryrefslogblamecommitdiffstats
path: root/core/modules/kexec-reboot/module.build
blob: fa7038b891bd3c18a52e93788fb8b134cb962607 (plain) (tree)


















                                                                                 
#!/bin/bash
fetch_source() {
	:
}

build() {

	local BIN_LOCATION="$(which kexec)"
	[ ! -z "${BIN_LOCATION}" ] && BIN_LOCATION=$(readlink -f "$BIN_LOCATION")
	if [ ! -z "${BIN_LOCATION}" -a -e "${BIN_LOCATION}" ]; then
		tarcopy "${BIN_LOCATION}" "${MODULE_BUILD_DIR}"
	else
		perror "'kexec' not found on the system! Please install it."
	fi
}

post_copy() {
	:
}