From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp-out04.msg.oleane.net ([62.161.7.2]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UmKoy-0006dn-AW for ptxdist@pengutronix.de; Tue, 11 Jun 2013 11:24:57 +0200 Received: from smtp02.msg.oleane.net (smtp02.mail.priv [172.17.20.111]) by smtp-out04.msg.oleane.net with ESMTP id r5B9Otlg005172 for ; Tue, 11 Jun 2013 11:24:55 +0200 Received: from smtp02.msg.oleane.net (localhost [127.0.0.1]) by smtp02.msg.oleane.net (MTA-AV) with ESMTP id r5B9Osuj006256 for ; Tue, 11 Jun 2013 11:24:54 +0200 Received: from mail.sofrel.com (mailhost.sofrel.com [194.250.107.91]) by smtp02.msg.oleane.net (MTA) with ESMTP id r5B9OV1i002341 for ; Tue, 11 Jun 2013 11:24:54 +0200 From: "FLOC'H Tanguy" Date: Tue, 11 Jun 2013 09:23:52 +0000 Message-ID: <569BA28A76BB454CB22FBA1907D7E9E3B88408F4@SOF-EXCHANGE.sofrel.local> Content-Language: fr-FR MIME-Version: 1.0 Subject: [ptxdist] ptxdist newpackages templates Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1409895230==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============1409895230== Content-Language: fr-FR Content-Type: multipart/alternative; boundary="_000_569BA28A76BB454CB22FBA1907D7E9E3B88408F4SOFEXCHANGEsofr_" --_000_569BA28A76BB454CB22FBA1907D7E9E3B88408F4SOFEXCHANGEsofr_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi! I would like to be able to create "custom new packages", using the command = "ptxdist newpackage", and a custom template. I'm using the following method: - Create one folder ptxdist-project/rules/templates for my custom = template, based on /usr/lib/ptxdist-2013.05.0/rules/templates - Copy /usr/lib/ptxdist-2013.05.0/scripts/lib/ptxd_lib_template.sh= to ptxdist-project/scripts/lib/ptxd_lib_template.sh - Edit ptxdist-project/scripts/lib/ptxd_lib_template.sh, to consid= er my custom template. It doesn't work: ptxdist-project/scripts/lib/ptxd_lib_template.sh doesn't seem to be taken i= nto account. So my questions: - What is wrong is my method? - Is this a better way to add custom templates, instead of copying= + editing ptxd_lib_template.sh? Thank you very much ! Tanguy Floc'h --_000_569BA28A76BB454CB22FBA1907D7E9E3B88408F4SOFEXCHANGEsofr_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi!

 

I would like to be able to crea= te “custom new packages”, using the command “ptxdist newp= ackage”, and a custom template.

 

I’m using the following m= ethod:

-  = ;        Create one folder ptxdi= st-project/rules/templates for my custom template, based on /usr/lib/ptxdis= t-2013.05.0/rules/templates

-  = ;        Copy /usr/lib/ptxdist-2= 013.05.0/scripts/lib/ptxd_lib_template.sh to ptxdist-project/scripts/lib/pt= xd_lib_template.sh

-  = ;        Edit ptxdist-project/sc= ripts/lib/ptxd_lib_template.sh, to consider my custom template.<= /span>

 

It doesn’t work:

ptxdist-project/scripts/lib/ptx= d_lib_template.sh doesn’t seem to be taken into account.

 

So my questions:

-  = ;        What is wrong is my met= hod?

-  = ;        Is this a better way to= add custom templates, instead of copying + editing ptxd_lib_template.s= h?

 

Thank you very much !

 

Tanguy Floc’h

 

--_000_569BA28A76BB454CB22FBA1907D7E9E3B88408F4SOFEXCHANGEsofr_-- --===============1409895230== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1409895230==--