From 07d714050c5a8fef82eb133d8a53e4b31aa5e961 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 18 Mar 2013 12:17:35 -0500 Subject: [PATCH] Ubuntu Raring is broken We need flash-kernels postinstall script modified like: === modified file 'debian/flash-kernel-installer.postinst' --- debian/flash-kernel-installer.postinst 2012-12-04 17:24:49 +0000 +++ debian/flash-kernel-installer.postinst 2013-03-18 17:12:33 +0000 @@ -72,6 +72,9 @@ ;; *) latest_version=$(in-target --pass-stdout sh -c 'linux-version list | linux-version sort | tail -n1') + if ! "$latest_version"; then + latest_version=$(uname -r) + fi mount -o bind /dev /target/dev in-target update-initramfs -c -k $latest_version umount /target/dev || true Signed-off-by: Robert Nelson --- README | 2 +- lib/distro.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 7078cd9..c4c89a9 100644 --- a/README +++ b/README @@ -36,7 +36,7 @@ Optional: precise-armel (12.04) (armv7-a) precise-armhf (12.04) (armv7-a) quantal (12.10) (armv7-a) - raring (13.04) (armv7-a) + raring (13.04) (armv7-a) --addon pico diff --git a/lib/distro.conf b/lib/distro.conf index 2e4234a..a6fcb7d 100755 --- a/lib/distro.conf +++ b/lib/distro.conf @@ -43,8 +43,8 @@ quantal-armhf-netboot) raring-armhf-netboot) #14-Mar-2013 #http://ports.ubuntu.com/dists/raring/main/installer-armhf/ - NETIMAGE="20101020ubuntu222" - TEST_MD5SUM="ac1f1575fe0ab621311f4c359a1dfd54" + NETIMAGE="20101020ubuntu223" + TEST_MD5SUM="2274f77456fbb09e04690b1a9d23deff" HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists" BASE_IMAGE="omap/netboot" UBOOTWRAPPER=1