Skip to content

Commit 3d0c297

Browse files
mike-sulricardosalveti
authored andcommitted
base: fiotools: switch to the ostreeuploader git repo
Since it was decided to make the server implementation private we need to move the client tools to their own dedicated git repo, hence we need to update the given recipe correspondingly. Signed-off-by: Mike Sul <[email protected]>
1 parent ca6ff61 commit 3d0c297

3 files changed

Lines changed: 28 additions & 28 deletions

File tree

meta-lmp-base/classes/lmp.bbclass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ run_fiotool_cmd () {
6969
fi
7070
}
7171

72-
do_image_ostreepush[depends] += "fiotools-native:do_populate_sysroot"
72+
do_image_ostreepush[depends] += "ostreeuploader-native:do_populate_sysroot"
7373
IMAGE_CMD_ostreepush_prepend_lmp () {
7474
if [ "${USE_FIOTOOLS}" = "1" ]; then
7575
run_fiotool_cmd "fiopush"
@@ -78,7 +78,7 @@ IMAGE_CMD_ostreepush_prepend_lmp () {
7878
fi
7979
}
8080

81-
do_image_garagecheck[depends] += "fiotools-native:do_populate_sysroot"
81+
do_image_garagecheck[depends] += "ostreeuploader-native:do_populate_sysroot"
8282
IMAGE_CMD_garagecheck_prepend_lmp () {
8383
if [ "${USE_FIOTOOLS}" = "1" ]; then
8484
run_fiotool_cmd "fiocheck"

meta-lmp-base/recipes-sota/fiotools/fiotools_git.bb

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
DESCRIPTION = "Tools used to push an ostree repo to and check if it is synced with OSTreeHub"
2+
HOMEPAGE = "https://github.com/foundriesio/ostreeuploader"
3+
SECTION = "devel"
4+
LICENSE = "Apache-2.0"
5+
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=2a944942e1496af1886903d274dedb13"
6+
7+
GO_IMPORT = "github.com/foundriesio/ostreeuploader"
8+
SRC_URI = "git://${GO_IMPORT}"
9+
SRCREV = "6707ae755b52526681db594943a4b6a39dad8989"
10+
11+
UPSTREAM_CHECK_COMMITS = "1"
12+
13+
BBCLASSEXTEND = "native"
14+
15+
inherit go-mod
16+
17+
go_do_compile() {
18+
cd ${B}/src/github.com/foundriesio/ostreeuploader
19+
make
20+
}
21+
22+
do_install() {
23+
install -d ${D}${bindir}
24+
install -m 0755 ${B}/src/github.com/foundriesio/ostreeuploader/bin/fiopush ${D}${bindir}
25+
install -m 0755 ${B}/src/github.com/foundriesio/ostreeuploader/bin/fiocheck ${D}${bindir}
26+
}

0 commit comments

Comments
 (0)