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

Re: Noyau & Debian [C'était : Re: [LONG] Re: comment demarrer fwm2]



Le Thu 13/12/2001, Nicolas Boos disait
> Le Wed, 12 Dec 2001 23:43:14 +0100
> 
> > C'est un mélange d'affirmations gratuites sur des avantages qui n'en
> > sont pas (des tas de points que je sais parfaitement faire tout seul
> > sans make-kpkg)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Toujours le même argument fallacieux. Ouais, toi, TU SAIS faire tout
> seul. Figures toi donc que le novice ou l'utilisateur moyen, lui, il
> ne sait pas (et bien même souvent, il n'a pas envie de trop savoir...).

Et on lui file la doc de make-kpkg....

> 
> Par exemple (95% du temps) :
> 
>    make-kpkg clean
>    make-kpkg --revision=1 kernel_package
> 
> Trop dur. Mais, il me semble aussi que l'on a eu cette discussion
> il n'y a pas si longtemps déjà...

Et bien entendu le novice va le deviner à partir d'un man qui présente
les oprions une par une avec une description du genre :


 --revision number
              Changes the Debian revision number for the packages
              produced to the argument number.  This has  certain
              constraints:  the  --revision  option  only  has an
              effect during the configure phase (in other  words,
              if  a  file  called  stamp-configure  exists,  this
              option has no effect -- run make-kpkg clean or man­
              ually  remove  stamp-configure and stamp-debian for
              it to have an effect -- I strongly suggest you  run
              make-kpkg  clean  unless  you  know  what  you  are
              doing).   Additionally,  official  source   package
              maintainers  provide  their own version numbers and
              data for the official uploads, and hence  a  number
              of  things,  including  the Debian revision, is not
              modified by make-kpkg.  If you happen  to  have  an
              official  source,  (that  would  mean that the file
              debian/official exists), and want to use  your  own
              revision  number, make sure you remove debian/offi­
              cial before running make-kpkg clean for this option
              to  have  an  effect.   So,  if  you want to re-run
              make-kpkg with a  different  revision  number,  you
              have  to  make  sure  you start with a clean slate.
              Secondly, the version may contain only  alphanumer­
              ics and the characters + . (full stop and plus) and
              must contain a digit. (Look at  the  Policy  manual
              for  details).   Actually,  that is a lie: official
              kernel and modules maintainers have special dispen­
              sation  to  use  hyphens, but it is strongly depre­
              cated for most people, since no sanitization of the
              version  number  is  done, and dpkg and friends may
              choke on it at the end of the  compile  unless  one
              knows  what  one  is  doing.   Optionally,  you may
              prepend the revision with a  digit  followed  by  a
              colon  (:).  The  default is 1.00.Custom unless the
              env variable DEBIAN_REVISION_MANDATORY is  set,  in
              which case an error is generated if the revision is
              not set on the command line or the config file.

C'est pour le novice ça ?

Il faut être dévelopeur debain pour comprendre la doc ! Faut arrêtr de
se foutre du monde.

-- 
Erwan



Reply to: