diff --git a/lib/util-iso.sh b/lib/util-iso.sh index a7eaff1..8ff5b45 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -238,8 +238,6 @@ make_image_root() { pacman -Qr "${path}" > "${path}/rootfs-pkgs.txt" copy_overlay "${profile_dir}/root-overlay" "${path}" - prepare_initcpio "${path}" - reset_pac_conf "${path}" configure_lsb "${path}" @@ -352,6 +350,8 @@ make_image_boot() { mount_fs_net "${path}" fi + prepare_initcpio "${path}" + # if [[ ${gpg_key} ]]; then # gpg --export ${gpg_key} >${work_dir}/gpgkey # exec 17<>${work_dir}/gpgkey