From 72002248223dc6fb0475c66324912932d771b40b Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 16 Jul 2026 12:33:01 +0200 Subject: [PATCH] refactor: streamline repository update and base package installation steps --- build-rootfs.sh | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/build-rootfs.sh b/build-rootfs.sh index 5f8629f..c045203 100644 --- a/build-rootfs.sh +++ b/build-rootfs.sh @@ -107,6 +107,21 @@ mount -t sysfs sys "$ROOTFS/sys" + +echo "[+] Actualizando repositorios firmados" + + +chroot "$ROOTFS" apt update + + + +echo "[+] Instalando sistema base" + + +chroot "$ROOTFS" apt install -y \ + $BASE_PACKAGES + + echo "[+] Preparando repo EspOS temporal" @@ -128,24 +143,11 @@ echo "[+] Cambiando repo a signed-by" cat > "$ROOTFS/etc/apt/sources.list.d/espos.list" <