Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/adobe_flash/kspost.50.adoberepo.nochroot.inc
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-10-16 20:20:59 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-10-16 20:22:04 (GMT)
commit2ced5a7b019ca2afe25afdedd78cbeb44b085100 (patch)
tree52882d361af3574d074253a66c05eb8d9a42999d /modules/adobe_flash/kspost.50.adoberepo.nochroot.inc
parent2dc2f40a2f128c573c8265e8a8f5bbb408911489 (diff)
adobe_flash: support installing from bare .so file
Adobe Flash may be available on ARM as a bare libflashplayer.so file. Support installation of this format via the adobe_flash module.
Diffstat (limited to 'modules/adobe_flash/kspost.50.adoberepo.nochroot.inc')
-rw-r--r--modules/adobe_flash/kspost.50.adoberepo.nochroot.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/adobe_flash/kspost.50.adoberepo.nochroot.inc b/modules/adobe_flash/kspost.50.adoberepo.nochroot.inc
new file mode 100644
index 0000000..a0a1b42
--- /dev/null
+++ b/modules/adobe_flash/kspost.50.adoberepo.nochroot.inc
@@ -0,0 +1,16 @@
+# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.
+
+. $OOB__shlib
+
+# Install yum repo entry for Adobe repo when we get the package from there
+path=$(read_config adobe_flash plugin_path)
+[ -n "$path" ] && exit 0
+
+cat <<EOF >$INSTALL_ROOT/etc/yum.repos.d/adobe-linux-i386.repo
+[adobe-linux-i386]
+name=Adobe Systems Incorporated
+baseurl=http://linuxdownload.adobe.com/linux/i386/
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
+EOF