Apologies, I forgot to turn off wrapping.

Correct copy-pastable versions below.


modscript.sh
~~~~~~~~~~~~
#!/bin/sh

# autopkgtest-build-qemu passes the chroot as $1
[ -n "$1" ] || exit 1

cp /tmp/rebuild/*.deb "$1"/
chroot "$1" dpkg -i dracut_110-8_all.deb  dracut-core_110-8_amd64.deb 
dracut-install_110-8_amd64.deb
~~~~~~~~~~~~

$ autopkgtest-build-qemu --script=modscript.sh --boot=efi unstable 
/tmp/unstable-amd64.img

Reply via email to