mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
Imported using git-ubuntu import. Changelog parent: aca40d6ebfe51f31b27d745d4b21b8b724c7582b New changelog entries: [ Michael Vogt ] * update kernel snap building to match the new kernel policy * system-image: add /usr/local/bin/xdg-open dbus helper [ Oliver Grawert ] * add u-boot-tools to all snappy arches * drop flash-kernel from snappy, it is useless there * create /boot/uboot dir on all arches and configure /etc/fw_env.config everywhere * adjust motd message on snappy (capitalize "Snappy Ubuntu Core" and replace the "snappy --help" with "snap --help" [ Adam Conrad ] * Stop explicitly removing systemd-sysv for touch. * Move touch resolution hints to a HINTS variable, and adjust for use on dual-stack gl/gles arches where things don't quite work right.
17 lines
435 B
Bash
17 lines
435 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
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
|
|
# will read only 4 header bytes if its a single
|
|
# line but our header has 5 byte. by having two
|
|
# entries like this in the config it magically
|
|
# switches to the 5 byte header type
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
EOF
|