Revert "[molecules*] move kernels on live images to /kernel (from /boot)"

This reverts commit 54be8ed618.
This commit is contained in:
Fabio Erculiani
2012-12-04 21:55:23 +01:00
parent 54be8ed618
commit 43dd030c74
10 changed files with 93 additions and 95 deletions

View File

@@ -8,7 +8,7 @@ SABAYON_MOLECULE_HOME="${SABAYON_MOLECULE_HOME:-/sabayon}"
export SABAYON_MOLECULE_HOME
boot_dir="${CHROOT_DIR}/boot"
cdroot_boot_dir="${CDROOT_DIR}/kernel"
cdroot_boot_dir="${CDROOT_DIR}/boot"
kernels=( "${boot_dir}"/kernel-* )
# get the first one and see if it exists
@@ -26,8 +26,6 @@ if [ ! -f "${initramfs}" ]; then
exit 1
fi
mkdir -p "${cdroot_boot_dir}" || exit 1
# copy kernel and initramfs
cp "${kernel}" "${cdroot_boot_dir}"/sabayon || exit 1
cp "${initramfs}" "${cdroot_boot_dir}"/sabayon.igz || exit 1