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

Re: comments in package lists





On 13-08-2016 22:22, cvk@digital-filestore.de wrote:
Hello,

we are a university group [1](mostly students) with the goal to promote
free software among other students and university employees. To this end
we plan do create a customized debian live edition with a subjective
selection of special software (education related) and other material. We
acquired some money to distribute usb-sticks with this among the fresh
students in October[2].

We already have a git-repository to manage the config tree from which we
will create the image. One crucial point in the process is of course the
selection of the packgages. To simplify comunication between our group
members it would be very useful to be able to write comments into the
files in config/package. So we could keep the content (package names)
and the potetial discussion (comments) close together. Additionally,
users my also benefit if they browse through our package lists and get
information from comments which packages serves for what purpose.

Long story short:
Does the possibility of comments in package lists exist and whats the
syntax or otherwise is there a workaround?


Thanks in advance.

Carsten.

Links (only in german available)

[1] https://fsfw-dresden.de

[2] https://fsfw-dresden.de/usb-stick


Hi,

yes, comments can be added to the packages-lists files, like in bash:

	# this is a comment

But the comment is only valid *if* there is a space between the sharp char and the first word. Ex:

	#if ARCH amd64

This is not a comment and will be evaluated.


There is more in the packages-lists. You can select them depending on the arch (above example) or other lb variables. Please see <http://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html#396> for more info about packages-lists.

Cheers.

Rui Miguel P. Bernardo


Reply to: