From e0b6feda6c032f9a8114eb8beb8adf11db8a8b32 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 28 Apr 2015 16:39:53 +0200 Subject: [PATCH] create /boot/uboot on armhf to ensure that its in the system tarball and still on the system if ubuntu-core-upgrader performs a "format" (LP: #1447652) --- debian/changelog | 8 ++++++++ live-build/ubuntu-core/hooks/16-ensure-uboot.chroot | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 live-build/ubuntu-core/hooks/16-ensure-uboot.chroot diff --git a/debian/changelog b/debian/changelog index 6027d285..2620ad34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.301) UNRELEASED; urgency=low + + * create /boot/uboot on armhf to ensure that its in the system + tarball and still on the system if ubuntu-core-upgrader + performs a "format" (LP: #1447652) + + -- Michael Vogt Tue, 28 Apr 2015 08:27:44 +0200 + livecd-rootfs (2.300) vivid; urgency=medium * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: revert diff --git a/live-build/ubuntu-core/hooks/16-ensure-uboot.chroot b/live-build/ubuntu-core/hooks/16-ensure-uboot.chroot new file mode 100644 index 00000000..d52ed276 --- /dev/null +++ b/live-build/ubuntu-core/hooks/16-ensure-uboot.chroot @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +if [ "$(dpkg --print-architecture)" = "armhf" ]; then + mkdir -p /boot/uboot +fi