[scripts] move make_grub_efi.sh call farther and assume that it always finds a working grub.cfg

This commit is contained in:
Fabio Erculiani
2012-12-25 16:15:45 +01:00
parent dbef67dc42
commit 4ce7de0e5b
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -30,9 +30,6 @@ fi
cp "${kernel}" "${cdroot_boot_dir}"/sabayon || exit 1
cp "${initramfs}" "${cdroot_boot_dir}"/sabayon.igz || exit 1
# generate EFI GRUB
"${SABAYON_MOLECULE_HOME}"/scripts/make_grub_efi.sh || exit 1
# Write build info
build_date=$(date)
build_file="${CDROOT_DIR}"/BUILD_INFO
@@ -56,6 +53,9 @@ done
"${SABAYON_MOLECULE_HOME}"/scripts/make_grub_langs.sh "${grub_dest}" \
|| exit 1
# generate EFI GRUB
"${SABAYON_MOLECULE_HOME}"/scripts/make_grub_efi.sh || exit 1
sabayon_pkgs_file="${CHROOT_DIR}/etc/sabayon-pkglist"
if [ -f "${sabayon_pkgs_file}" ]; then
cp "${sabayon_pkgs_file}" "${CDROOT_DIR}/pkglist"