Skip to content

orosp/ddiskit

Repository files navigation

Usage Examle:
Step 1)
    $ ddiskit prepare_sources
    Writing new config file (module.config)... OK
    Creating directory structure for RPM build ... OK
    Creating directory for source code ... OK
    Your module source code put in src directory.

Step 2)
    Copy your code into src directory
    
    $ tree src
    src
    ├── drivers
    │   └── net
    │       └── ethernet
    │           └── broadcom
    │               ├── Makefile
    │               ├── tg3.c
    │               └── tg3.h
    └── patches
        ├── 0001-test.patch
        └── 0002-test.patch

    Note1: Please, respect kernel tradicional directories!
    Note2: Code in src could be patched or you can use additional
           patches. Additional patches just copy into "patches" directory.

Step 3)
    $ ddiskit generate_spec
      Checking config ... 
      Config check ... done
      File Exist rpm/SPECS/tg3.spec!
      Found directory with patches, adding into spec file:
        Patch0: 0001-test.patch
        Patch1: 0002-test.patch
      Firmware directory not found or empty-> skipping
      Writing spec into rpm/SPECS/tg3.spec ... OK

Step 4)
    $ ddiskit build_rpm
    
    NOTE: Before this step, optionaly can check spec file in rpm/SPEC/ directory

Step 5)
    $ ddiskit build_iso

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published