#!/bin/sh set -eu case $ARCH in amd64) ;; *) exit 0 ;; esac . config/binary KERNEL=chroot/boot/vmlinuz INITRD=chroot/boot/initrd.img mkdir -p "chroot/etc/initramfs-tools/conf.d" cat > chroot/etc/initramfs-tools/conf.d/casperize.conf < apt.conf < ubuntu-mini-iso/amd64/tree/boot/grub/grub.cfg < ubuntu-mini-iso/$ARCH/tree/.disk/cd_type < ubuntu-mini-iso/$ARCH/tree/.disk/info <