LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make a deb package from two img files and two soft links (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-a-deb-package-from-two-img-files-and-two-soft-links-4175497750/)

jcky 03-10-2014 09:00 PM

How to make a deb package from two img files and two soft links
 
Hello everyone,

I have two img files and two soft link files and I need to make a deb package including them.

Could u please help me to give the full steps?

Thanks.

John VV 03-10-2014 11:15 PM

you do realize that links are just that links to other files they really are not real files

and what are these two unknown "img" files ?
a raw disk image ?
a raw photo?
an encrypted file of some kind ?
a "img" can be anything

jcky 03-11-2014 12:13 AM

Quote:

Originally Posted by John VV (Post 5132425)
you do realize that links are just that links to other files they really are not real files

and what are these two unknown "img" files ?
a raw disk image ?
a raw photo?
an encrypted file of some kind ?
a "img" can be anything

Yes. I have two img files about initrd.img and kernel.img. And those soft links are links of above files.

Could you please instruct me how to do it ?

brianL 03-11-2014 06:14 AM

This might help:
http://debian-handbook.info/browse/s...packaging.html

jcky 03-13-2014 06:10 PM

Actually,
I made the working tree and edit DEBIAN/control file.
Then I use dpkg -b <package_name>.deb
Then it works.


All times are GMT -5. The time now is 10:54 AM.