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

Re: how to make an arch generic package?

Goswin von Brederlow wrote:
> randall <randall@songshu.org> writes:
>> hi all,
>> i'm a total noob when it comes to building deb packages so i believe
>> this list is the place to be.
>> i'm trying to package my first package, called rsnapshot. the available
>> version in the repo's is aging and since its just a collection of
>> scripts it appears to be a nice package for a first try.
>> so far it seems to work following the routine i noted down here
>> http://doku.songshu.org/doku.php?id=rsnapshot
>> only i can not figure out how to make the packages without the
>> architecture specific name like
>> rsnapshot_1.3.1-1_amd64.deb
>> according to the new maintainers guide:
>>> If your package is an `Architecture: all' one, you need to include all the commands for building the package under the `binary-indep' rule, and leave the `binary-arch' rule empty instead. 
>> or i completely misunderstand what this says or it doesn't work,
>> probably the last option has something to do with me mis configuring
>> something.
>> anybody has a clue?
>> Thanks,
>> Randall
> You not only need to put your build rules under binary-indep but you
> also need to set the Architecture accordingly in debian/control.
> The later controls the name.
> MfG
>         Goswin


Jan Beyer already informed me in a private post to change "any" to "all"
in the control file, this indeed does the trick.



Reply to: