From: Michael Tremer Date: Tue, 25 May 2021 15:01:49 +0000 (+0000) Subject: master: Throw away dracut logs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4687a0784a25d65aad2838aa423f49d9fecfa3b9;p=people%2Fms%2Fbricklayer.git master: Throw away dracut logs Dracut currently has a bug where loads of console output is generated which slows down the build process. Signed-off-by: Michael Tremer --- diff --git a/src/bricklayer-master b/src/bricklayer-master index 65fe3bb..c182288 100644 --- a/src/bricklayer-master +++ b/src/bricklayer-master @@ -250,8 +250,10 @@ install_initramfs() { --filesystems "squashfs" ) + # The output is currently thrown away because dracut is broken and generates a lot + # of messages which slow down the build process... if ! in_buildsystem --bind="${tempdir}" \ - dracut "${args[@]}" "${filename}" "${kernel_release}" &>/tmp/dracut.$$; then + dracut "${args[@]}" "${filename}" "${kernel_release}" &>/dev/null; then unlink "${filename}" return 1 fi