From 4412cec9b5bc280b8e155d6ed42d06fdba730f4e Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 18 Aug 2013 13:12:04 +0200 Subject: [PATCH] gen_initramfs: drop unnecessary if condition in append_blkid --- gen_initramfs.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index f7881c8..33c3081 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -184,9 +184,7 @@ append_blkid(){ cd ${TEMP} mkdir -p "${TEMP}/initramfs-blkid-temp/" - if [[ "${DISKLABEL}" = "1" ]]; then - copy_binaries "${TEMP}"/initramfs-blkid-temp/ /sbin/blkid - fi + copy_binaries "${TEMP}"/initramfs-blkid-temp/ /sbin/blkid cd "${TEMP}/initramfs-blkid-temp/" log_future_cpio_content