summaryrefslogtreecommitdiff
path: root/src/scripts/21image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/21image.sh')
-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 36ca014a8..d44d4f31c 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