#!/bin/sh
# shellcheck disable=SC1091
. ./01_SetVariables.sh
if [ ! "$(id -u)" -eq 0 ]; then
  echo "Please execute this script as root."
  exit
fi
cd "$DEST" || exit 1
	find . | cpio -o -H newc | xz -9fv -C crc32 > "$ISODIR"/initrd
