#!/bin/bash -e

# Play nice when run under debconf.
exec </dev/null >&2

abi=$1
initrd_file=$2
target=/boot/firmware

cp ${initrd_file} ${target}/initrd.img
sync -f ${target}/initrd.img || true

exit 0
