3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-03-25 18:01:17 +00:00

Import patches-unapplied version 2.363 to ubuntu/xenial-proposed

Imported using git-ubuntu import.

Changelog parent: 9d5b29127d91fd34153ccb9961abd7de536f1f9a

New changelog entries:
  * configure /etc/fw_env.config for all arm arches on snappy
This commit is contained in:
Oliver Grawert 2015-12-10 15:04:41 +01:00 committed by usd-importer
parent 9d5b29127d
commit c9470d78b1
2 changed files with 12 additions and 4 deletions
debian
live-build/ubuntu-core/hooks

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.363) xenial; urgency=medium
* configure /etc/fw_env.config for all arm arches on snappy
-- Oliver Grawert <ogra@ubuntu.com> Thu, 10 Dec 2015 15:04:41 +0100
livecd-rootfs (2.362) xenial; urgency=medium
* make sure u-boot-tools is installed on snappy arm64

@ -2,9 +2,10 @@
set -e
if [ "$(dpkg --print-architecture)" = "armhf" ]; then
mkdir -p /boot/uboot
cat > /etc/fw_env.config <<EOF
case "$(dpkg --print-architecture)" in
arm*)
mkdir -p /boot/uboot
cat > /etc/fw_env.config <<EOF
# snappy u-boot env config
# its crucial that we have the two entries here
# u-boot/tools/env/fw_env.c
@ -15,4 +16,5 @@ if [ "$(dpkg --print-architecture)" = "armhf" ]; then
/boot/uboot/uboot.env 0x0000 0x20000
/boot/uboot/uboot.env 0x0000 0x20000
EOF
fi
;;
esac