From 8e7e12101693b971e210a5d538e5e8c9a9151c7f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 10 Dec 2014 14:43:00 -0500 Subject: Unpack all of linux-image-*-armmp --- diff --git a/debeagle.sh b/debeagle.sh index 64485df..ab6ea26 100755 --- a/debeagle.sh +++ b/debeagle.sh @@ -262,12 +262,15 @@ install_debian() linux_version="$(printf '%s\n' \ "${archives}/"linux-image-*-armmp_*_armhf.deb | sed \ "s|^${archives}/linux-image-\\(.*-armmp\\)_.*\$|\1|")" - ar p "${archives}/"linux-image-*-armmp_*_armhf.deb data.tar.xz | \ - tar -xJO "./boot/vmlinuz-${linux_version}" \ - >"${boot_mp}/vmlinuz" + ( + cd "${root_mp}" + ar p var/cache/apt/archives/linux-image-*-armmp_*.deb \ + data.tar.xz | tar -xJ + ) mkimage -A arm -O linux -T kernel -C none \ -a 0x80008000 -e 0x80008000 -n "Linux ${linux_version}" \ - -d "${boot_mp}/vmlinuz" "${root_mp}/boot/uImage" + -d "${root_mp}/boot/vmlinuz-${linux_version}" \ + "${root_mp}/boot/uImage" cp "${root_mp}/boot/uImage" "${boot_mp}/uImage" umount "${boot_mp}" -- cgit v0.9.1