mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 21:27:10 +00:00
Imported using git-ubuntu import. Changelog parent: 65b7f7a10a9bd05c60185f5c282af1a4c4efff57 New changelog entries: * live-build/auto/config: Add basic ubuntu-touch enablement (based on patch from Oliver Grawert, for which thanks). * live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of customisation by Ricardo Salveti from lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should be close to enough for the architecture-independent parts of ubuntu-touch builds.
32 lines
859 B
Bash
Executable File
32 lines
859 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "I: setting up initial environment for Touch..."
|
|
|
|
echo "HOSTNAME=android
|
|
SHELL=/system/bin/sh
|
|
TERM=linux
|
|
ANDROID_CACHE=/cache
|
|
LOOP_MOUNTPOINT=/mnt/obb
|
|
ASEC_MOUNTPOINT=/mnt/asec
|
|
ANDROID_PROPERTY_WORKSPACE=8,49152
|
|
ANDROID_ASSETS=/system/app
|
|
ANDROID_BOOTLOGO=1
|
|
LD_LIBRARY_PATH=/vendor/lib:/system/lib
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
ANDROID_DATA=/data
|
|
QT_QPA_PLATFORM=ubuntu
|
|
QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/qt5/imports
|
|
SHLVL=1
|
|
MKSH=/system/bin/sh
|
|
ANDROID_ROOT=/system
|
|
EXTERNAL_STORAGE=/mnt/sdcard
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
QT_IM_MODULE=maliit
|
|
HUD_NO_STORE_USAGE_DATA=1
|
|
INDICATOR_ALLOW_NO_WATCHERS=1" > /etc/environment
|
|
|
|
echo -e "\n# export the phablet shell dbus session on normal login shells
|
|
source /home/phablet/.dbus-session
|
|
export DBUS_SESSION_BUS_ADDRESS" >> /home/phablet/.bashrc
|