From 4570bdc7df4efad72741c01a457687013ba6ae18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Fri, 31 May 2024 18:02:23 -0300 Subject: [PATCH] stages: 2/03-initramfs: Give a bit of more time to discover USB devices MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I don't like to delay things, but it seems that this needs more time for the system to discover the devices, especially so that the flash drive (e.g.) can be auto-mounted. Signed-off-by: Matías Fonzo --- stages/2/03-initramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stages/2/03-initramfs b/stages/2/03-initramfs index 8bb0651b..574c4991 100755 --- a/stages/2/03-initramfs +++ b/stages/2/03-initramfs @@ -1,6 +1,6 @@ # Build script for the single-purpose initramfs (Live CD). # -# Copyright (c) 2017-2020, 2022 Matias Fonzo, . +# Copyright (c) 2017-2020, 2022, 2024 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ set -x /bin/busybox mount -n -o nosuid,noexec,nodev -t proc proc /proc /bin/busybox mount -n -o nosuid,noexec,nodev -t sysfs sysfs /sys /bin/busybox mount -n -t devtmpfs devtmpfs /dev -/bin/busybox sleep 5 +/bin/busybox sleep 7 # Mount tmpfs plus create directories /bin/busybox mount -n -w -o size=100% -t tmpfs tmpfs /UP -- 2.11.4.GIT