Ignore:
Timestamp:
Jan 23, 2019, 11:00:20 PM (5 months ago)
Author:
obi
Message:

test arm oebuile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.arm/tools_multiimage/CONTROL/postinst

    r39617 r43290  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/multiimage"
    44
     5if [ ! -f /usr/bin/python ]; then
     6        tar xzf /tmp/python_min.tar.gz.txt -C /
     7else
     8        tar xzf /tmp/python_min.tar.gz.txt -C /
     9        #tar xzf /tmp/python-lzo.tar.gz -C /
     10        #tar xzf /tmp/python-setup.tar.gz -C /
     11fi
     12
     13mkdir $PLUGINDIR/ubireader
     14tar xzf /tmp/ubi_reader-master.tar.gz.txt -C $PLUGINDIR/ubireader
     15
     16cd $PLUGINDIR/ubireader/ubi_reader-master
     17python setup.py install
     18
     19rm /tmp/python_min.tar.gz.txt  > /dev/null 2>&1
     20rm /tmp/ubi_reader-master.tar.gz.txt  > /dev/null 2>&1
     21
     22if [ -e /etc/.oebuild ];then
     23        opkg update
     24        opkg install titan-plugin-multiimage --dest $1
     25fi
     26
    527exit 0
Note: See TracChangeset for help on using the changeset viewer.