Skip to content
Snippets Groups Projects
Commit 4d24d4c9 authored by Pietsch, Martin's avatar Pietsch, Martin
Browse files

add inclusion of answerfile in chroot script

parent aeea30b2
No related branches found
No related tags found
No related merge requests found
......@@ -71,9 +71,14 @@ runChroot(){
then
mount none /target/sys/firmware/efi/efivars -t efivarfs
fi
cp /tmp/answerfile /target/
sed -i '/^#!/a. /answerfile' /target/$1
LANG=C.UTF-8 chroot /target $1
rm -rf /target/answerfile
if [ -d /sys/firmware/efi ];
then
umount /target/sys/firmware/efi/efivars
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment