Upcoming sbuild in Isar support
cover Upcoming sbuild in Isar support
There is 'sbuild' patchset under development in Isar and it requires some changes in downstream.
This makes 'xenomai-images' compatible with it, but breaks compatibility with current 'next' branch.
So, this patch is only for applying in the future, when 'sbuild' is merged in Isar.
Kas container used for build should also consider changes described
here: https://github.com/siemens/meta-iot2050/pull/229 (using external volume for schroot overlay and sbuild-compatible docker image).
Uladzimir Bely (1):
Changes to support sbuild-based Isar
recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.20.1
PATCH 1/1 Changes to support sbuild-based Isar
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec: 37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4
--- recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)
recipes-kernel/linux/linux-xenomai.inc +8 -6
@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() { case ${DISTRO_ARCH} in armhf) ARCH=arm
@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() { bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ - --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \ - --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \ + /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + " }
recipes-xenomai/xenomai/xenomai.inc +1 -3
@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap" }
Signature · 1 line
2.20.1
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
Quoted 28 lines · Uladzimir Bely via Xenomai
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec:
37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4Signed-off-by Uladzimir Bely <[email protected]>--- recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)recipes-kernel/linux/linux-xenomai.inc +1
-3@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() { case ${DISTRO_ARCH} in armhf) ARCH=arm@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() { bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ - --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \
recipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 55
Quoted 10 lines
recipes-kernel/linux/linux-xenomai.inc +7
-3- --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \ + /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + "
Inconsistent indention.
recipes-xenomai/xenomai/xenomai.inc do_prepare_build() { · line 44
Quoted 13 lines
recipes-kernel/linux/linux-xenomai.inc +0
-0}recipes-xenomai/xenomai/xenomai.inc +1
-3@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap"
Could we rather provide an abstract interface to users, not carrying SBUILD in its name? I'm concerned that the current will make it hard to switch builders in the future if we may have to.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
Quoted 23 lines · In mail from четверг, 9 декабря 2021 г. 12:35:16 +03 user Jan Kiszka wrote:
Quoted 7 lines · Uladzimir Bely via Xenomai
(quoted diff) +0
-0b/recipes-xenomai/xenomai/xenomai.inc index 8f13767..454dd7b 100644
recipes-xenomai/xenomai/xenomai.inc +0
-0@@ -41,7 +41,5 @@ do_prepare_build() {recipes-xenomai/xenomai/xenomai.inc do_prepare_build() { · line 44
Quoted 10 lines
recipes-xenomai/xenomai/xenomai.inc +1
-3dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap"Could we rather provide an abstract interface to users, not carrying SBUILD in its name? I'm concerned that the current will make it hard to switch builders in the future if we may have to.
Quoted 1 line
Jan
Hello.
With current approach it doesn't look easy enough. With buildchroot, it's possible to do anything we want in 'dpkg_runbuild_prepend' or 'prepare_build' task. When the actual build is started, all preparations are here and can be used.
Sbuild is an isolated environment, so similar things can only be somehow passed to the build environment. Here we use SBUILD_PREBUILD to do it, so all preparations are 'postponed' until real build starts and all dependencies installed.
If we want to unify the approach, we have 2 possible ways:
1) use something like SBUILD_PREBUILD (we can call it BUILD_PREBUILD) - so, the preparations won't be done in some prebuild tasks, but they will be postponed (with buildchroot, too) and executed during the actual build.
2) place the stuff into debian/rules, using patches or somehow else. So, the preparations will be done in Debian style at the correct time.
Q:
Also, there is a question regarding 'xenomai.inc' quoted above. Why 'scripts/ bootstrap' is executed manually here, before the build? There is bootstrap make target that does exactly the same, but at the build stage. I'm simply removing 'dpkg_runbuild_prepend()' from xenomai.inc and it is still working for me.
Signature · 8 lines
Uladzimir Bely Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
Quoted 38 lines · Uladzimir Bely
Quoted 23 lines · In mail from четверг, 9 декабря 2021 г. 12:35:16 +03 user Jan Kiszka wrote:
Quoted 7 lines · Uladzimir Bely via Xenomai
(quoted diff) +0
-0b/recipes-xenomai/xenomai/xenomai.inc index 8f13767..454dd7b 100644
recipes-xenomai/xenomai/xenomai.inc +0
-0@@ -41,7 +41,5 @@ do_prepare_build() {recipes-xenomai/xenomai/xenomai.inc do_prepare_build() { · line 44
Quoted 10 lines
recipes-xenomai/xenomai/xenomai.inc +1
-3dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap"Could we rather provide an abstract interface to users, not carrying SBUILD in its name? I'm concerned that the current will make it hard to switch builders in the future if we may have to.
Quoted 1 line
Jan
Hello.
With current approach it doesn't look easy enough. With buildchroot, it's possible to do anything we want in '
dpkg_runbuild_prepend' or 'prepare_build' task. When the actual build is started, all preparations are here and can be used.Sbuild is an isolated environment, so similar things can only be somehow passed to the build environment. Here we use
SBUILD_PREBUILDto do it, so all preparations are 'postponed' until real build starts and all dependencies installed.
Quoted 6 lines
If we want to unify the approach, we have 2 possible ways:
1) use something likeSBUILD_PREBUILD(we can call itBUILD_PREBUILD) - so, the preparations won't be done in some prebuild tasks, but they will be postponed (with buildchroot, too) and executed during the actual build.
2) place the stuff into debian/rules, using patches or somehow else. So, the preparations will be done in Debian style at the correct time.
The latter is likely better than adding an Isar-specific interface. However, we may need to add hooks to complex Isar-provided rules like in the kernel case. You don't want to fork them, just to add a statement.
Quoted 7 lines
Q:
Also, there is a question regarding 'xenomai.inc' quoted above. Why 'scripts/bootstrap' is executed manually here, before the build? There isbootstrapmake target that does exactly the same, but at the build stage. I'm simply removing 'dpkg_runbuild_prepend()' from xenomai.inc and it is still working for me.
Indeed, I probably missed that back then when adding the recipe - or something broke things that was fixed meanwhile. Feel free to propose a patch that removes the bootstrap call.
Thanks,
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
In reply to Uladzimir BelyQuoted 2 lines · Uladzimir Bely via Xenomai
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec:
37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4
We're using that, so why do we need to patch? Is that related to the new SBUILD feature in ISAR? No way to handle that without breaking many downstream layers?
Quoted 21 lines
Signed-off-by Uladzimir Bely <[email protected]>--- recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)recipes-kernel/linux/linux-xenomai.inc +1
-1@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() { case ${DISTRO_ARCH} in armhf) ARCH=arm
recipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 50
Quoted 10 lines
recipes-kernel/linux/linux-xenomai.inc +2
-5@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() { bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ - --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \ - --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \
Where does this paths come from? Looks kas or even kas-container related.
Quoted 19 lines
recipes-kernel/linux/linux-xenomai.inc +5
-0+ /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + " }recipes-xenomai/xenomai/xenomai.inc +1
-3@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap" }
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
Quoted 5 lines · Florian via Xenomai
Quoted 2 lines · Uladzimir Bely via Xenomai
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec:
37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4We're using that, so why do we need to patch? Is that related to the
^- not
Quoted 58 lines
new SBUILD feature in ISAR? No way to handle that without breaking many downstream layers?
Quoted 21 lines
Signed-off-by Uladzimir Bely <[email protected]>--- recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)recipes-kernel/linux/linux-xenomai.inc +1
-1@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() { case ${DISTRO_ARCH} in armhf) ARCH=armrecipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 50
Quoted 10 lines
recipes-kernel/linux/linux-xenomai.inc +2
-5@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() { bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ - --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \ - --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \Where does this paths come from? Looks kas or even kas-container related.
Quoted 19 lines
recipes-kernel/linux/linux-xenomai.inc +5
-0+ /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + " }recipes-xenomai/xenomai/xenomai.inc +1
-3@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap" }
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
Quoted 7 lines · Florian via Xenomai
Quoted 5 lines · Florian via Xenomai
Quoted 2 lines · Uladzimir Bely via Xenomai
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec:
37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4We're using that, so why do we need to patch? Is that related to the
^- not
The cover letter (which made it into my junk folder) explains that. I fear that SBUILD stuff is going to break nearly all downstream layers when xenomai-images is affected as well. So the question of "no way to prevent downstream layers to break?" still stands.
Quoted 60 lines
Quoted 59 lines
new SBUILD feature in ISAR? No way to handle that without breaking many downstream layers?
Quoted 21 lines
Signed-off-by Uladzimir Bely <[email protected]>--- recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)recipes-kernel/linux/linux-xenomai.inc +1
-1@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() { case ${DISTRO_ARCH} in armhf) ARCH=armrecipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 50
Quoted 10 lines
recipes-kernel/linux/linux-xenomai.inc +2
-5@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() { bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ - --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \ - --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \Where does this paths come from? Looks kas or even kas-container related.
Quoted 19 lines
recipes-kernel/linux/linux-xenomai.inc +5
-0+ /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + " }recipes-xenomai/xenomai/xenomai.inc +1
-3@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap" }
Re: [xenomai-images] [PATCH 1/1] Changes to support sbuild-based Isar
In reply to Bezdeka, FlorianIn mail from четверг, 9 декабря 2021 г. 12:42:44 +03 user Bezdeka, Florian
Quoted 15 lines · wrote:
Quoted 2 lines · Uladzimir Bely via Xenomai
These patch is required to build Isar from 'ubely/sbuild' branch, e.g. refspec:
37a71e72c7b8e9ae7e9f6a402ecdc6ff66eab8c4We're using that, so why do we need to patch? Is that related to the new SBUILD feature in ISAR? No way to handle that without breaking many downstream layers?
Quoted 4 lines
Signed-off-by Uladzimir Bely <[email protected]>---
Quoted 7 lines
recipes-kernel/linux/linux-xenomai.inc
Quoted 7 lines
recipes-kernel/linux/linux-xenomai.inc | 14 ++++++++------ recipes-xenomai/xenomai/xenomai.inc | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)recipes-kernel/linux/linux-xenomai.inc +0
-0
index 1852bf6..d68c7a1 100644
Quoted 18 lines
Quoted 18 lines
recipes-kernel/linux/linux-xenomai.inc +1
-1@@ -28,7 +28,7 @@ def get_commit(d): LINUX_COMMIT ?= "${@get_commit(d)}" -dpkg_runbuild_prepend() { +dpkg_configure_kernel_append() {recipes-kernel/linux/linux-xenomai.inc +0
-0case ${DISTRO_ARCH} in armhf) ARCH=arm@@ -46,9 +46,11 @@ dpkg_runbuild_prepend() {
Quoted 7 lines
recipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 53
Quoted 7 lines
recipes-kernel/linux/linux-xenomai.inc +0
-1bbplain $(printf "linux-xenomai-%s: Building revision %.20s\n" \ ${PV} ${LINUX_COMMIT}) - ${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/prepare-
kernel.
Quoted 1 line
recipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 53
Quoted 1 line
recipes-kernel/linux/linux-xenomai.inc +0
-0sh \
- --linux=${BUILDCHROOT_DIR}/${PP}/${PPS} --arch=$ARCH \
Quoted 10 lines
recipes-kernel/linux/linux-xenomai.inc dpkg_runbuild_prepend() { · line 50
Quoted 5 lines
recipes-kernel/linux/linux-xenomai.inc +2
-3- --outpatch=${WORKDIR}/xenomai-kernel.patch - patch -d ${BUILDCHROOT_DIR}/${PP}/${PPS} \ - -p1 -i ${WORKDIR}/xenomai-kernel.patch + SBUILD_PREBUILD="${SBUILD_PREBUILD} && \ + touch /home/builder/${PN}/file.touch && \Where does this paths come from? Looks kas or even kas-container related.
It's coming from current 'sbuild' series.
The problem here is the following. We are building 'linux-xenomai` here and relay on some '${BUILDCHROOT_DIR}/usr/src/xenomai-kernel-source/scripts/ prepare-kernel.sh' script that is not a part of 'linux-xenomai' recipe. Buildchroot allows to do do that because it doesn't provide 'clean room' build environment, so it is already 'polluted' by previously installed packages. That's why we have this prepare-kernel.sh preinstalled and can run at any moment.
With sbuild, package is compiled in clean environment, so we can't directly reuse files belonging to other packages. To do that, we use SBUILD_PREBUILD variable to keep command that should be passed later to sbuild compilation. So, sbuild internally first install dependencies in clean environment and executes this command at some internal stage.
Quoted 11 lines
recipes-xenomai/xenomai/xenomai.inc
Quoted 11 lines
recipes-kernel/linux/linux-xenomai.inc +5
-0+ /usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh \ + --linux=%p --arch=${ARCH} \ + --outpatch=/home/builder/${PN}/xenomai-kernel.patch && \ + patch -d %p -p1 -i /home/builder/${PN}/xenomai-kernel.patch \ + " }recipes-xenomai/xenomai/xenomai.inc +0
-0
index 8f13767..454dd7b 100644
Quoted 18 lines
Quoted 16 lines
recipes-xenomai/xenomai/xenomai.inc +1
-3@@ -41,7 +41,5 @@ do_prepare_build() { dpkg_runbuild_prepend() { bbplain $(printf "xenomai-%s: Building revision %.20s\n" \ ${PV} ${COMMIT}) - - sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ - sh -c "cd ${PP}/${PPS}; scripts/bootstrap" + SBUILD_PREBUILD="cd %p; scripts/bootstrap" }
Signature · 8 lines
Uladzimir Bely Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov