[stgt] [PATCH V1] Add the possibility for building a debian package

Andy Grover agrover at redhat.com
Wed Aug 7 01:34:07 CEST 2013


On 08/06/2013 01:45 PM, FUJITA Tomonori wrote:
> On Tue,  6 Aug 2013 16:32:25 +0300
> Roi Dayan <roid at mellanox.com> wrote:
>
>> Added support files needed for building the package.
>> Updated the rpm build script to build also deb package.
>>
>> Signed-off-by: Roi Dayan <roid at mellanox.com>
>> ---
>>
>> Hi Tomo,
>>
>> I updated the commit as suggested.
>> The debian files are in scripts/deb and shouldn't interfere anyone.
>>
>> Thanks,
>> Roi
>>
>>
>>   Makefile                  |   14 +++--
>>   scripts/build-pkg.sh      |  115 +++++++++++++++++++++++++++++++++
>>   scripts/build-rpm.sh      |   72 ---------------------
>>   scripts/deb/changelog     |    6 ++
>>   scripts/deb/compat        |    1 +
>>   scripts/deb/control       |   15 ++++
>>   scripts/deb/copyright     |   14 ++++
>>   scripts/deb/init          |  157 +++++++++++++++++++++++++++++++++++++++++++++
>>   scripts/deb/rules         |   12 ++++
>>   scripts/deb/source/format |    1 +
>>   10 files changed, 330 insertions(+), 77 deletions(-)
>>   create mode 100755 scripts/build-pkg.sh
>>   delete mode 100755 scripts/build-rpm.sh
>>   create mode 100644 scripts/deb/changelog
>>   create mode 100644 scripts/deb/compat
>>   create mode 100644 scripts/deb/control
>>   create mode 100644 scripts/deb/copyright
>>   create mode 100755 scripts/deb/init
>>   create mode 100755 scripts/deb/rules
>>   create mode 100644 scripts/deb/source/format
>
> Thanks, it looks fine to me. Any comments from someone who cares about
> rpm?

Didn't hurt the ability to build a quick-and-dirty rpm, seems fine.

Although for people on Fedora, I'd encourage using (or at least starting 
with) this:

http://pkgs.fedoraproject.org/cgit/scsi-target-utils.git/tree/

..so you get the systemd service file.

-- Andy

p.s. anyone see anything there we might want upstream? Happy to do so if 
there is.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list