Making deb must on the same machine with the compiling linux programs.
Download the script
代码块 |
---|
git clone https://gitee.com/openfde/make_deb |
一、Obtain the AOSP image
There are two way to obtain the aosp images, one is copy from the compiling , the other is extract from the distributioned deb
a、extract from the distributioned deb
代码块 |
---|
cd make_deb && ./download_image.sh |
b、copy from the compiling
代码块 |
---|
sudo apt install openssh-server && sudo systemctl start ssh && sudo systemctl enable ssh
cp system.img vendor.img make_deb/
./packapk.sh #will pack via.apk, browse app, into images;minimize the capacity of images
#will waitting for you choice to detemine whether coping images to make the deb later.
copy images to /usr/share/waydroid-extra/images y/n[n]? |
二、制作deb
代码块 |
---|
./mkdeb.sh 1.3.2 #1.3.2 is a version number。
Step 2: want to repack android images from /usr/share/waydroid-extra/images? y/n[n]
#it depends on where did your get the images. input y if your images is compiled by now.
and input n if your images is extracted from distributioned debs.
At the end, you will be prompted that the .deb package creation is complete,
stored in the debian directory. |