Revert "[molecules*] move kernels on live images to /kernel (from /boot)"
This reverts commit 54be8ed618.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user