refactor: streamline repository update and base package installation steps

This commit is contained in:
2026-07-16 12:33:01 +02:00
parent 9f69718798
commit 7200224822
+15 -13
View File
@@ -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" <<EOF
deb [signed-by=${KEYRING_PATH}] ${ESPOS_REPO} ${ESPOS_SUITE} main
EOF
echo "[+] Actualizando repositorios firmados"
chroot "$ROOTFS" apt update
echo "[+] Instalando sistema base"
chroot "$ROOTFS" apt install -y \
$BASE_PACKAGES
echo "[+] Instalando paquetes EspOS"