OSDN Git Service

Add rules to build an rpm package
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 26 Oct 2016 15:54:21 +0000 (23:54 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 26 Oct 2016 15:54:21 +0000 (23:54 +0800)
commit5c1ca95c52e5340a837064f7cf14a8b9ca3cc70f
tree68aae619df77aad1ac2f34478d699ad33d16ff7b
parentf5e9f30801b4148d4f8b59384c43452cf533db55
Add rules to build an rpm package

The rpm could be installed to an rpm based linux distribution.
Boot entries for android-x86 will be added. After installation,
reboot the system to android-x86.

To build the rpm, you need to install 'rpm-build' on a Fedora
based system, or 'rpm' on a Debian/Ubuntu based system.
Then do it by 'make rpm'.

Just install the rpm as a normal package on a Fedora based system.
On Debian/Ubuntu, you can use the 'alien' to install it:

$ sudo apt install alien
$ sudo alien -c -i android-x86-6.0-r1.i686.rpm
Android.mk
rpm/rpm.spec [new file with mode: 0644]