Skip to contentSkip to conversation

cukinia: new package

PATCH New Alexandre Leblanc 4 participants 6 messages Apr 25, 2017 – Apr 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cukinia: new package

Cukinia is designed to help Linux-based embedded firmware developers run simple validation tests on their firmware. For basic usage it requires no dependencies other than busybox.

Cukinia can run tests at boot time which is why we are using SZZcukinia since it would possibly be the last script to be executed in 'init.d'.

---
 package/Config.in            |  1 +
 package/cukinia/Config.in    | 12 ++++++++++++
 package/cukinia/SZZcukinia   |  7 +++++++
 package/cukinia/cukinia.conf |  1 +
 package/cukinia/cukinia.mk   | 26 ++++++++++++++++++++++++++
 5 files changed, 47 insertions(+)
 create mode 100644 package/cukinia/Config.in
 create mode 100644 package/cukinia/SZZcukinia
 create mode 100644 package/cukinia/cukinia.conf
 create mode 100644 package/cukinia/cukinia.mk
package/Config.in +1 -0
index 4eaa95b..e3f8ce4 100644
@@ -73,6 +73,7 @@ menu "Debugging, profiling and benchmark"
 	source "package/blktrace/Config.in"
 	source "package/bonnie/Config.in"
 	source "package/cache-calibrator/Config.in"
+	source "package/cukinia/Config.in"
 	source "package/dhrystone/Config.in"
 	source "package/dieharder/Config.in"
 	source "package/dmalloc/Config.in"
package/cukinia/Config.in new file +12 -0
new file mode 100644
index 0000000..2588bb6
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_CUKINIA
+	bool "cukinia"
+	help
+	  Cukinia is designed to help Linux-based embedded firmware
+	  developers run simple validation tests on their firmware.
+
+	  https://github.com/savoirfairelinux/cukinia
+
+config BR2_PACKAGE_CUKINIA_BOOT
+	bool "run at boot time"
+	depends on BR2_PACKAGE_CUKINIA && (BR2_INIT_SYSV || BR2_INIT_BUSYBOX)
+
package/cukinia/SZZcukinia new file +7 -0
new file mode 100644
index 0000000..d9dc144
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Run cukinia
+#
+
+[ "$1" == "start"] || exit 0
+/usr/bin/cukinia
package/cukinia/cukinia.conf new file +1 -0
new file mode 100644
index 0000000..0593662
@@ -0,0 +1 @@
+cukinia_user root
package/cukinia/cukinia.mk new file +26 -0
new file mode 100644
index 0000000..d507e33
@@ -0,0 +1,26 @@
+################################################################################
+#
+# cukinia
+#
+################################################################################
+
+CUKINIA_VERSION = 152d4965dd1024a3f345a9ee1df6cf663a5775ed
+CUKINIA_SITE = $(call github,savoirfairelinux,cukinia,$(CUKINIA_VERSION))
+CUKINIA_LICENSE = Apache-2.0 or GPLv3
+
+define CUKINIA_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/cukinia \
+		$(TARGET_DIR)/usr/bin/cukinia
+
+	$(INSTALL) -D -m 0644 $(CUKINIA_PKGDIR)/cukinia.conf \
+		$(TARGET_DIR)/etc/cukinia/cukinia.conf
+endef
+
+ifeq ($(BR2_PACKAGE_CUKINIA_BOOT),y)
+define CUKINIA_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 0755 $(CUKINIA_PKGDIR)/SZZcukinia \
+		$(TARGET_DIR)/etc/init.d/SZZcukinia
+endef
+endif
+
+$(eval $(generic-package))
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 cukinia: new package

Hello,

Quoted 8 lines · Alexandre Leblanc

Cukinia is designed to help Linux-based embedded firmware developers run simple validation tests on their firmware. For basic usage it requires no dependencies other than busybox.

Cukinia can run tests at boot time which is why we are using SZZcukinia since it would possibly be the last script to be executed in 'init.d'.

As much as I like adding new package in Buildroot, this project feels like your own project, very recently started, with no outside contributions. In the end it's just a single shell script providing a few functions. Could be useful, but I'm not sure we want to add this as a Buildroot package that quickly.

Perhaps we need to see if there is some interest/adoption first?

Quoted 2 lines
 package/cukinia/Config.in    | 12 ++++++++++++
 package/cukinia/SZZcukinia   |  7 +++++++

I'm not sure I like this idea of SZZcukinia, though indeed S99 wouldn't work because a few other Buildroot services are started at S99, and you want to be after those services. Maybe other developers will have some ideas?

Quoted 1 line

+CUKINIA_LICENSE = Apache-2.0 or GPLv3

GPLv3 should be GPL-3.0.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 cukinia: new package

Thank you for your reply.
I'm quite new to the world of project up-streaming.
Knowing This might be a hard question to answer, would you be able to quantify how many outside contribution would be reasonably acceptable ?

Thank you again

Alexandre Leblanc

----- Original Message -----
From: "Thomas Petazzoni" <[email protected]>
To: "Alexandre Leblanc" <[email protected]>
Cc: buildroot at busybox.net
Sent: Monday, May 1, 2017 4:51:18 AM
Subject: Re: [Buildroot] [PATCH] cukinia: new package

Hello,

Quoted 8 lines · Alexandre Leblanc

Cukinia is designed to help Linux-based embedded firmware developers run simple validation tests on their firmware. For basic usage it requires no dependencies other than busybox.

Cukinia can run tests at boot time which is why we are using SZZcukinia since it would possibly be the last script to be executed in 'init.d'.

As much as I like adding new package in Buildroot, this project feels like your own project, very recently started, with no outside contributions. In the end it's just a single shell script providing a few functions. Could be useful, but I'm not sure we want to add this as a Buildroot package that quickly.

Perhaps we need to see if there is some interest/adoption first?

Quoted 2 lines
 package/cukinia/Config.in    | 12 ++++++++++++
 package/cukinia/SZZcukinia   |  7 +++++++

I'm not sure I like this idea of SZZcukinia, though indeed S99 wouldn't work because a few other Buildroot services are started at S99, and you want to be after those services. Maybe other developers will have some ideas?

Quoted 1 line

+CUKINIA_LICENSE = Apache-2.0 or GPLv3

GPLv3 should be GPL-3.0.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 cukinia: new package

Hello,

Quoted 2 lines · Alexandre Leblanc

I'm quite new to the world of project up-streaming.
Knowing This might be a hard question to answer, would you be able to quantify how many outside contribution would be reasonably acceptable ?

There is no exact quantity, it's just a feeling about the project activity/spread/usefulness.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#4 lore raw

PATCH 1/1 cukinia: new package

Il giorno gio 4 mag 2017 alle ore 11:16 Thomas Petazzoni < [email protected]> ha scritto:

Quoted 11 lines

Hello,

Quoted 2 lines · Alexandre Leblanc

I'm quite new to the world of project up-streaming. Knowing This might be a hard question to answer, would you be able to

quantify how many outside contribution would be reasonably acceptable ?

There is no exact quantity, it's just a feeling about the project activity/spread/usefulness.

Could you resend an updated patch? I'm interested in the project and I would like to have a buildroot package.

Thanks!

Quoted 10 lines

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200426/b2724957/attachment.html>
#5 lore raw

PATCH 1/1 cukinia: new package

Thank you for your interest Angelo,

I have just sent an updated patch.

Quoted 35 lines · Angelo Compagnucci

Il giorno gio 4 mag 2017 alle ore 11:16 Thomas Petazzoni < thomas.petazzoni at free-electrons.com> ha scritto:

Quoted 11 lines

Hello,

Quoted 2 lines · Alexandre Leblanc

I'm quite new to the world of project up-streaming. Knowing This might be a hard question to answer, would you be able to

quantify how many outside contribution would be reasonably acceptable ?

There is no exact quantity, it's just a feeling about the project activity/spread/usefulness.

Could you resend an updated patch? I'm interested in the project and I would like to have a buildroot package.

Thanks!

Quoted 10 lines

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 7 lines

--
Profile: http://it.linkedin.com/in/compagnucciangelo
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200427/65a90f13/attachment.html>