prevent contamining the cache with embeded cfg

This commit is contained in:
jbouchard authored and Jia Zhang committed 2021-05-01 09:29:19 +08:00
1 parent 6cbe3df2a2
commit b9f183a416
1 file changed
+2
@@ -85,6 +85,8 @@ do_compile_append_class-target() {
cat<<EOF>${WORKDIR}/cfg
set strict_security=1
EOF
else
> ${WORKDIR}/cfg
fi
cat<<EOF>>${WORKDIR}/cfg
search.file (\$cmdpath)${GRUB_PREFIX_DIR}/grub.cfg root