installing new, patched package containing 2 extra shell scripts
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installing new, patched package containing 2 extra shell scripts
We have installed a package called xen-utils on our Debian Squeeze box.
Now we have applied a patch to the xen-utils package. The patch adds 3 shell-scripts to the package.
The problem is, the new package installs everything correctly except the 3 shell scripts created by the patch.
We have applied the patch correctly. When we call dpkg-buildpackage -b -uc -us to build the package, a log file reports that the shell-scripts have been created. They reside in a directory called,
/home/walter/workdir/xen-4.0.1/debian/build/install-utils_amd64/etc/xen/scripts
This looks right--
but when I install the package the scripts are not moved from
Good question. What I mean is, how do I indicate the 3 files I want to install, located in ..[install-utils].../etc/xen/scripts, so that they are included in the package?
For example, below I copy output from dkpg-deb -c MY_PACKAGE. You can see, directories under /usr have been included.
Somewhere, I should think, there must be a rule or statement indicating that files in the path cited above, ...install-utils_PATH... should be included in the package.
Where do I add that rule or otherwise ensure that those files are to be included also?
Thanks very much--if rules proves better I will use that. In the meantime, on the same level (under debian/), I appear to have solved the problem by adding a file of name {PACKAGE_NAME}.install containing a single line:
/etc/xen/scripts/{domain-lock,vm-monitor}
In brackets are the names of the 2 files I needed to install; the 3rd file is a separate problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.