foundations for building our rogue ipk

This commit is contained in:
Conor Horan-Kates 2016-11-17 14:51:38 -08:00
parent 439ef2ecef
commit 849e5ccc4f
3 changed files with 36 additions and 0 deletions

21
lg_webOS/myipk/Makefile Normal file
View File

@ -0,0 +1,21 @@
all: myipk.ipk
myipk.ipk:
rm -rf ipk
mkdir -p ipk/opt/myipk
# cp *.py ipk/opt/myipk
cp -r payload/* ipk/opt/myipk
# sanity
echo 'bar' >> ipk/opt/myipk/foo
tar czvf control.tar.gz control
cd ipk; tar czvf ../data.tar.gz .; cd ..
echo 2.0 > debian-binary
ar r myipk.ipk control.tar.gz data.tar.gz debian-binary
clean: FORCE
rm -rf ipk
rm -f control.tar.gz
rm -f data.tar.gz
rm -f myipk.ipk
FORCE:

12
lg_webOS/myipk/control Normal file
View File

@ -0,0 +1,12 @@
Package: myipk
Version: 1.0
Description: application to meddle with LG webOS TV
Section: extras
Priority: optional
Maintainer: conor
License: CLOSED
Architecture: all
OE: myipk
Homepage: unknown
#Depends: python python-distutils python-pyserial python-curses python-mmap python-ctypes
Source: N/A

3
lg_webOS/myipk/payload/poc.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/ash
# ugh, not sure i should be specifying that
nc -l -vvv localhost 1234