From 62061c559694074818813af91c34aa2bd60d09ab Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Wed, 17 Jul 2024 13:24:54 +0200 Subject: [PATCH] wg_fetchurl.run: create data file early (fix linux) --- repos/dde_linux/run/wg_fetchurl.run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/dde_linux/run/wg_fetchurl.run b/repos/dde_linux/run/wg_fetchurl.run index 4bb94699e5..62d96abd17 100644 --- a/repos/dde_linux/run/wg_fetchurl.run +++ b/repos/dde_linux/run/wg_fetchurl.run @@ -367,6 +367,8 @@ append targets { core init timer lib/ld server/nic_router server/report_rom lib/curl app/fetchurl } +exec head -c $file_size_in_bytes < /dev/urandom > bin/wg_fetchurl.data + set boot_modules { } if $linux { append targets { server/lx_fs } @@ -386,8 +388,6 @@ if $linux { build $targets -exec head -c $file_size_in_bytes < /dev/urandom > bin/wg_fetchurl.data - build_boot_image [list {*}[build_artifacts] {*}$boot_modules] append qemu_args "-nographic "