[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

tasksel: test-list is not a valid package



Yesterday I posted this thread in the debian-mentors list:

On Wed, Sep 28, 2005 at 11:26:30PM +0200, nidr wrote:
> Perhaps you guys have seen some of my other threads over at debian-boot.
> They are all related to tasksel, as am trying to add my own tasks for
> personally use. Am grateful for all the help I have got with tasksel so far.
> But there is still something I do not understand:
> 
> You see I've been trying to make my own deb out of the tasksel 2.24 source.
> So I've managed to build a working deb with the dpkg-buildpackage command,
> but later I found out that I needed to do some more modifications:
> When I run the dpkg-buildpackage command, the system make this folder
> ./debian/tasksel/usr/lib/tasksel/packages
> But this folder has no items inside. So I want to add my package-list item
> into this folder, so my owm packages list is there, "inside" the deb. How
> can I make so the dpkg-buildpackage will move my list program to that
> folder?
> I've tried to read some documention about debian/rules, but still I can't
> manage to do what I want to. Hope someone could help me here.

So I thought I should post the question here, since I guess you guys know tasksel very well. Please tell me if I should go back to debian-mentors and ask there.

On debian-mentors I was told to do this:

> Basically, you can place your file somewhere in
> the debian/ directory.  Then after the call to dh_installdirs (I think)
> you can use a simple mv command to move your file to the desired
> destination.

Now I've tried that, and it did not work.
Under the compilation of the deb (using dpkg-buildpackage) I get this error message:

test: test-list is not a valid package

This error is printed before the debian/rules tells the system to move my test-list to debian/tasksel/usr/lib/tasksel/packages. But it should be moved there before the list check, shouldn't it? How can I do so?

-Thank you for any input.



Reply to: