summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/21image.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/21image.sh b/src/scripts/21image.sh
index 0c8ab67d2..5261867ec 100644
--- a/src/scripts/21image.sh
+++ b/src/scripts/21image.sh
@@ -215,6 +215,9 @@ Syslinux ()
Linuximage ()
{
+ # Removing initrd backup files
+ rm -f "${LIVE_CHROOT}"/boot/initrd*bak*
+
case "${1}" in
iso)
# Copy linux-image