summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_linux-image
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_linux-image')
-rwxr-xr-xhelpers/lh_binary_linux-image29
1 files changed, 3 insertions, 26 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index 153e476..b4cee2e 100755
--- a/helpers/lh_binary_linux-image
+++ b/helpers/lh_binary_linux-image
@@ -46,9 +46,6 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-# Removing initrd backup files
-rm -f chroot/boot/initrd*bak*
-
# Setting destination directory
case "${LIVE_BINARY_IMAGES}" in
iso)
@@ -92,34 +89,14 @@ case "${LIVE_ARCHITECTURE}" in
;;
esac
-# Temporary check for broken syslinux
-if [ "${LIVE_BINARY_IMAGES}" = "iso" ]
-then
- # Assemble multi-arch
- if [ -n "${MULTIARCH}" ]
- then
- case "${LIVE_ARCHITECTURE}" in
- amd64)
- DESTDIR="${DESTDIR}.amd"
- ;;
-
- i386)
- DESTDIR="${DESTDIR}.386"
- ;;
-
- powerpc)
- DESTDIR="${DESTDIR}.ppc"
- ;;
- esac
- fi
-fi
+Check_multiarchitecture
# Creating directory
mkdir -p "${DESTDIR}"
# Installing linux-image
-cp chroot/boot/"${LINUX}"* "${DESTDIR}"
-cp chroot/boot/initrd.img* "${DESTDIR}"
+cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
+cp chroot/boot/initrd.img-* "${DESTDIR}"
# Creating stage file
Create_stagefile .stage/binary_linux-image