LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2014, 10:00 PM   #1
jcky
Member
 
Registered: Feb 2008
Location: China-Shanghai
Distribution: Rhel&Suse
Posts: 82

Rep: Reputation: 15
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.
 
Old 03-11-2014, 12:15 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 03-11-2014, 01:13 AM   #3
jcky
Member
 
Registered: Feb 2008
Location: China-Shanghai
Distribution: Rhel&Suse
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by John VV View Post
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 ?
 
Old 03-11-2014, 07:14 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
This might help:
http://debian-handbook.info/browse/s...packaging.html
 
Old 03-13-2014, 07:10 PM   #5
jcky
Member
 
Registered: Feb 2008
Location: China-Shanghai
Distribution: Rhel&Suse
Posts: 82

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a DEB package. Zssfssz Programming 2 01-09-2012 12:07 PM
technical question about hard links v soft links 7stud Linux - Newbie 2 02-23-2007 07:57 PM
How to make deb package chrisstooss Debian 6 09-16-2005 06:21 PM
How to make apache follow soft links Snerkel Linux - Software 1 12-10-2004 11:38 AM
deleting orphan files and creating soft links cuss Linux - General 6 02-24-2003 10:43 AM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration