[v6,2/2] doc/user_manual: add a section for debianize class

Message ID 20240313094410.3884099-1-srinuvasan.a@siemens.com
State Accepted, archived
Headers show
Series None | expand

Commit Message

Arjunan, Srinu March 13, 2024, 9:44 a.m. UTC
From: Srinuvasan A <srinuvasan.a@siemens.com>

Add additional information about debianize class for generating/adding the
required files under debian directory.

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 doc/user_manual.md | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Uladzimir Bely March 15, 2024, 12:56 p.m. UTC | #1
On Wed, 2024-03-13 at 15:14 +0530, srinuvasan.a@siemens.com wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
> 
> Add additional information about debianize class for
> generating/adding the
> required files under debian directory.
> 
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
>  doc/user_manual.md | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Applied to next, thanks.

Patch

diff --git a/doc/user_manual.md b/doc/user_manual.md
index bc730243..52f04aa1 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -907,6 +907,14 @@  The shell function `deb_debianize` creates a `debian` folder. But it will not ov
 
 Have a look at meta-isar/recipes-app/samefile/samefile_2.14.bb and meta/classes/debianize.bbclass for an example and the implementation.
 
+Here ISAR's debianize class generates/adds the following files under debian directory:
+
+ - Create control file if sources does not contain a control file
+ - Create rules file if sources does not contain a rules file
+ - Add the copyright if unpacked sources does not contain copyright file, as well as the recipe should supply the copyright file
+ - Add the changelog and hooks( pre/post/inst/rm ) into the debian directories if WORKDIR contains the files
+
+
 ### Packages without source
 
 If your customization is not about compiling from source there is a second way of creating `deb` packages. That way can be used for cases like: