[arch-releng] [PATCH 11/13] [archiso] command_install() remove "already executed" logic

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Mar 28 23:40:25 EDT 2014


This is done better with run_once() in build.sh
---
 archiso/mkarchiso | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 3f511e9..38e0026 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -329,14 +329,7 @@ command_install () {
 
     _show_config install
 
-    local _pkg_list_hash
-    _pkg_list_hash=$(echo ${pkg_list} | sort -u | md5sum | cut -c1-32)
-    if [[ -f "${work_dir}/install.${_pkg_list_hash}" ]]; then
-        _msg_info "These packages are already installed, skipping."
-    else
-        _pacman "${pkg_list}"
-        : > "${work_dir}/install.${_pkg_list_hash}"
-    fi
+    _pacman "${pkg_list}"
 }
 
 command_init() {
-- 
1.9.1



More information about the arch-releng mailing list