Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify user that mkinitrd is running #675

Merged
merged 3 commits into from Oct 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -53,6 +53,7 @@ if test -s $TMP_DIR/storage_drivers && ! diff $TMP_DIR/storage_drivers $VAR_DIR/
KERNEL_VERSION=$(basename $(echo $INITRD_IMG) | cut -f2- -d"-" | sed s/"\.img"//)
INITRD=$(echo $INITRD_IMG|egrep -o "/boot/.*")

echo "Running mkinitrd..."
if chroot /mnt/local /bin/bash --login -c "mkinitrd -v -f ${WITH_INITRD_MODULES[@]} $INITRD $KERNEL_VERSION" >&2 ; then
LogPrint "Updated initramfs with new drivers for Kernel $KERNEL_VERSION."
else
Expand Down
Expand Up @@ -51,6 +51,7 @@ if test -s $TMP_DIR/storage_drivers && ! diff $TMP_DIR/storage_drivers $VAR_DIR/

mount -t proc none /mnt/local/proc
mount -t sysfs none /mnt/local/sys
echo "Running mkinitrd..."
if chroot /mnt/local /bin/bash --login -c "mkinitrd" >&2 ; then
LogPrint "Recreated initramfs (mkinitrd)."
else
Expand Down

This file was deleted.