-
create a working directory, inside this directory the deb will be created and if needed QEMU compiled. example:
/home/$USER/Documents/debpkg/
-
download and run the script using the instructions in the README.
-
when you get to this screen:
enter the path to the directory you created in step 1. -
when you get to the following screen:
enter the path to your already compiled and installed QEMU folder or if you didn't compile QEMU press 's'.
if you pressed 's' you'll be asked to compile QEMU here. -
when you get to this screen:
press ENTER if the data is correct or CTRL+C to cancel. -
now the script will copy all the files from the installation on your system to a temporary folder that later will be packaged to a deb.
-
when you get to this screen:
enter your maintainer details: name, email address, link etc.
for example:Your Name <[email protected]>
-
now the script will use
dpkg-deb
to build the deb.
this will use all cpu and a lot of memory (RAM). -
now the script will tell you the path to the deb and its name
press ENTER to continue. -
now the script will ask you if you want to install the DEB,
answer whatever you want.if you answer yes, you might see a few errors. they shouldn't affect anything and I'm trying to fix them.edit: the issue is fixed. -
now the script will start cleaning up after itself, answer whatever you want.
the finished deb: