smemstat: add recipe
PATCH 1/2 smemstat: add recipe
This is useful to see which processes use physical memory.
--- .../smemstat/smemstat_0.02.11.bb | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb
meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "smemstat reports the physical memory usage taking into consideration shared memory" +HOMEPAGE = "https://github.com/ColinIanKing/smemstat" +LICENSE = "GPL-2.0-or-later" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "ncurses" + +SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master" +SRCREV = "9eea7504ab33783d804c4ed9237e299effb68874" + +S = "${WORKDIR}/git" + +do_configure () { + : +} + +do_compile () { + oe_runmake +} + +do_install () { + install -d -m 755 ${D}${sbindir} + install -m 755 ${B}/smemstat ${D}${sbindir}/ + install -d -m 755 ${D}${mandir}/man8 + install -m 644 ${S}/smemstat.8 ${D}${mandir}/man8/ +}
Signature · 1 line
2.30.2
PATCH 2/2 linux-serial-test: add recipe
This is a collection of tests for serial ports and their drivers.
--- .../linux-serial-test/linux-serial-test_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb
meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb new file +13 -0
@@ -0,0 +1,13 @@ +DESCRIPTION = "Linux Serial Test Application" +HOMEPAGE = "https://github.com/cbrake/linux-serial-test" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSES/MIT;md5=544799d0b492f119fa04641d1b8868ed" + +SRC_URI = "git://github.com/cbrake/linux-serial-test.git;protocol=https;branch=master" + +PV = "0+git${SRCPV}" +SRCREV = "cacd2790eae7bf4767d4243f5b31134698d3b20d" + +S = "${WORKDIR}/git" + +inherit cmake
Signature · 1 line
2.30.2
FWIW: this was in meta-luneos for a while:
https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-devtools/smemstat/smemstat_git.bb
since
https://github.com/webOS-ports/meta-webos-ports/commit/9c73ce110a6cd97a476c6beff10f9d8648cffea6
I didn't compare the output from your version, but does it set the VERSION correctly now?
Regards,
Quoted 59 lines · Jan Luebbe
This is useful to see which processes use physical memory.
Signed-off-by Jan Luebbe <[email protected]>--- .../smemstat/smemstat_0.02.11.bb | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bbmeta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +1
-0@@ -0,0 +1,27 @@ +SUMMARY = "smemstat reports the physical memory usage taking intoconsideration shared memory"
meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +8
-0+HOMEPAGE = "https://github.com/ColinIanKing/smemstat" +LICENSE = "GPL-2.0-or-later" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "ncurses" + +SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master"
meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +18
-1+SRCREV = "9eea7504ab33783d804c4ed9237e299effb68874" + +S = "${WORKDIR}/git" + +do_configure () { + : +} + +do_compile () { + oe_runmake +} + +do_install () { + install -d -m 755 ${D}${sbindir} + install -m 755 ${B}/smemstat ${D}${sbindir}/ + install -d -m 755 ${D}${mandir}/man8 + install -m 644 ${S}/smemstat.8 ${D}${mandir}/man8/ +} --2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#101071):
https://lists.openembedded.org/g/openembedded-devel/message/101071
Mute This Topic: https://lists.openembedded.org/mt/96959306/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 6 lines · Martin Jansa
FWIW: this was in meta-luneos for a while:
https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-devtools/smemstat/smemstat_git.bbsince
https://github.com/webOS-ports/meta-webos-ports/commit/9c73ce110a6cd97a476c6beff10f9d8648cffea6
Ah, I could probably pick the install via make DESTDIR=${D}.
Quoted 2 lines
I didn't compare the output from your version, but does it set the VERSION correctly now?
It seems to work:
root@qemux86-64:~# smemstat -h smemstat, version 0.02.11 ...
Regards,
Jan
Quoted 47 lines
Regards,
Quoted 44 lines · Jan Luebbe
This is useful to see which processes use physical memory.
Signed-off-by Jan Luebbe <[email protected]>---
.../smemstat/smemstat_0.02.11.bb | 27 +++++++++++++++++++1 file changed, 27 insertions(+)create mode 100644 meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb
meta- renamed from meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb +0
-0oe/recipes-devtools/smemstat/smemstat_0.02.11.bb
new file mode 100644
index 000000000000..37015ce6bdc1meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +1
-0@@ -0,0 +1,27 @@ +SUMMARY = "smemstat reports the physical memory usage taking intoconsideration shared memory"
meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +8
-0+HOMEPAGE = "https://github.com/ColinIanKing/smemstat" +LICENSE = "GPL-2.0-or-later" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "ncurses" + +SRC_URI ="
git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master"meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file +18
-0+SRCREV = "9eea7504ab33783d804c4ed9237e299effb68874" + +S = "${WORKDIR}/git" + +do_configure () { + : +} + +do_compile () { + oe_runmake +} + +do_install () { + install -d -m 755 ${D}${sbindir} + install -m 755 ${B}/smemstat ${D}${sbindir}/ + install -d -m 755 ${D}${mandir}/man8 + install -m 644 ${S}/smemstat.8 ${D}${mandir}/man8/ +}
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |