aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks/kernel-image.sh.binary
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-12-29 13:44:59 -0500
committerficus <ficus@robocracy.org>2012-12-29 13:44:59 -0500
commit3c8893d03a64b49c0ad80ee00456525e1b409a51 (patch)
treeeefdd5effb172b2136c12db129b15f71cf415388 /config/hooks/kernel-image.sh.binary
parent536ccdd0bbc5ff3cae788d15ca5c6856e814b306 (diff)
downloadtorouter-live-3c8893d03a64b49c0ad80ee00456525e1b409a51.tar.gz
torouter-live-3c8893d03a64b49c0ad80ee00456525e1b409a51.zip
work in progress on armhf/i.mx6 port
Diffstat (limited to 'config/hooks/kernel-image.sh.binary')
-rwxr-xr-xconfig/hooks/kernel-image.sh.binary21
1 files changed, 0 insertions, 21 deletions
diff --git a/config/hooks/kernel-image.sh.binary b/config/hooks/kernel-image.sh.binary
deleted file mode 100755
index 65ed75a..0000000
--- a/config/hooks/kernel-image.sh.binary
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# This script is necessary for squashfs (or any not-plainroot) builds, where
-# the usual /live images end up inside the filesystem.
-
-# In these cases the kernel ships in three places, which is inefficient:
-# enclosing binary /live (mangled)
-# rootfs /live (mangled)
-# rootfs /boot (original)
-
-echo "(re)Copying in kernel images..."
-cp -a chroot/live/uInitrd chroot/live/uImage chroot/live/dtb binary/live/
-
-# This reduces final image size significantly; original raw kernel files are
-# still duplicated in /boot.
-# Don't stop on errors, because this script may have already been run.
-echo "Removing redundant kernel images..."
-rm binary/live/vmlinuz-* || true
-rm binary/live/initrd.img-* || true